Discussion:
[Sks-devel] Hiding revoked keys in generated webpages
Gunnar Wolf
2017-01-25 19:20:51 UTC
Permalink
Hi,

I know this is most likely undoable (unless I do some ugly
post-parsing to the HTML before sending it to the user), but I'll ask
anyway: I just sent another message "motivated" by the Evil32
keys. This one follows the same motivator.

Users of SKS are generally not interested in revoked keys. I would
like to have an option for hiding (or at least styling — Both could be
achieved by CSS) revoked keys from the listing. Unfortunately, the
listing is not generated from a template (as the index is), but
hardwired in the source, in htmlTemplates.ml

Now, speaking as a complete OCaml non-user, would the developers be
interested in me patching this file to generate a more CSS-friendly
output? Or is there any other way to achieve what I'm looking for?

Thanks,
Kristian Fiskerstrand
2017-01-25 19:25:04 UTC
Permalink
Post by Gunnar Wolf
Hi,
I know this is most likely undoable (unless I do some ugly
post-parsing to the HTML before sending it to the user), but I'll ask
anyway: I just sent another message "motivated" by the Evil32
keys. This one follows the same motivator.
Users of SKS are generally not interested in revoked keys. I would
like to have an option for hiding (or at least styling — Both could be
achieved by CSS) revoked keys from the listing. Unfortunately, the
listing is not generated from a template (as the index is), but
hardwired in the source, in htmlTemplates.ml
no cryptographic verification is done by the keyserver, this opens up a
denial of service whereby a non-valid revocation certificate is uploaded
to the keyserver. Users should download the keys and verify the
self-signatures using local software.
Post by Gunnar Wolf
Now, speaking as a complete OCaml non-user, would the developers be
interested in me patching this file to generate a more CSS-friendly
output? Or is there any other way to achieve what I'm looking for?
I don't really like people browsing the keyservers by hand without
understanding the implications to begin with, making it more "user
friendly" seems counter intuitive in that context.
--
----------------------------
Kristian Fiskerstrand
Blog: https://blog.sumptuouscapital.com
Twitter: @krifisk
----------------------------
Public OpenPGP keyblock at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3
----------------------------
Docendo discimus
We learn by teaching
Loading...