Expand description
Complete identity management.
Pijul uses keys, rather than personal details such as names or emails to attribute changes. The user can have multiple identities on disk, each with completely unique details. For more information see the manual.
This module implements various functionality useful for managing identities on disk. The current format for storing identities is as follows:
.config/pijul/ (or applicable global config directory)
├── config.toml (global defaults)
│ ├── Username
│ ├── Full name
│ └── Email
└── identities/
└── <IDENTITY NAME>/
├── identity.toml
│ ├── Username
│ ├── Full name
│ ├── Email
│ └── Public key
│ ├── Version
│ ├── Algorithm
│ ├── Key
│ └── Signature
└── secret_key.json
├── Version
├── Algorithm
└── Key
Structs§
- Complete
- A complete user identity, representing the secret key, public key, and user info
- Config
- Credentials
Functions§
- choose_
identity_ name - Choose an identity, either through defaults or a user prompt.
- fix_
identities - Ensure that the user has at least one valid identity on disk.
- public_
key - Returns the public key for identity named
.