S/MIME which certificate format

Marco Moock mm at dorfdsl.de
Fri Jun 14 15:01:59 CEST 2024


Am 14.06.2024 um 11:51:07 Uhr schrieb Ingo Klöcker:

> Start by adding "--verbose" to the command line of gpgsm. You can add
> "--verbose" multiple times to increase the verbosity.

I did that and it shows me some stuff.

The question is how can I find out why the digest algorithm isn't
recognized?

Openssl gives me: Signature Algorithm: sha256WithRSAEncryption


gpgsm: DBG: kdf digest algo = 8
gpgsm: DBG: _tlv_next: tlv_next called
gpgsm: DBG: p12_parse:_tlv_next:1564: @0139 class=0 tag=5 len=0 nhdr=2 
gpgsm: DBG: _tlv_next: tlv_next called
gpgsm: DBG: p12_parse:_tlv_pop:590: @0141 lvl=13 
gpgsm: DBG: p12_parse:_tlv_pop:590: @0141 lvl=12 
gpgsm: DBG: p12_parse:_tlv_pop:590: @0141 lvl=11 
gpgsm: DBG: _tlv_next: container(s) closed due to size
gpgsm: DBG: p12_parse:_tlv_next:1571: @0141 class=0 tag=16 len=29
nhdr=2  cons gpgsm: DBG: p12_parse:_tlv_push:549: @0143 lvl=12 
gpgsm: DBG: _tlv_next: tlv_next called
gpgsm: DBG: p12_parse:_tlv_next:1576: @0143 class=0 tag=6 len=9 nhdr=2 
gpgsm: DBG: _tlv_next: tlv_next called
gpgsm: DBG: p12_parse:_tlv_next:1594: @0154 class=0 tag=4 len=16 nhdr=2 
gpgsm: DBG: _tlv_next: tlv_next called
gpgsm: DBG: p12_parse:_tlv_pop:590: @0172 lvl=11 
gpgsm: DBG: p12_parse:_tlv_pop:590: @0172 lvl=10 
gpgsm: DBG: p12_parse:_tlv_pop:590: @0172 lvl=9 
gpgsm: DBG: _tlv_next: container(s) closed due to size
gpgsm: DBG: p12_parse:_tlv_next:1639: @0172 class=2 tag=0 len=3232
nhdr=4 gpgsm: 3232 bytes of AES256 encrypted text
gpgsm: DBG: _tlv_next: tlv_next called
gpgsm: DBG: p12_parse:_tlv_next:1679: @0000 class=0 tag=16 len=3212
nhdr=4  cons gpgsm: DBG: p12_parse:_tlv_push:549: @0004 lvl=1 
gpgsm: DBG: _tlv_next: tlv_next called
gpgsm: DBG: p12_parse:_tlv_next:1693: @0004 class=0 tag=16 len=1607
nhdr=4  cons gpgsm: DBG: p12_parse:_tlv_push:549: @0008 lvl=2 
gpgsm: DBG: _tlv_next: tlv_next called
gpgsm: DBG: p12_parse:_tlv_next:1704: @0008 class=0 tag=6 len=11 nhdr=2 
gpgsm: DBG: _tlv_next: tlv_next called
gpgsm: DBG: p12_parse:_tlv_next:1730: @0021 class=2 tag=0 len=1551
nhdr=4  cons gpgsm: DBG: p12_parse:_tlv_push:549: @0025 lvl=3 
gpgsm: processing certBag
gpgsm: DBG: _tlv_next: tlv_next called
gpgsm: DBG: p12_parse:_tlv_next:1840: @0025 class=0 tag=16 len=1547
nhdr=4  cons gpgsm: DBG: p12_parse:_tlv_push:549: @0029 lvl=4 
gpgsm: DBG: _tlv_next: tlv_next called
gpgsm: DBG: p12_parse:_tlv_next:1845: @0029 class=0 tag=6 len=10 nhdr=2 
gpgsm: DBG: _tlv_next: tlv_next called
gpgsm: DBG: p12_parse:_tlv_next:1858: @0041 class=2 tag=0 len=1531
nhdr=4  cons gpgsm: DBG: p12_parse:_tlv_push:549: @0045 lvl=5 
gpgsm: DBG: _tlv_next: tlv_next called
gpgsm: DBG: p12_parse:_tlv_next:1868: @0045 class=0 tag=4 len=1527
nhdr=4 gpgsm: unknown digest algorithm '?' used certificate
gpgsm: certificate has a BAD signature: General error
gpgsm: basic certificate checks failed - not imported


-- 
kind regards
Marco



More information about the Gnupg-users mailing list