gpgsm --verify back to back gpgsm --gen-key

Meno Abels meno.abels at adviser.com
Tue Oct 18 15:09:57 CEST 2016


Hi,

i tried to run some combinations of "gpgsm —verify” all without any success.

# gpgsm --batch --gen-key <  gpgsm-keygen | gpgsm  —verify
gpgsm (GnuPG) 2.1.15; Copyright (C) 2016 Free Software Foundation, Inc.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

gpgsm: about to sign the certificate for key: &sjfwdfdkjafdkfsd
gpgsm: certificate created
gpgsm: ksba_cms_parse failed: No CMS object

I did not have any success with any filetype which i send to gpgsm —verify

I tried the:
 - bin (without -a)
 - pem (with -a)
 - pem’s other sources
file’s.

i checked all the pem’s with openssl x509 -in…. all good.

I tried to understand, the documentation without any success.

I tried to read the source and i don’t understand why “ksba_cms_parse” could fail on these filetypes.

Is there somebody out who knows how —verify should work?

thx in advance

Meno
gpgsm (GnuPG) 2.1.15
libgcrypt 1.7.3
libksba 1.3.5
Copyright (C) 2016 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: /Users/menabe/.gnupg
Supported algorithms:
Cipher: 3DES, AES128, AES192, AES256, SERPENT128, SERPENT192, SERPENT256, SEED, CAMELLIA128, CAMELLIA192, CAMELLIA256
Pubkey: RSA, ECC
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224, WHIRLPOOL


More information about the Gnupg-users mailing list