diff --git a/inbox/gre-encrypter-openpgp.xml b/inbox/gre-encrypter-openpgp.xml new file mode 100644 index 00000000..d349c201 --- /dev/null +++ b/inbox/gre-encrypter-openpgp.xml @@ -0,0 +1,106 @@ + + +%ents; +]> + + +
+ GRE Encrypter: OpenPGP + This GRE Encrypter uses OpenPGP to encrypt payload. + + &LEGALNOTICE; + xxxx + ProtoXEP + Standards Track + Standards + Council + + XMPP Core + XEP-0001 + XEP-0373 + + + + gre-encrypter-openpgp + + gre + encrypter + + + Jérôme + Poisson + goffi@goffi.org + goffi@jabber.fr + + + 0.0.1 + 2025-01-12 + jp +

First draft.

+
+
+ + +

This XEP defines a GRE Encrypter that uses OpenPGP. It is based on &xep0373; and uses the mechanisms defined there to handle keys.

+
+ + +

The design goals of this GRE Encrypter are:

+ +
+ + +

The encryption process using OpenPGP involves the following steps:

+
    +
  1. Data Preparation: The client prepares the data to be encrypted according to the specified formatter.
  2. +
  3. Key Exchange: The client retrieves or generates the necessary public key(s) from the gateway as specified in &xep0373;.
  4. +
  5. Encryption: The payload is encrypted using OpenPGP's public key(s) of recipient(s).
  6. +
  7. Payload Construction: The encrypted data is encoded using base64 then wrapped in the <encrypted/> element as described in XEP-0XXX: Gateway Relayed Encryption, with appropriate attributes for formatter and encrypter namespaces.
  8. +
+
+ + +

If an entity supports the MIME GRE Formatter, it MUST advertise it by including the "urn:xmpp:gre:encrypter:openpgp:0" discovery feature in response to a &xep0030; information request.

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

The security consideration of &xep0373; apply.

+
+ + +

This document does not require interaction with &IANA;.

+
+ + +

TODO

+
+ + +

Thanks to NLNet foundation/NGI Zero Core for funding the work on this specification.

+
+ +