pirc-extension 0.3.13 → 0.4.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ Copyright (c) 2026 Justino Ltd
4
4
  PiRC is open source, under three licences by part:
5
5
 
6
6
  - MIT (LICENSE): the pi extension (extension/), the code it shares
7
- with clients (proto/, protocol/, crypto/, relay-client/, cases/), the push
7
+ with clients (proto/, protocol/, relay-client/, cases/), the push
8
8
  gateway (relay/cmd/pirc-gateway, relay/internal/gateway), and the
9
9
  rest of the repository.
10
10
  - AGPL-3.0 only: the relay (relay/cmd/pirc-relay, relay/internal/server,
@@ -21,29 +21,24 @@ Code adapted from other projects
21
21
  Anything adapted keeps its project's copyright notice and is listed here
22
22
  and in docs/design.md, section 11, with the upstream commit it came from.
23
23
 
24
- - third_party/dart-cryptography/: the Dart package cryptography 2.9.0, as
25
- published on pub.dev (https://github.com/dint-dev/cryptography),
26
- Copyright 2019-2020 Gohilla. Apache-2.0. Two lines changed, to fix
27
- Ed25519's point comparison (README.pirc.md and equals-y.patch there).
28
- The mobile app uses it in place of the published package.
24
+ Nothing at present.
29
25
 
30
26
  Test vectors from other projects
31
27
  --------------------------------
32
28
 
33
- cases/e2e/ holds test data from elsewhere, in no release:
34
-
35
- - ed25519.json: the 12 vectors of ed25519-speccheck, commit
36
- 65519336fda78a3d016e947df6d82848aca0c9da
37
- (https://github.com/novifinancial/ed25519-speccheck), Copyright (c)
38
- Facebook, Inc. and its affiliates. Apache-2.0:
39
- third_party/ed25519-speccheck/
40
- - hpke.json: one vector of the CFRG's HPKE test-vectors.json, commit
41
- b1f7cb0cdeab6906c61b3d6574e8bdfdbe1cd3fb
42
- (https://github.com/cfrg/draft-irtf-cfrg-hpke), published with
43
- RFC 9180.
44
- - cpace.json: the test vectors of draft-irtf-cfrg-cpace-21, appendix B.1,
45
- code components of an IETF document under the Revised BSD License
46
- (IETF Trust Legal Provisions, section 4).
29
+ cases/noise/ holds Noise test vectors copied unchanged, each file naming
30
+ its source, commit and licence:
31
+
32
+ - cacophony.json: from cacophony
33
+ (https://github.com/haskell-cryptography/cacophony),
34
+ vectors/cacophony.txt at 8ee9d41e34a1a596cfa3ab12aa4069ff87dc1247,
35
+ the IK and XXpsk3 vectors for 25519, ChaChaPoly and SHA512. Released
36
+ into the public domain (the Unlicense).
37
+ - snow.json: from snow (https://github.com/mcginty/snow),
38
+ tests/vectors/snow.txt at 8ac60f51cfe3e010c84f0a454cc575ad9204fa12
39
+ (version 0.10.0), the IK vector for 25519, ChaChaPoly and SHA512.
40
+ Copyright (c) 2021 Jake McGinty. MIT OR Apache-2.0, taken under MIT:
41
+ cases/noise/snow.LICENSE.
47
42
 
48
43
  Third-party code in PiRC's releases
49
44
  -----------------------------------
@@ -61,6 +56,8 @@ pirc-relay (Go):
61
56
  third_party/golang.org-x/
62
57
  - github.com/coder/websocket 1.8.15, Copyright (c) 2025 Coder. ISC:
63
58
  third_party/coder-websocket/
59
+ - github.com/pires/go-proxyproto 0.11.0, Copyright 2016 Paulo Pires.
60
+ Apache-2.0: third_party/pires-go-proxyproto/
64
61
  - google.golang.org/protobuf 1.36.12, Copyright (c) 2018 The Go
65
62
  Authors. BSD-3-Clause, with a patent grant: third_party/go-protobuf/
66
63
  - rsc.io/qr 0.2.0, Copyright (c) 2009 The Go Authors. BSD-3-Clause:
@@ -76,6 +73,12 @@ The pi extension (a JavaScript bundle):
76
73
  - ws 8.22.0, Copyright (c) 2011 Einar Otto Stangvik, (c) 2013 Arnout
77
74
  Kazemier and contributors, (c) 2016 Luigi Pinca and contributors. MIT:
78
75
  third_party/ws/
76
+ - libsodium-wrappers-sumo and libsodium-sumo 0.8.4 (libsodium.js),
77
+ Copyright (c) 2015-2026 Ahmad Ben Mrad, Frank Denis and Ryan Lester,
78
+ with the libsodium it carries, Copyright (c) 2013-2026 Frank Denis.
79
+ ISC: third_party/libsodium-js/
80
+ - uqr 0.1.3, Copyright (c) Project Nayuki, (c) 2023 Anthony Fu. MIT:
81
+ third_party/uqr/
79
82
 
80
83
  The web app (its server's JavaScript bundle and its page): far more
81
84
  packages, so each build lists those it carries, with every licence in
@@ -88,9 +91,10 @@ Geist, Geist Mono and IBM Plex Sans, are under the SIL Open Font License
88
91
  1.1 and are listed there with it.
89
92
 
90
93
  The mobile app (app/): its Dart and Flutter packages, among them image,
91
- re_highlight, mobile_scanner, qr and cryptography (from
92
- third_party/dart-cryptography/, above), and Flutter's engine and framework,
93
- each with its licence in full, are listed in the NOTICES file that
94
+ re_highlight, mobile_scanner, qr, cryptography and sodium (whose licence
95
+ file carries that of libsodium, which it builds into the app), and
96
+ Flutter's engine
97
+ and framework, each with its licence in full, are listed in the NOTICES file that
94
98
  Flutter's build writes from the packages themselves and ships inside every
95
99
  build of the app (flutter_assets/NOTICES.Z, read by the framework's
96
100
  LicenseRegistry). The Android libraries Gradle adds (AndroidX, Firebase
@@ -100,3 +104,11 @@ licences in full in a file each Android release build writes from its own
100
104
  dependencies (app/android/app/build.gradle.kts, the texts in
101
105
  app/android/notices/), shipped in the app as pirc/android_notices.json
102
106
  and shown on the same Licences page.
107
+
108
+ The iOS notification extension (app/ios/PircNotices) builds in two Swift
109
+ packages: SwiftProtobuf 1.39.0, Copyright Apple Inc. and the project
110
+ authors, Apache-2.0 with its Runtime Library Exception, under which the
111
+ binary needs no attribution; and swift-sodium at fbe072d, Copyright (c)
112
+ 2014-2026 Frank Denis, ISC, with the libsodium 1.0.22 it carries, under
113
+ the same licence from the same author, whose text the app's Licences page
114
+ shows with the Dart sodium package's.