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

use non extractable CryptoKey #27

Open
elf-pavlik opened this issue Sep 30, 2019 · 1 comment
Open

use non extractable CryptoKey #27

elf-pavlik opened this issue Sep 30, 2019 · 1 comment

Comments

@elf-pavlik
Copy link

elf-pavlik commented Sep 30, 2019

https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/generateKey#Parameters

This way even if some script manages to steal refresh token #4 it will not be able to get the private key, which that token stays bound to.

@dmitrizagidulin
Copy link
Contributor

Seems legit.

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

No branches or pull requests

2 participants