Module ripasso::crypto

source ·
Expand description

This is the library part that handles all encryption and decryption

Structs

  • Used when the user configures gpgme to be used as a pgp backend.
  • A key gotten from gpgme
  • If the users configures to use sequoia as their pgp implementation.
  • A pgp key produced with sequoia.

Enums

  • The different pgp implementations we support
  • A enum that contains the different types of errors that the library returns as part of Result’s.
  • The strategy for finding the gpg key to sign with can either be to look at the git config, or ask gpg.
  • The different types of errors that can occur when doing a signature verification

Traits

  • All operations that can be done through pgp, either with gpgme or sequoia.
  • Models the interactions that can be done on a pgp key

Functions

Type Definitions

  • Convenience type for Results