RustCrypto / formats

Cryptography-related format encoders/decoders: DER, PEM, PKCS, PKIX
237 stars 126 forks source link

Missing formats #1

Open tarcieri opened 3 years ago

tarcieri commented 3 years ago

Please post a comment to request additional formats

jklong commented 3 years ago

3 will also require a PKCS#7 implementation so I'll start work on that as well. I've created PKCS#7 support #28 to track.

franziskuskiefer commented 2 years ago

Do you want to stick to the big ones or are you also interested in things like the "TLS codec". It's not really a standard but it's being used quite a bit by now. I have a version here https://github.com/openmls/tls-codec/

tarcieri commented 2 years ago

@franziskuskiefer if you so happen to be looking for another home for it I'd say that would be a great thing to have here

jonasbb commented 2 years ago

The new ssh-key crate does not seem to support ssh-keys backed by security keys, which contain the sk suffix in the name. There is ecdsa_sk which uses sk-ecdsa-sha2-nistp256@openssh.com in the .pub file and ed25519_sk using sk-ssh-ed25519@openssh.com as the identifier. It would be great to have support for these newer key types too, but it is not clear to me if that is currently on the todo list.

tarcieri commented 2 years ago

@jonasbb yes, it would be good to add support for those. Likewise it would be nice to have support for OpenSSH certificates.

I will try to get these items added to the TODO list in the README, or otherwise would merge a PR to add them.

enri1196 commented 1 year ago

Do you think RFC3161 TimeStamp Protocol would be a good addition to the formats?

reference: https://www.rfc-editor.org/rfc/rfc3161

carl-wallace commented 1 year ago

I think RFC3161 would be a good addition and have thought about implementing it before but had not gotten around to it. It's referenced in some new work, for example, draft-birkholz-rats-epoch-markers.

enri1196 commented 1 year ago

I'd like to help, can I just open a PR once I've got some basic implementation of the structures? Maybe a new folder under formats/tsp?

tarcieri commented 1 year ago

We'd need a crate name we actually control, although you can use that name temporarily until we pick one we do control

leotaku commented 10 months ago

I would potentially be interested in contributing an implementation of RFC5544. Is that something the project would benefit from?

enri1196 commented 10 months ago

Hey @leotaku I've actually created an issue for this format and I have most of the work done locally, the blocking issue for me is that I get an indefinite length error which seems to come from a BER/DER mixed encoding. #1198 I was waiting to get some feedback, but I could definitely open a PR for you to test for your self, maybe you can spot something i missed.

leotaku commented 10 months ago

@enri1196 That sounds great. If you open a PR or direct me to your fork I'd love to take a look.

enri1196 commented 10 months ago

@leotaku check out PR #1258 hopefully we can get this to work

dishmaker commented 9 months ago

PKCS#15 ISO/IEC 7816-15 Version 2016 with amd. 2018 https://github.com/monai/node-passport/blob/master/lib/pkcs15/cryptographic_information_framework.asn1