Skip to content

Bug report: Cant use Parse X.509 Certificate on certificates signed with ED25519 signatures: unsupported PKCS#8 public key hex #2005

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
9numbernine9 opened this issue Mar 27, 2025 · 0 comments
Labels

Comments

@9numbernine9
Copy link

9numbernine9 commented Mar 27, 2025

Describe the bug
Using the Parse X.509 Certificate recipe to parse a certificate that was generated using ED25519 signatures doesn't work and returns a unsupported PKCS#8 public key hex error.

To Reproduce
Sample input: Click Here

This certificate parses fine with OpenSSL, i.e. openssl x509 -in cert_goes_here.pem -text -noout:

Certificate:
    Data:
        Version: 1 (0x0)
        Serial Number:
            19:6e:fc:cf:0d:0e:2f:41:a9:b4:98:be:f9:af:75:74:16:bb:0e:c4
        Signature Algorithm: ED25519
        Issuer: C=DE, CN=www.example.com
        Validity
            Not Before: Mar 31 17:51:22 2019 GMT
            Not After : Feb 28 17:51:22 2021 GMT
        Subject: C=DE, CN=www.example.com
        Subject Public Key Info:
            Public Key Algorithm: ED25519
                ED25519 Public-Key:
                pub:
                    2b:ce:e0:d1:bf:02:0b:57:80:e6:6b:ca:5e:df:6e:
                    7b:36:70:25:85:84:ca:0e:f8:63:4c:53:64:49:2a:
                    09:cc
    Signature Algorithm: ED25519
    Signature Value:
        20:8b:bf:69:ad:d0:b6:bd:c8:13:9b:68:fe:7b:d6:55:8f:72:
        dd:c8:b0:1b:90:e7:03:bd:17:dc:02:d4:84:5b:3e:53:96:8b:
        b5:f6:3c:b0:d4:f5:36:0e:f6:86:df:94:07:00:72:bb:37:b6:
        d1:4b:0b:f6:a3:2c:9a:49:d0:08

Expected behaviour
The cert will be parsed and information about its contents will be displayed.

Screenshots
N/A

Desktop (if relevant, please complete the following information):

  • OS: Arch Linux
  • Browser: Firefox 136.0.3
  • CyberChef version: 10.19.4

Additional context
N/A

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant