Skip to content
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

Request signing fails due to invalid algorithm id #3

Open
alinaboghiu opened this issue Apr 5, 2024 · 2 comments · May be fixed by #4
Open

Request signing fails due to invalid algorithm id #3

alinaboghiu opened this issue Apr 5, 2024 · 2 comments · May be fixed by #4

Comments

@alinaboghiu
Copy link

When following these instructions to generate a validation CSR for our new onion server cert, the onion-csr.rb script fails with:

[invalid OBJECT ID ED25519](onion-csr.rb:95:in `to_der': invalid OBJECT ID ED25519: first num too large (OpenSSL::ASN1::ASN1Error))

We've managed to successfully run the script by changing the alg_id from ED25519 to Ed25519

alg_id = OpenSSL::ASN1::Sequence([OpenSSL::ASN1::ObjectId('ED25519')])

alinaboghiu added a commit to alinaboghiu/onion-csr that referenced this issue Apr 5, 2024
@alinaboghiu alinaboghiu linked a pull request Apr 5, 2024 that will close this issue
@AEtherC0r3
Copy link
Member

@alinaboghiu Could you provide more information about the environment you used? i.e. OS, Ruby and OpenSSL versions

@alinaboghiu
Copy link
Author

OS: Sonoma 14.4.1 (23E224)
Ruby: 2.6.10
OpenSSL: 3.1.2

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

Successfully merging a pull request may close this issue.

2 participants