From d78a3a3a0fb71540f5dca92711a3503153e24727 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Sch=C3=A4fer?= Date: Tue, 20 Dec 2022 18:43:04 +0100 Subject: [PATCH] Accept inbox/pubsub-signing-openpgp.xml as XEP-0476 --- xep-0476.xml | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++ xep.ent | 1 + 2 files changed, 112 insertions(+) create mode 100644 xep-0476.xml diff --git a/xep-0476.xml b/xep-0476.xml new file mode 100644 index 00000000..7bb6fdd4 --- /dev/null +++ b/xep-0476.xml @@ -0,0 +1,111 @@ + + +%ents; +]> + + +
+ Pubsub Signing: OpenPGP Profile + Specifies a pubsub signing profile for OpenPGP + &LEGALNOTICE; + 0476 + Experimental + Standards Track + Standards + Council + + XMPP Core + XEP-0001 + XEP-0004 + XEP-0060 + XEP-0373 + + + + pss-ox + + Jérôme + Poisson + goffi@goffi.org + goffi@jabber.fr + + + 0.1.0 + 2022-12-20 + XEP Editor (jsc) + Accepted by vote of Council on 2022-11-30. + + + 0.0.1 + 2022-10-29 + jp +

First draft.

+
+
+ +

This XMPP extension protocol specifies a profile of Pubsub Signing to use OpenPGP for signature.

+
+ +

Signing an item with OpenPGP requires to have &xep0373; implemented to handle keys, however this specification uses its own <sign/> element because it uses wrapper element from Pubsub Signing XEP, and signed data MUST NOT be included with the signature.

+

To sign an element, a client process as explained in XEP-0XXX § Signing a Pubsub Item where the "signing profile" element used is a <sign/> element qualified by the 'urn:xmpp:pubsub-signing:openpgp:0' namespace. This element MUST contain a Base64 encoded (&rfc4648; § 4) OpenPGP message as specified in &rfc4880; which MUST contain a detached signature as defined in &rfc4880; § 11.4 of the signed data as specified in XEP-0XXX § Signing a Pubsub Item.

+ + + + + + + + + + + + + + ]]> +
+ + +

If a client supports the protocol specified in this XEP, it MUST advertise it by including the "urn:xmpp:pubsub-signing:openpgp:0" discovery feature in response to a &xep0030; information request:

+ + + +]]> + + + ... + + ... + +]]> +
+ + +

Security considerations of &xep0373; and XEP-0XXX apply.

+
+ + +

TODO

+
+ +

TODO

+
+ +

TODO

+
+ +

Thanks to NLnet foundation/NGI0 Discovery for funding.

+
+
diff --git a/xep.ent b/xep.ent index b620c7ab..d7f49577 100644 --- a/xep.ent +++ b/xep.ent @@ -1671,3 +1671,4 @@ IANA Service Location Protocol, Version 2 (SLPv2) Templates OpenPGP for XMPP Pubsub (XEP-0473) XEP-0473: OpenPGP for XMPP Pubsub <https://xmpp.org/extensions/xep-0473.html>." > SASL SCRAM Downgrade Protection (XEP-0474) XEP-0474: SASL SCRAM Downgrade Protection <https://xmpp.org/extensions/xep-0474.html>." > Pubsub Signing (XEP-0475) XEP-0475: Pubsub Signing <https://xmpp.org/extensions/xep-0475.html>." > +Pubsub Signing: OpenPGP Profile (XEP-0476) XEP-0476: Pubsub Signing: OpenPGP Profile <https://xmpp.org/extensions/xep-0476.html>." >