Commit b5152495 authored by Heiko Reese's avatar Heiko Reese
Browse files

Removed filter criterion from public search, fixes #32

parent 1433523a
......@@ -243,10 +243,12 @@ func MakePublicSearchFilter(query string, visibilityWatcher *AttributeState) SCF
if len(c.EmailAddresses) < 1 {
return false
}
/* 2017-06-03: disabled, this excludes some legitimate email certs (for example 6912340332260791)
// check if the KeyEncipherment KeyUsage bit is set
if c.rawCertificate.KeyUsage&x509.KeyUsageKeyEncipherment != x509.KeyUsageKeyEncipherment {
return false
}
*/
// check if ExtendedKeyUsage contains EmailProtection
foundEmailProtection := false
for _, extension := range c.rawCertificate.ExtKeyUsage {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment