|
QtPass 2.0.0
Developer documentation
|
One named password store: where it is, how its .gpg-id is signed and, optionally, its own Git switches. More...
#include <profile.h>
Public Member Functions | |
| auto | operator== (const Profile &other) const -> bool |
| Field-wise equality, including the unset state of each flag. | |
| auto | operator!= (const Profile &other) const -> bool |
| Negation of operator==. | |
Static Public Member Functions | |
| static auto | flagFromString (const QString &value) -> std::optional< bool > |
| Parse the on-disk tri-state. | |
| static auto | flagToString (std::optional< bool > flag) -> QString |
| Format a flag the way it is stored. | |
Public Attributes | |
| QString | path |
| Password store directory. | |
| QString | signingKey |
| Key(s) that sign this store's .gpg-id. | |
| std::optional< bool > | useGit |
| Git on/off; unset follows the global. | |
| std::optional< bool > | autoPush |
| Push after commits; unset = global. | |
| std::optional< bool > | autoPull |
| Pull on start; unset = global. | |
One named password store: where it is, how its .gpg-id is signed and, optionally, its own Git switches.
The Git flags are tri-state on disk ("" / "true" / "false"): unset means "follow the global setting", which is what every profile written before 1.8.0 has. Keys are stored under profile/<name>/ and are unchanged from the QHash-of-QHash days.
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
| std::optional<bool> Profile::autoPull |
| std::optional<bool> Profile::autoPush |
| QString Profile::signingKey |
| std::optional<bool> Profile::useGit |