openssl/openssl

"openssl x509 -text" reports signature algorithm twice

Open

#24,343 opened on 2024年5月7日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)C (11,262 forks)batch import
help wantedtriaged: feature

Repository metrics

Stars
 (30,157 stars)
PR merge metrics
 (30d に merged PR はありません)

説明

$ openssl x509 -noout -text -in /tmp/crt
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number:
            08:3b:e0:56:90:42:46:b1:a1:75:6a:c9:59:91:c7:4a
        Signature Algorithm: sha1WithRSAEncryption
[...]
            X509v3 Authority Key Identifier:
                03:DE:50:35:56:D1:4C:BB:66:F0:A3:E2:1B:1B:C3:97:B2:3D:D1:55
    Signature Algorithm: sha1WithRSAEncryption
    Signature Value:
[...]

Inspecting the source, it looks like they are reporting the same thing. Still, it's confusing.

OpenSSL 3.0.13, Solaris-supplied and Cygwin-supplied.

コントリビューターガイド