Skip to content

(Feature): Add command and functionality to parse/decode signed JWT in Web5 CLI #327

@blackgirlbytes

Description

@blackgirlbytes

🚀 Goal

Add a new feature to the Web5 Rust CLI that allows users to parse or decode JSON Web Tokens (JWTs).

🔑 Tasks

  • Create a new command for parsing/decoding JWTs (e.g., web5 jwt decode)
  • Implement the logic to decode and display the header, payload, and signature of a JWT
  • Add options to format the output (e.g., pretty-print JSON)
  • Implement error handling for invalid JWTs
  • Add appropriate documentation to README for the new command
  • Write tests to ensure the feature works correctly
  • Update the CLI's help information to include the new command

🌟 Resources

⚡ Getting Started

  1. Comment ".take" on this issue to get assigned
  2. Fork the repository and create a new branch for this task
  3. Update the documentation as described in the tasks
  4. Submit a pull request with your changes
  5. Respond to any feedback during the review process

💭 Questions?

If you have any questions or need clarification, please comment on this issue or join our Discord community.
Happy coding! 🎉

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions