[Libreoffice-commits] core.git: xmlsecurity/source
Samuel Mehrbrodt
Samuel.Mehrbrodt at cib.de
Wed Mar 29 19:36:21 UTC 2017
xmlsecurity/source/gpg/SecurityEnvironment.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 87fe264212d5c4f9debf4ec5f3dd2f7de8cf2e46
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date: Tue Mar 28 13:06:00 2017 +0200
gpg4libre: Show all keys no matter which trust level they have
Also remove the check for canEncrypt() since we also use this list for signing.
Change-Id: Ife95960f7303bebf2f61f5d3f3a37b9bb3018a5a
Reviewed-on: https://gerrit.libreoffice.org/35799
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Siegmund Gorr <siegmund.gorr at cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>
diff --git a/xmlsecurity/source/gpg/SecurityEnvironment.cxx b/xmlsecurity/source/gpg/SecurityEnvironment.cxx
index 51484e2c3c29..6517c35d725e 100644
--- a/xmlsecurity/source/gpg/SecurityEnvironment.cxx
+++ b/xmlsecurity/source/gpg/SecurityEnvironment.cxx
@@ -77,7 +77,7 @@ Sequence< Reference < XCertificate > > SecurityEnvironmentGpg::getPersonalCertif
GpgME::Key k = ctx->nextKey(err);
if (err)
break;
- if (!k.isInvalid() && k.canEncrypt() && (k.ownerTrust() == GpgME::Key::Ultimate)) {
+ if (!k.isInvalid()) {
xCert = new CertificateImpl();
xCert->setCertificate(k);
certsList.push_back(xCert);
More information about the Libreoffice-commits
mailing list