OpenPGP improvements for people (#50)
continuous-integration/drone/push Build is passing

Two new fields have been added to person elements:
 * fingerprint
 * keyhref

fingerprint takes a hexadecimal OpenPGP key fingerprint without any
spaces, converts this to an openpgp4fpr URI, and adds a link pointing to
this URI to the person's profile.

keyhref takes a URL to a plain-text, ASCII-armoured OpenPGP public key
and adds a link pointing to the URL to the person's profile.

These fields are not yet explicitly restricted to valid contents.

fingerprints and keyhrefs have been added for all team members whose
keys are stored in the repository or securely linked to from their
profile page. It was not possible to determine Greve's preferred key, so
fingerprint was omitted for Greve.
This commit is contained in:
2020-10-01 00:48:46 +00:00
parent cc3d4eae7e
commit eca4835c72
3 changed files with 34 additions and 1 deletions
+12
View File
@@ -140,6 +140,18 @@
<xsl:if test="email != ''">
<xsl:value-of select="email" />
</xsl:if>
<xsl:if test="fingerprint != ''">
<xsl:element name="a">
<xsl:attribute name="href">openpgp4fpr:<xsl:value-of select="fingerprint" /></xsl:attribute>
🐾
</xsl:element>
</xsl:if>
<xsl:if test="keyhref != ''">
<xsl:element name="a">
<xsl:attribute name="href"><xsl:value-of select="keyhref" /></xsl:attribute>
🔑
</xsl:element>
</xsl:if>
</xsl:element>
<!-- Functions -->