Guus der Kinderen
fbc0072c92
for #1235 : fix incorrect exemption for XEP-0143
2022-11-06 20:31:58 +01:00
Guus der Kinderen
bee4c93cd3
for #1235 : Do not exit script when XPATH yields no result
...
xmllint will return exit code 10 when an XPATH query finds no matches. With the changes in this commit, the script isn't stopped. Instead, it uses an empty value, which is likely to cause the validation checks (further down in the script) to fail.
2022-11-06 20:08:15 +01:00
Guus der Kinderen
028fd1a685
for #1235 : Add legal notice validation
...
This adds a check for the usage of the _entity reference_ that is the legal notice.
2022-11-06 19:20:34 +01:00
Guus der Kinderen
56cef32c91
for #1235 : Add header type validation.
2022-11-06 11:11:13 +01:00
Guus der Kinderen
da76032e24
for #1235 : Add revision block version validation.
2022-11-06 10:40:02 +01:00
Guus der Kinderen
269e4d620a
for #1235 : Add xep.xsl XML stylesheet usage validation
2022-11-06 10:14:54 +01:00
Guus der Kinderen
3f6f199159
for #1235 : variable casing to conform to convention
2022-11-06 09:45:33 +01:00
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