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

from() method must check for existing contexts and check for .revoked #2

Open
dlongley opened this issue Sep 20, 2022 · 1 comment
Open

Comments

@dlongley
Copy link
Member

The from() method needs to check for an existing context on key, and if present, that it is either a string matching the ed25519 2018, 2020, or multikey context ... or if its an array that one of those contexts is present.

Additionally, it must check that key.revoked is undefined (otherwise throw a revoked error).

@dlongley
Copy link
Member Author

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

1 participant