Page Menu
Home
GnuPG
Search
Configure Global Search
Log In
Files
F255226
bug_sample-opensuse.txt
chindraba (Ronald Lamoreaux)
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
chindraba
Jan 22 2018, 8:01 AM
2018-01-22 08:01:47 (UTC+1)
Size
5 KB
Subscribers
None
bug_sample-opensuse.txt
View Options
export GNUPGHOME=~/gnupg-bug/gnupg-bug-home
$ gpg --version
gpg (GnuPG) 2.2.4
libgcrypt 1.8.2
Copyright (C) 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Home: /home/gypsy/gnupg-bug/gnupg-bug-home
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
$ cat /home/gypsy/gnupg-bug/gnupg-bug-home/gnupg.conf
utf8-strings
auto-key-locate local
auto-key-locate keyserver
enable-large-rsa
ask-cert-level
keyid-format long
with-fingerprint
list-options show-uid-validity
list-options show-sig-expire
list-options show-keyring
verify-options show-uid-validity
use-agent
keyserver-options no-honor-keyserver-url
keyserver-options include-revoked
personal-cipher-preferences AES256 AES192 AES CAST5
personal-digest-preferences SHA512 SHA384 SHA256
cert-digest-algo SHA512
default-preference-list SHA512 SHA384 SHA256 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed
$ cat /home/gypsy/gnupg-bug/gnupg-bug-home/dirmngr.conf
allow-version-check
keyserver hkps://hkps.pool.sks-keyservers.net
disable-http
ignore-http-dp
honor-http-proxy
hkp-cacert /usr/share/gnupg/sks-keyservers.netCA.pem
$ cat /home/gypsy/gnupg-bug/unattended.txt
%echo Making the Sample key 1 ...
Key-Type: ECDSA
Key-Curve: Ed25519
Name-Real: Bug Sample 1
Passphrase: F@keP455
%commit
%echo Sample key 2 ... done.
%echo Making the Sample key 1 ...
Key-Type: ECDSA
Key-Curve: nistp256
Name-Real: Bug Sample 2
Passphrase: F@keP455
%commit
%echo Sample key 2 ... done.
%echo Making the Sample key 3 ...
Key-Type: RSA
Key-Length: 4096
Name-Real: Bug Sample 3
Passphrase: F@keP455
%commit
%echo Sample key 3 ... done.
$ gpg --expert --batch --generate-key unattended.txt
gpg: keybox '/home/gypsy/gnupg-bug/gnupg-bug-home/pubring.kbx' created
gpg: Making the Sample key 1 ...
gpg: /home/gypsy/gnupg-bug/gnupg-bug-home/trustdb.gpg: trustdb created
gpg: key 0B76948D527A6639 marked as ultimately trusted
gpg: revocation certificate stored as '/home/gypsy/gnupg-bug/gnupg-bug-home/openpgp-revocs.d/CCA65D5276EA7BE7F8578FD80B76948D527A6639.rev'
gpg: Sample key 1 ... done.
gpg: Making the Sample key 2 ...
gpg: revocation certificate stored as '/home/gypsy/gnupg-bug/gnupg-bug-home/openpgp-revocs.d/AE15EBC7CC45B87FBB73AB569E517C3C71CEC6F2.rev'
gpg: Sample key 2 ... done.
gpg: Making the Sample key 3 ...
gpg: revocation certificate stored as '/home/gypsy/gnupg-bug/gnupg-bug-home/openpgp-revocs.d/7673D6EF4E6EC6679C1C8ADAF6BFAC8B92E949D7.rev'
gpg: Sample key 3 ... done.
$ gpg --check-sigs
gpg: checking the trustdb
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 3 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 3u
/home/gypsy/gnupg-bug/gnupg-bug-home/pubring.kbx
------------------------------------------------
pub ed25519 2018-01-20 [SCA]
CCA65D5276EA7BE7F8578FD80B76948D527A6639
uid [ultimate] Bug Sample 1
sig-3 0B76948D527A6639 2018-01-20 Bug Sample 1
pub nistp256 2018-01-20 [SCA]
AE15EBC7CC45B87FBB73AB569E517C3C71CEC6F2
uid [ultimate] Bug Sample 2
sig!3 9E517C3C71CEC6F2 2018-01-20 Bug Sample 2
pub rsa4096 2018-01-20 [SCEA]
7673D6EF4E6EC6679C1C8ADAF6BFAC8B92E949D7
uid [ultimate] Bug Sample 3
sig!3 F6BFAC8B92E949D7 2018-01-20 Bug Sample 3
gpg: 2 good signatures
gpg: 1 bad signature
$ gpg --expert --quick-addkey CCA65D5276EA7BE7F8578FD80B76948D527A6639 rsa2048 encrypt 20180301T010136
gpg: key 0B76948D527A6639: 1 bad signature
gpg: key 0B76948D527A6639: Warning: errors found and only checked self-signatures, run 'check' to check all signatures.
$ gpg --expert --quick-addkey AE15EBC7CC45B87FBB73AB569E517C3C71CEC6F2 rsa2048 encrypt 20180301T020246
$ gpg --expert --quick-addkey 7673D6EF4E6EC6679C1C8ADAF6BFAC8B92E949D7 rsa2048 encrypt 20180301T030356
$ gpg --check-sigs
/home/gypsy/gnupg-bug/gnupg-bug-home/pubring.kbx
------------------------------------------------
pub ed25519 2018-01-20 [SCA]
CCA65D5276EA7BE7F8578FD80B76948D527A6639
uid [ultimate] Bug Sample 1
sig-3 0B76948D527A6639 2018-01-20 Bug Sample 1
sub rsa2048 2018-01-20 []
sig- 0B76948D527A6639 2018-01-20 Bug Sample 1
pub nistp256 2018-01-20 [SCA]
AE15EBC7CC45B87FBB73AB569E517C3C71CEC6F2
uid [ultimate] Bug Sample 2
sig!3 9E517C3C71CEC6F2 2018-01-20 Bug Sample 2
sub rsa2048 2018-01-20 [E] [expires: 2018-03-01]
sig! 9E517C3C71CEC6F2 2018-01-20 Bug Sample 2
pub rsa4096 2018-01-20 [SCEA]
7673D6EF4E6EC6679C1C8ADAF6BFAC8B92E949D7
uid [ultimate] Bug Sample 3
sig!3 F6BFAC8B92E949D7 2018-01-20 Bug Sample 3
sub rsa2048 2018-01-20 [E] [expires: 2018-03-01]
sig! F6BFAC8B92E949D7 2018-01-20 Bug Sample 3
gpg: 4 good signatures
gpg: 2 bad signatures
$ gpg --fingerprint --list-secret-keys
/home/gypsy/gnupg-bug/gnupg-bug-home/pubring.kbx
------------------------------------------------
sec ed25519 2018-01-20 [SCA]
CCA6 5D52 76EA 7BE7 F857 8FD8 0B76 948D 527A 6639
uid [ultimate] Bug Sample 1
ssb rsa2048 2018-01-20 []
sec nistp256 2018-01-20 [SCA]
AE15 EBC7 CC45 B87F BB73 AB56 9E51 7C3C 71CE C6F2
uid [ultimate] Bug Sample 2
ssb rsa2048 2018-01-20 [E] [expires: 2018-03-01]
sec rsa4096 2018-01-20 [SCEA]
7673 D6EF 4E6E C667 9C1C 8ADA F6BF AC8B 92E9 49D7
uid [ultimate] Bug Sample 3
ssb rsa2048 2018-01-20 [E] [expires: 2018-03-01]
File Metadata
Details
Attached
Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
131820
Attached To
T3753: Bad self-signatures and missing subkey usage flags when creating ECDSA/Ed25519 keys in batch mode
Event Timeline
Log In to Comment