-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Whatever I try I always get:
$ go run main.go
2024/03/27 22:09:05 Enter path to private PGP key (default: ./priv.asc):
./damien.asc
2024/03/27 22:09:09 openpgp: invalid data: user ID signature with wrong type
This is with the latest version of golang installed on a fresh debian system in a VM.
I generated the ./damien.asc file with:
$ gpg --export-secret-keys --armor F72C652AE7564ECC
F72C652AE7564ECC is my main key id (not a subkey).
The ./damien.asc file is 81 lines long (compared to the 26 lines of the test-key.asc in the repository). Is the size normal? The file looks like:
-----BEGIN PGP PRIVATE KEY BLOCK-----
...
-----END PGP PRIVATE KEY BLOCK-----
Metadata
Metadata
Assignees
Labels
No labels