Skip to content

Commit

Permalink
Release 0.2.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Aug 27, 2022
1 parent 3c1a45c commit 89c1d45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHsjMxxbMNsYAIkU+a3yENkZ50fpbXDRIa5jVS36giXF
Creates keys compatible with GPG. GPG is a commonly known utility that supports PGP protocol. Quirks:

1. Generated private and public keys would have different representation,
however, **their fingerprints would be the same**. This is because AES encryption is used to
hide the keys, and AES requires different IV / salt.
however, **their fingerprints would be the same**. This is because AES encryption is used to
hide the keys, and AES requires different IV / salt.
2. The function is slow (~725ms on Apple M1), because it uses S2K to derive keys.
3. "warning: lower 3 bits of the secret key are not cleared"
happens even for keys generated with GnuPG 2.3.6, because check looks at item as Opaque MPI, when it is just MPI: see [bugtracker URL](https://dev.gnupg.org/rGdbfb7f809b89cfe05bdacafdb91a2d485b9fe2e0).
happens even for keys generated with GnuPG 2.3.6, because check looks at item as Opaque MPI, when it is just MPI: see [bugtracker URL](https://dev.gnupg.org/rGdbfb7f809b89cfe05bdacafdb91a2d485b9fe2e0).

```js
import * as pgp from 'ed25519-keygen/pgp';
Expand Down Expand Up @@ -151,4 +151,3 @@ rx724x3oambzxr46pkbdckdqyut5x5lhsneru3uditf4nuyuf4uou6qd.onion
## License

MIT (c) Paul Miller [(https://paulmillr.com)](https://paulmillr.com), see LICENSE file.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ed25519-keygen",
"version": "0.2.2",
"version": "0.2.3",
"description": "Generate ed25519 keys deterministically for SSH, PGP (GPG) and TOR",
"type": "module",
"main": "index.js",
Expand Down

0 comments on commit 89c1d45

Please sign in to comment.