1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-25 02:32:18 -05:00
Commit Graph

6312 Commits

Author SHA1 Message Date
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
Maxime “pep” Buquet
8eb047a669
xep.xsl: Replace shtml link to community page
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-03 11:38:32 +01:00
Maxime “pep” Buquet
56c6de9da4
XEP-0148: Update revision to 1.1
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-03 11:37:57 +01:00
Maxime “pep” Buquet
31a3d44c93
XEP-0148: Replace shtml link
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-03 11:36:37 +01:00
Maxime “pep” Buquet
4d763ee885
XEP-0019: Update revision to 1.1
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-03 11:34:29 +01:00
Maxime “pep” Buquet
8357895b9e
XEP-0019: Replace shtml link
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-03 11:33:36 +01:00
Maxime “pep” Buquet
c97f8243a3
LICENSE: Replace shtml link
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-11-03 11:27:48 +01:00
Thilo Molitor
3b781795d0 New ProtoXEP: SASL2 SCRAM upgrade task 2022-11-03 01:47:31 +01:00
Matthew Wild
8182f580d3 New ProtoXEP: Fast Authentication Streamlining Tokens 2022-11-02 13:55:58 +00:00
Jérôme Poisson
7fa7c65812 Add ProtoXEP: Pubsub Targeted Encryption
Specifies a way to encrypt pubsub items for a restricted set of entities
2022-10-31 14:53:41 +01:00
Jérôme Poisson
5f201a973f Add ProtoXEP: Pubsub Signing: OpenPGP Profile
Specifies a pubsub signing profile for OpenPGP
2022-10-29 23:00:31 +02:00
Jérôme Poisson
72f6b99fc8 ProtoXEP Pubsub Signing: version 0.0.2
- replaced "signatory" term with the more commonly used "signer"
- added <to/> and <time/> elements (similar to XEP-0373)
2022-10-20 16:08:21 +02:00
Jérôme Poisson
03f89d8d7c Add ProtoXEP: Pubsub Signing
Specifies a mechanism to sign pubsub items
2022-10-17 11:41:12 +02: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
Matthew Wild
99bc9b8840 XEP-0386: New revision v0.4.0
This is an extensive update that goes along with the new XEP-0388 (SASL2)
updates. See revision block for a more detailed change list.
2022-10-10 17:17:04 +01: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
Maxime “pep” Buquet
b47dd8ac17
XEP-0045: Remove more of GC1
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
2022-10-05 16:45:37 +02:00
Melvin Keskin
abff654119
XEP-0167: Release version 1.2.2
Specify attribute 'name' of 'mute' and 'unmute' elements as optional in schema
2022-09-26 15:50:57 +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