Module ripasso::pass

source ·
Expand description

This is the library part of ripasso, it implements the functions needed to manipulate a pass directory.

Structs

Enums

  • A enum that contains the different types of errors that the library returns as part of Result’s.
  • A Recipient can either be in the GPG keyring, or not.
  • the GPG trust level for a key
  • The state of a password, with regards to git
  • A git commit for a password might be signed by a gpg key, and this signature’s verification state is one of these values.

Functions

  • Return all Recipient across all different stores in the list.
  • Turns an optional string into a vec of parsed gpg fingerprints in the form of strings. If any of the fingerprints isn’t a full 40 chars or if they haven’t been imported to the gpg keyring yet, this function instead returns an error.
  • Determine password directory
  • Determine password directory
  • Import a key from a string.
  • Import the key_ids from the signature file from a keyserver.
  • reads ripassos config file, in $XDG_CONFIG_HOME/ripasso/settings.toml
  • Return a list of all passwords whose name contains query.

Type Definitions

  • Convenience type for Results