-
Notifications
You must be signed in to change notification settings - Fork 100
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
bitLength not correct, and ECDH privateKey load with GPG is wrong #39
Comments
Hello again @izouxv! |
I confirm the results of your test function with
|
I also confirm
For the last bullet, the key was generated with
With the options:
|
@izouxv, thanks a lot for bringing this up. 2.The issue is that the current It should be fixed now in #40, and also the ed25519 keys were stored unmasked, which is an error and makes I checked that your test is passing now (i.e., the private key you're printing in
1.About the
|
Hi
there are two bugs in this test case
1: bitlength error, when i generate entity with EdDSA, and the subkey bitlength is wrong. its 263, not 256
2: ouput this key to one asc file, and then , import the file with "gpg --import", its wrong. public key is ok, primary key is error
i tested ouput with password, and without password, it all wrong.
ONLY WITH ECDH
main test funcation
ENV
openpgp_test.go.zip
The text was updated successfully, but these errors were encountered: