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

Expose wkd-hash generation as a standalone function #5

Open
pravi opened this issue May 29, 2024 · 2 comments
Open

Expose wkd-hash generation as a standalone function #5

pravi opened this issue May 29, 2024 · 2 comments

Comments

@pravi
Copy link

pravi commented May 29, 2024

This can help in reusing this logic in cases like
mailvelope/keyserver#121

@pravi
Copy link
Author

pravi commented May 31, 2024

For now I have copied the code here mailvelope/keyserver#146 but sharing maintenance via a wkd-node module would be better.

@pravi
Copy link
Author

pravi commented Jun 3, 2024

For example gpg-wks-client already exposes these options, it'd be nice to have this directly in javascript as well.

$ gpg-wks-client --print-wkd-hash [email protected]
it5sewh54rxz33fwmr8u6dy4bbz8itz4 [email protected]

$ gpg-wks-client --print-wkd-url [email protected]
https://openpgpkey.intevation.de/.well-known/openpgpkey/intevation.de/hu/it5sewh54rxz33fwmr8u6dy4bbz8itz4?l=bernhard.reiter

Expose wkd url in addition to wkd hash as well.

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