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

cv25519 encryption key doesn't show as moved to card #84

Closed
runcom opened this issue Oct 19, 2022 · 1 comment · Fixed by #89
Closed

cv25519 encryption key doesn't show as moved to card #84

runcom opened this issue Oct 19, 2022 · 1 comment · Fixed by #89

Comments

@runcom
Copy link

runcom commented Oct 19, 2022

Sent all subkeys to the card with keytocard but gpg --card-status gives me this:

sub  ed25519/4581665975B9EFDC 2022-09-29 Antonio Murdaca <[email protected]>
sec#  ed25519/4A51A50353E8131B  created: 2022-09-29  expires: 2024-09-28
ssb>  ed25519/4581665975B9EFDC  created: 2022-09-29  expires: 2023-09-29
                                card-no: 0000 A0103125
ssb   cv25519/2213607CC8C5F771  created: 2022-09-29  expires: 2023-09-29
ssb>  ed25519/4C25A83CB3E806C1  created: 2022-09-29  expires: 2023-09-29
                                card-no: 0000 A0103125

basically the encryption key seems to be still on the system (verified with gpg -K too) but if I try to resend the enc key to the card gpg tells me it's alrady there

@sosthene-nitrokey
Copy link
Collaborator

Thanks for the report!

It seems indeed that GnuPGP's format for X25519 does not exactly follow X25519 as specified by RFC 7748 and uses another endianness. This breaks key import.

This will be fixed in the next release.

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

Successfully merging a pull request may close this issue.

2 participants