We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
You can continue the conversation there. Go to discussion →
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
Hi all, First, awesome work on this project. I am able to generate keys with openpgp.generateKey() from dist/openpgp.min.js
But once I store the key in a variable and want to use it to sign cleartext I get this error:
TypeError: openpgp.readArmoredKey is not a function
The code was taken directly from your documentation. https://github.com/openpgpjs/openpgpjs/blob/master/README.md
Seems readArmoredKey is defined somewhere I think, but since I'm not a JS developer I'm not very familiar with how it all works.
I also found openpgp.key.readArmored() defined somewhere.
Have you changed the functions and not updated the documentation?
Thanks for any insight in getting this to work.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi all,
First, awesome work on this project. I am able to generate keys with openpgp.generateKey() from dist/openpgp.min.js
But once I store the key in a variable and want to use it to sign cleartext I get this error:
TypeError: openpgp.readArmoredKey is not a function
The code was taken directly from your documentation.
https://github.com/openpgpjs/openpgpjs/blob/master/README.md
Seems readArmoredKey is defined somewhere I think, but since I'm not a JS developer I'm not very familiar with how it all works.
I also found openpgp.key.readArmored() defined somewhere.
Have you changed the functions and not updated the documentation?
Thanks for any insight in getting this to work.
The text was updated successfully, but these errors were encountered: