Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(crypto-helper): jwt: implement RS512 signature algorithm #11

Conversation

rwwwx
Copy link
Contributor

@rwwwx rwwwx commented Apr 6, 2023

#3
Check new macros plz, if it's fine, I will add them to other signatures.

src/jwt/macros.rs Outdated Show resolved Hide resolved
src/jwt/macros.rs Outdated Show resolved Hide resolved
@TheBestTvarynka
Copy link
Owner

also, I have an idea about macros. I'll think about it more and tell you more details later

@rwwwx
Copy link
Contributor Author

rwwwx commented Apr 6, 2023

I am not sure about key_kind_as_str: $key_kind_as_str:expr thing but it the simplest way to provide logging in macros 🥴

src/jwt/macros.rs Outdated Show resolved Hide resolved
@TheBestTvarynka
Copy link
Owner

@rwwwx
can you also use those (check_asymmetric_key and sign/verify) macros in the Rs256/Rs384

@TheBestTvarynka TheBestTvarynka merged commit 8225169 into TheBestTvarynka:main Apr 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants