Skip to content

Version 0.1.0

Compare
Choose a tag to compare
@falko17 falko17 released this 05 Apr 22:27
· 121 commits to main since this release
4f780a6

As this is the first release, lots of basic functionality has been setup.
For more extensive documentation, consult the crate-level documentation.

Added

  • CBOR de-/serializable model of the ACE-OAuth framework has been added:
    • Binary- and text-encoded scopes
    • Access token requests and responses
    • Authorization server request creation hints
    • Error responses
    • Various smaller types (AceProfile, GrantType, ProofOfPossessionKey, TokenType...)
    • Use serialize_into or deserialize_from to serialize and deserialize these types.
  • Methods to create and work with access tokens:
    • encrypt_access_token
    • decrypt_access_token
    • sign_access_token
    • verify_access_token
    • get_token_headers (to extract headers from an opaque token)
  • Related: Various COSE Cipher traits intended for users to implement, used in the above methods for cryptographic operations:
    • CoseCipherCommon (to set headers specific to the cipher)
    • CoseEncrypt0Cipher
    • CoseVerify1Cipher
    • CoseMac0Cipher
  • Constants describing CBOR abbreviations of various ACE-OAuth fields
  • no_std support

Full changelog: https://github.com/namib-project/dcaf-rs/commits/v0.1.0