diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-03-28 13:06:00 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-03-29 19:36:00 +0000 |
commit | 87fe264212d5c4f9debf4ec5f3dd2f7de8cf2e46 (patch) | |
tree | 96eb06fad300b765f31c2d34c0c7b0a1465c6f0f /xmlsecurity | |
parent | 6a101635b21d483c115fa3a75ad35fe7eefb0025 (diff) |
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@libreoffice.org>
Reviewed-by: Siegmund Gorr <siegmund.gorr@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'xmlsecurity')
-rw-r--r-- | xmlsecurity/source/gpg/SecurityEnvironment.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
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); |