1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-23 08:08:53 -05:00
Commit Graph

6090 Commits

Author SHA1 Message Date
Guus der Kinderen
f1197f143a for #1235: Double quote to prevent globbing and word splitting.
As per @horazont's feedback:
> Whenever you reference a variable ($foobar) and unless you know what you're doing, put it in double quotes.
2022-11-06 09:40:32 +01:00
Guus der Kinderen
7389c8a3e9 for #1235: Remove redundant braces in if-expression
As per @horazont's feedback:
> You do not need () around the command in an if. I think that causes a subshell to spawn, the effects of which I'm not certain about.

Further Googling suggests that the exit status of a pipeline is that of the most recently executed foreground pipeline, meaning that the exit code can be used directly in conditional statements.
2022-11-06 09:33:59 +01:00
Guus der Kinderen
d65a5b4c2f for #1235: Use set -euo pipefail instead of set -e
As per @horazont's feedback: `-u` shouts at you if you use an undefined variable (very useful to catch typos)
and `-o pipefail` improves error handling by also failing if any of the commands in a pipe fail.
2022-11-06 09:29:18 +01:00
Guus der Kinderen
a7149be8c0 fixes #1235: Script that validates XEP-0001 conformance
This adds a simple bash script that checks if a provided file (filename to be provided as first argument) conforms to XEP-0001.

Expected to be executed from the directory that holds all xep XML files.
Requires one argument: the file name of the xep to be validated, eg:

    $ tools/validate-xep0001-conformance.sh xep-0010.xml

exit status will be non-zero upon validation failure.

requires: bash, xmllint
2022-11-05 16:53:26 +01:00
Jonas Schäfer
8d1f8e0a30 Merge branch 'fix/docker-build' 2022-10-12 18:11:42 +02:00
Jonas Schäfer
59b2a5ca15
Revert "Add license for bibliographic data" 2022-10-12 18:11:08 +02:00
Jonas Schäfer
943d5373a7 Merge branch 'protoxep/social-feed' into premerge 2022-10-12 18:09:39 +02:00
Jonas Schäfer
5600afd2ad Fix various XML issues 2022-10-12 18:09:29 +02:00
Jonas Schäfer
2e8f8e129d Merge branch 'protoxep/sasl-scram-downgrade-protection' into premerge 2022-10-12 18:08:07 +02:00
Jonas Schäfer
a494b2f376 Merge branch 'protoxep/pubsub-encryption' into premerge 2022-10-12 18:08:01 +02:00
Matthew Wild
99beb3e42f
Merge pull request #1220 from Flowdalic/refs-license
Add license for bibliographic data
2022-10-12 14:18:38 +01:00
Jérôme Poisson
8c41ff5c61 protoXEP OpenPGP for XMPP Pubsub: version 0.0.6
- add forgotten "jid" and "node" attribute to <revoke/>
- clarify that <openpgp/> wrapper is used
2022-10-12 14:35:50 +02:00
Jérôme Poisson
19a87bfc38 protoXEP OpenPGP for XMPP Pubsub: version 0.0.5
- add forgotten "timestamp" in example
- add implementation node on double encryption
- add clarification that sender should be a node owner
2022-10-12 14:09:01 +02:00
Florian Schmaus
747738804a Add license for bibliographic data
We wheref asked [1] to state that the XEP bibliographic data is openly
available and free of charge if we want it to be consumed by third
parties.

Fixes #1219.

