gpgsm: Cert trouble GPG_ERR_NO_VALUE for GTE CyberTrust Global Root

Bernhard Reiter bernhard at intevation.de
Thu Apr 2 14:28:20 CEST 2009


Something is wrong with 
CN=GTE CyberTrust Global Root,OU=GTE CyberTrust Solutions\, Inc.,O=GTE 
Corporation,C=US,serial#: 01A5
http://www.telesec.de/service/GTE-CyberTrust-Global-Root.der

gpgsm 2.0.11 can import, but not use it. 
The GPG_ERR_NO_VALUE is not conclusive.
What is going on?

See the following session:


  rm -r dot.gnupg/
  mkdir dot.gnupg
  LANGUAGE=C GPGHOME=dot.gnupg gpgsm --no-common-certs-import --list-keys
gpgsm: keybox `/home/bernhard/tmp/dot.gnupg/pubring.kbx' created
  LANGUAGE=C GPGHOME=dot.gnupg gpgsm --list-keys
  LANGUAGE=C GPGHOME=dot.gnupg gpgsm --import GTE-CyberTrust-Global-Root.der
gpgsm: total number processed: 1
gpgsm:               imported: 1
  LANGUAGE=C GPGHOME=dot.gnupg gpgsm --list-keys
/home/bernhard/tmp/dot.gnupg/pubring.kbx
----------------------------------------
           ID: 0x367EF474
          S/N: 01A5
       Issuer: /CN=GTE CyberTrust Global Root/OU=GTE CyberTrust Solutions, 
Inc./O=GTE Corporation/C=US
      Subject: /CN=GTE CyberTrust Global Root/OU=GTE CyberTrust Solutions, 
Inc./O=GTE Corporation/C=US
     validity: 1998-08-13 00:29:00 through 2018-08-13 23:59:00
     key type: 1024 bit RSA
 chain length: none
  fingerprint: 97:81:79:50:D8:1C:96:70:CC:34:D8:09:CF:79:44:31:36:7E:F4:74

  LANGUAGE=C GPGHOME=dot.gnupg gpgsm -e -r 
97:81:79:50:D8:1C:96:70:CC:34:D8:09:CF:79:44:31:36:7E:F4:74
gpgsm: can't encrypt to 
`97:81:79:50:D8:1C:96:70:CC:34:D8:09:CF:79:44:31:36:7E:F4:74': No value
  LANGUAGE=C GPGHOME=dot.gnupg gpgsm -vvv --debug-all -e -r 
97:81:79:50:D8:1C:96:70:CC:34:D8:09:CF:79:44:31:36:7E:F4:74
gpgsm: NOTE: no default option file `X/dot.gnupg/gpgsm.conf'
gpgsm: no key usage specified - assuming all usages
gpgsm: DBG: BEGIN Certificate `target':
gpgsm: DBG:      serial: 01A5
gpgsm: DBG:   notBefore: 1998-08-13 00:29:00
gpgsm: DBG:    notAfter: 2018-08-13 23:59:00
gpgsm: DBG:      issuer: CN=GTE CyberTrust Global Root,OU=GTE CyberTrust 
Solutions\, Inc.,O=GTE Corporation,C=US
gpgsm: DBG:     subject: CN=GTE CyberTrust Global Root,OU=GTE CyberTrust 
Solutions\, Inc.,O=GTE Corporation,C=US
gpgsm: DBG:   hash algo: 1.2.840.113549.1.1.4
gpgsm: DBG:   SHA1 Fingerprint: 
97:81:79:50:D8:1C:96:70:CC:34:D8:09:CF:79:44:31:36:7E:F4:74
gpgsm: DBG: END Certificate
gpgsm: DBG: connection to agent established
gpgsm: DBG: signature value: 28 37 3A 73 69 67 2D 76 61 6C 28 33 3A 72 73 61 
28 31 3A 73 31 32 38 3A 6D EB 1B 09 E9 5E D9 51 DB 67 22 61 A4 2A 3C 48 77 E3 
A0 7C A6 DE 73 A2 14 03 85 3D FB AB 0E 30 C5 83 16 33 81 13 08 9E 7B 34 4E DF 
40 C8 74 D7 B9 7D DC F4 76 55 7D 9B 63 54 18 E9 F0 EA F3 5C B1 D9 8B 42 1E B9 
C0 95 4E BA FA D5 E2 7C F5 68 61 BF 8E EC 05 97 5F 5B B0 D7 A3 85 34 C4 24 A7 
0D 0F 95 93 EF CB 94 D8 9E 1F 9D 5C 85 6D C7 AA AE 4F 1F 22 B5 CD 95 AD BA A7 
CC F9 AB 0B 7A 7F 29 29 28 34 3A 68 61 73 68 33 3A 6D 64 35 29 29
gpgsm: DBG: encoded hash: 00 01 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 
FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 30 
20 30 0C 06 08 2A 86 48 86 F7 0D 02 05 05 00 04 10 E1 B3 4A 19 37 4F C7 10 C6 
16 67 B8 2E 8F 1C 2C
DBG: pubkey_verify: algo=1
  pkey:: 
950FA0B6F0509CE87AC788CDDD170E2EB094D01B3D0EF694C08A94C706C89097C8B8641A7A7E6C3C53E1372873607FB29753079F53F96D5894D2AF8D6D886780E6EDB295CF7231CAA51C72BA5C02E76442E7F9A92CD63A0DAC8D42AA240139E69C3F0185570D588745F8D385AA936926857048803F1215C779B41F052F3B6299
  pkey:: 10001
   sig:: 
6DEB1B09E95ED951DB672261A42A3C4877E3A07CA6DE73A21403853DFBAB0E30C58316338113089E7B344EDF40C874D7B97DDCF476557D9B635418E9F0EAF35CB1D98B421EB9C0954EBAFAD5E27CF56861BF8EEC05975F5BB0D7A38534C424A70D0F9593EFCB94D89E1F9D5C856DC7AAAE4F1F22B5CD95ADBAA7CCF9AB0B7A7F
  hash:: 
1FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF003020300C06082A864886F70D020505000410E1B34A19374FC710C61667B82E8F1C2C
gpgsm: DBG: gcry_pk_verify: Success
gpgsm: validation model used: shell
gpgsm: can't encrypt to 
`97:81:79:50:D8:1C:96:70:CC:34:D8:09:CF:79:44:31:36:7E:F4:74': No value
random usage: poolsize=600 mixed=0 polls=0/0 added=0/0
              outmix=0 getlvl1=0/0 getlvl2=0/0
secmem usage: 0/16384 bytes in 0 blocks


-- 
Managing Director - Owner: www.intevation.net       (Free Software Company)
Germany Coordinator: fsfeurope.org. Coordinator: www.Kolab-Konsortium.com.
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner



More information about the Gnupg-devel mailing list