[][src]Module ripasso::pass

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

Structs

PasswordEntry

One password in the password store

PasswordStore
Recipient

Represents one person on the team.

Enums

Error

A enum that contains the different types of errors that the library returns as part of Result's.

PasswordEvent

When setting up a watch for the password store directory, events of these types will be sent.

SignatureStatus

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

add_and_commit

Add a file to the store, and commit it to the supplied git repository.

create_password_list

Read the password store directory and return a list of all the password files.

init_git_repo

Initialize a git repository for the store.

password_dir

Determine password directory

password_dir_raw

Determine password directory

pull

Pull new changes from the remote git repository.

push

Push your changes to the remote git repository.

search

Return a list of all passwords whose name contains query.

watch

Subscribe to events, that happen when password files are added or removed

Type Definitions

PasswordStoreType

The global state of all passwords are an instance of this type.