QtPass
1.6.0
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
src
gpgkeystate.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: 2026 Anne Jan Brouwer
2
// SPDX-License-Identifier: GPL-3.0-or-later
3
#ifndef SRC_GPGKEYSTATE_H_
4
#define SRC_GPGKEYSTATE_H_
5
6
#include "
userinfo.h
"
7
8
#include <QList>
9
#include <QString>
10
#include <QStringList>
11
12
enum class
GpgRecordType
{
Unknown
,
Pub
,
Sec
,
Uid
,
Fpr
,
Sub
,
Ssb
,
Grp
};
13
14
GpgRecordType
classifyRecord
(
const
QString &record_type);
15
16
QList<UserInfo>
parseGpgColonOutput
(
const
QString &output,
bool
secret);
17
18
#endif
// SRC_GPGKEYSTATE_H_
parseGpgColonOutput
QList< UserInfo > parseGpgColonOutput(const QString &output, bool secret)
Parse GPG –with-colons output into a list of UserInfo.
Definition
gpgkeystate.cpp:110
GpgRecordType
GpgRecordType
Definition
gpgkeystate.h:12
GpgRecordType::Grp
@ Grp
Definition
gpgkeystate.h:12
GpgRecordType::Sec
@ Sec
Definition
gpgkeystate.h:12
GpgRecordType::Uid
@ Uid
Definition
gpgkeystate.h:12
GpgRecordType::Unknown
@ Unknown
Definition
gpgkeystate.h:12
GpgRecordType::Pub
@ Pub
Definition
gpgkeystate.h:12
GpgRecordType::Fpr
@ Fpr
Definition
gpgkeystate.h:12
GpgRecordType::Sub
@ Sub
Definition
gpgkeystate.h:12
GpgRecordType::Ssb
@ Ssb
Definition
gpgkeystate.h:12
classifyRecord
GpgRecordType classifyRecord(const QString &record_type)
Classify a GPG colon output record type.
Definition
gpgkeystate.cpp:23
userinfo.h
Generated by
1.16.1