Crate web_bot_auth

Source
Expand description

§web-bot-auth library

web-bot-auth is a library provides a Rust implementation of HTTP Message Signatures as defined in RFC 9421, with additional support for verifying a web bot auth signed message.

§Features

  • Message Signing: Generate HTTP message signatures using Ed25519 cryptography
  • Message Verification: Verify signed HTTP messages against public keys
  • Web Bot Auth: Specialized verification for automated agents with additional security requirements

Modules§

components
HTTP message components that can be present in a given signed / unsigned message, and all the logic to parse it from an incoming message.
keyring
Implementation of a JSON Web Key manager suitable for use with web-bot-auth. Can be used for arbitrary HTTP message signatures as well.
message_signatures
Implementation of HTTP Message Signatures

Structs§

WebBotAuthVerifier
A verifier for Web Bot Auth messages specifically.

Enums§

ImplementationError
Errors that may be thrown by this module.
SignatureAgentLink
The different types of URLs a Signature-Agent can have.
WebBotAuthError
Errors thrown when verifying a Web Bot Auth-signed message specifically.

Traits§

WebBotAuthSignedMessage
A trait that messages wishing to be verified as a web-bot-auth method specifically must implement.