[Standards] XEP0384 OMEMO pubsub#publish-options clarification

Daniel Gultsch daniel at gultsch.de
Sat Aug 8 07:16:13 UTC 2020

Am Sa., 8. Aug. 2020 um 07:13 Uhr schrieb Daniel Gultsch <daniel at gultsch.de>:
> Am Sa., 8. Aug. 2020 um 07:07 Uhr schrieb Ruslan N. Marchenko <me at ruff.mobi>:
> >
> > Hi Standards,
> >
> > I'm trying to extend PEP server implementation to support OMEMO and
> > stumbled upon following issue: the OMEMO 5.3.2 stipulates the max_items
> > should be specified in the publish-options form, however neither form
> > registry nor XEP-0060 allow anything but access-model in the publishing
> > options.
> >
> > Is it my mis-interpretation of the form registry enforcement or OMEMO
> > needs to add a statement that it is going to extend the registery with
> > additional fields?
> >
> > I.e. I know the form can contain any arbitrary data just wonder if any
> > implementation applies some additional validation of the publish
> > options which may lead to iq errors.

Sorry. I hit send too early.

Yes XEP-0060 mandates very specific rules on when to IQ-error out.
(Essentially each time it can’t match a publish-option to a
corresponding node configuration.) It explicitly states that you can’t
just ignore unknown options.

> it MUST reject the publication upon encountering unknown fields.

More information about the Standards mailing list