1: https://github.com/ietf-tools/bibxml-service/issues/302#issuecomment-1274686153
2022-10-12 08:39:34 +02:00
Thilo Molitor
56f884bdf2 New ProtoXEP: SASL SCRAM Downgrade Protection 2022-10-12 01:09:43 +02:00
Thilo Molitor
10898c0fcc Add referenced RFCs 2022-10-12 01:09:43 +02:00
Jérôme Poisson
e6e6cba2e5 protoXEP OpenPGP for XMPP Pubsub: version 0.0.4
add a security note to indicate that <shared-secret/> and <revoke/> sender must be checked.
2022-10-12 00:22:47 +02:00
Jérôme Poisson
bdadbb1fca protoXEP OpenPGP for XMPP Pubsub: version 0.0.3
- Base64 is not needed for the key (it's a passphrase)
- Specify that as least on <message/> should be encrypted for sender other devices
- Recommend minimum length for shared secret
2022-10-10 23:21:30 +02:00
Jérôme Poisson
e403e4e84e protoXEP OpenPGP for XMPP Pubsub: version 0.0.2
Remove useless reference to XEP-0374 + acknowledgements
2022-10-10 14:13:47 +02:00
Jérôme Poisson
b06ddd6b8c Add ProtoXEP: OpenPGP for XMPP Pubsub
Specifies an OpenPGP for XMPP (XEP-0373) profile for the pubsub use case.
2022-10-09 22:33:55 +02:00
Timothée Jaussoin
93a3b70196 ProtoXEP: Pubsub Social Feed
This specification defines a way of publishing social content over XMPP.
2022-09-26 09:47:46 +02:00
Jonas Schäfer
45c2d1e8be Merge branch 'protoxep/pubsub-events' into premerge 2022-09-23 17:43:05 +02:00
Jonas Schäfer
fe84cb2276 Fix build error for real 2022-09-23 17:42:50 +02:00
Jonas Schäfer
faa1e85be6 Revert "Fix build error"
This reverts commit 763c540f82.
2022-09-23 17:42:21 +02:00
Jonas Schäfer
0cbf5487a8 Merge branch 'protoxep/pubsub-events' into premerge 2022-09-23 17:41:40 +02:00
Jonas Schäfer
763c540f82 Fix build error 2022-09-23 17:41:29 +02:00
Jonas Schäfer
aecee26322 Merge branch 'xep-0440' into premerge 2022-09-23 17:35:01 +02:00
Jonas Schäfer
453048ec90 Merge branch 'feature/entity-for-tmolitor' into premerge 2022-09-23 17:34:32 +02:00
Jonas Schäfer
646c9808e4 Merge branch 'xep-0029' into premerge 2022-09-23 17:34:00 +02:00
Jonas Schäfer
6aa697d34d XEP-0029: add revision block 2022-09-23 17:33:48 +02:00
Jonas Schäfer
4a55400000 Merge branch 'protoxep/pubsub-events' into premerge 2022-09-23 17:31:51 +02:00
Jonas Schäfer
a31fc0dd01 Merge branch 'xep-0264' into premerge 2022-09-23 17:31:22 +02:00
Daniel Gultsch
78bbafa14f XEP-0440 - make channel-binding a top level stream feature 2022-09-21 16:16:20 +02:00
Thilo Molitor
f37e8e4928 Use tmolitor author-entity in XEP-0353 2022-09-18 21:35:23 +02:00
Thilo Molitor
98e2855e2d Add tmolitor xml entity for <author/> 2022-09-18 21:28:44 +02:00
Guus der Kinderen
2d5f923432 XEP-0029: Use RFC 7622 instead of RFC 6122 to supersede
RFC 7622 obsoletes RFC 6122. It stands to reason that XEPs that are marked as being superseded by the former should be updated to be superseded by the latter.
2022-09-15 10:34:22 +02:00
Jérôme Poisson
70bcac2109 protoXEP Events: add missing dependencies 2022-09-09 14:23:53 +02:00
Jérôme Poisson
684168f09c protoXEP events: spelling/grammar fixes 2022-09-09 14:20:33 +02:00
Jérôme Poisson
2d0e9a5fab Add ProtoXEP: Events
This specification describe how to handle events with XMPP.
2022-09-08 22:28:59 +02:00
Linus Jahn
a274138972 XEP-0264: Fix missing namespace bump in schema 2022-09-05 21:25:08 +02:00
Jonas Schäfer
4045ce619c Merge branch 'xep-0440' into premerge 2022-08-30 15:40:11 +02:00
Jonas Schäfer
8a7977814e Merge branch 'xep-0294' into premerge 2022-08-30 15:39:33 +02:00
Jonas Schäfer
97d8536368 Merge branch 'xep-0293' into premerge 2022-08-30 15:38:55 +02:00
Jonas Schäfer
11d6b39b1b Merge branch 'xep-0470' into premerge 2022-08-30 15:38:21 +02:00
Jonas Schäfer
7102cdccbb Merge branch 'xep-0272' into premerge 2022-08-30 15:37:39 +02:00
Jonas Schäfer
0d16e34998 Merge branch 'xep-0448' into premerge 2022-08-30 15:35:49 +02:00
Jonas Schäfer
f97a13458a Merge branch 'xep-0446' into premerge 2022-08-30 15:35:20 +02:00
Jonas Schäfer
7f22e9863a Merge branch 'xep-0405' into premerge 2022-08-30 15:33:54 +02:00
Jonas Schäfer
ef599c41d7 Merge branch 'xep-0231' into premerge 2022-08-30 15:29:25 +02:00
Thilo Molitor
f793326085 Add changelog entry 2022-08-29 19:57:01 +02:00