QtPass 1.6.0
Multi-platform GUI for pass, the standard unix password manager.
Loading...
Searching...
No Matches
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
12enum class GpgRecordType { Unknown, Pub, Sec, Uid, Fpr, Sub, Ssb, Grp };
13
14GpgRecordType classifyRecord(const QString &record_type);
15
16QList<UserInfo> parseGpgColonOutput(const QString &output, bool secret);
17
18#endif // SRC_GPGKEYSTATE_H_
QList< UserInfo > parseGpgColonOutput(const QString &output, bool secret)
Parse GPG –with-colons output into a list of UserInfo.
GpgRecordType
Definition gpgkeystate.h:12
GpgRecordType classifyRecord(const QString &record_type)
Classify a GPG colon output record type.