Open Scarjit opened 2 years ago
FYI, we have a work-in-progress implementation of PKCS#10 (CSRs) going here:
https://github.com/RustCrypto/formats/tree/master/pkcs10
However to use that, we'll also need to switch over to the RustCrypto X.509 crate: #348
@Scarjit I'm working very hard to make it possible to publish a polished x509
crate right now because we need it too. Please come help with reviews because we have lots of open PRs. :)
@npmccallum I will definitively do that !
FYI, we've migrated to x509-cert
as of #495
I currently need to generate CSR's programmatically, but i can't find out how to do it, with yubikey.rs.
The "normal" workflow would be (According to the yubico docs:
After sending the certificate request to the CA and getting a signed certificate:
I was able to reproduce the first step, using:
However the library only seems to expose a function to generate an self-signed certificate, instead of an csr.
Is there any function im missing, or is it not implemented ?