[git] GPGME - branch, master, updated. gpgme-1.11.1-102-g8168dfb
by Andre Heinecke
cvs at cvs.gnupg.org
Thu Jul 19 12:59:55 CEST 2018
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".
The branch, master has been updated
via 8168dfbeb12042a7f7b1bad918ef60df92bfd1a7 (commit)
from af2c74d6c06a9fb08f7de15d41162d09f871a62e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 8168dfbeb12042a7f7b1bad918ef60df92bfd1a7
Author: Andre Heinecke <aheinecke at intevation.de>
Date: Thu Jul 19 12:58:49 2018 +0200
cpp: Print origin and last update for key/uid
* lang/cpp/src/key.cpp: Print origin and last update in
iostream operators.
diff --git a/lang/cpp/src/key.cpp b/lang/cpp/src/key.cpp
index 034286f..61b3eb7 100644
--- a/lang/cpp/src/key.cpp
+++ b/lang/cpp/src/key.cpp
@@ -1042,6 +1042,8 @@ std::ostream &operator<<(std::ostream &os, const UserID &uid)
<< "\n revoked: " << uid.isRevoked()
<< "\n invalid: " << uid.isInvalid()
<< "\n numsigs: " << uid.numSignatures()
+ << "\n origin: " << uid.origin()
+ << "\n updated: " << uid.lastUpdate()
<< "\n tofuinfo:\n" << uid.tofuInfo();
}
return os << ')';
@@ -1060,6 +1062,8 @@ std::ostream &operator<<(std::ostream &os, const Key &key)
<< "\n canEncrypt: " << key.canEncrypt()
<< "\n canCertify: " << key.canCertify()
<< "\n canAuth: " << key.canAuthenticate()
+ << "\n origin: " << key.origin()
+ << "\n updated: " << key.lastUpdate()
<< "\n uids:\n";
const std::vector<UserID> uids = key.userIDs();
std::copy(uids.begin(), uids.end(),
-----------------------------------------------------------------------
Summary of changes:
lang/cpp/src/key.cpp | 4 ++++
1 file changed, 4 insertions(+)
hooks/post-receive
--
GnuPG Made Easy
http://git.gnupg.org
More information about the Gnupg-commits
mailing list