3 stable releases

1.1.0 Mar 27, 2023
1.0.2 Mar 25, 2023
1.0.1 Mar 24, 2023

#2230 in Cryptography

Download history 4/week @ 2024-02-18 37/week @ 2024-02-25 3/week @ 2024-03-03 9/week @ 2024-03-10 1/week @ 2024-03-17 50/week @ 2024-03-31

61 downloads per month
Used in 2 crates

MIT license

97KB
2K SLoC

yacme-protocol

Implementation of the YACME protocol, specifically the JOSE, JWT/JWK parts, including authenticated get-as-post and post requests.

Unsafe code

This crate uses unsafe in yacme_protocol::fmt to provide a custom format to serde_json. It uses the same unsafe code that serde_json uses here

License

MIT


lib.rs:

ACME JWT implementation and ACME request types.

Most ACME requests are authenticated as a JWT, signed by the account key. This module provides the implementation of that protocol, and the deserialization of the corresponding responses, as well as providing a Client type which can be used to track the correct Nonce through a series of requests.

Dependencies

~9–22MB
~346K SLoC