generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
Description
🚀 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
- Current Web5 Rust CLI README
- Web5 Rust CLI Source Code
- Web5 Documentation on parsing signed JWT
- Web5 CLI built in Go for reference
- JWT.io
- RFC 7519: JSON Web Token (JWT)
⚡ Getting Started
- Comment ".take" on this issue to get assigned
- Fork the repository and create a new branch for this task
- Update the documentation as described in the tasks
- Submit a pull request with your changes
- 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! 🎉