You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use one canonical name per PSK category (long-term PSK / pairing PSK / sentinel PSK) #141
The three PSKs are difficult to identify. This is the most complex part of the spec. Two of the three PSKs have more than one name.
connection.md already gives the category names: "(long-term, Pairing, Sentinel)". The prose does not use them.
Change
Use one name for each category. The names agree with the wire identifiers.
Current name
Locations
New name
Sendspin PSK
7
long-term PSK
long-term Sendspin PSK
6
long-term PSK
long-term PSK
5
no change, becomes the standard name
per-server PSK
2
long-term PSK
per-pair Sendspin PSK
1
long-term PSK
Sendspin Pairing PSK
6
pairing PSK
Pairing PSK
24
pairing PSK
Sentinel PSK
18
no change
The change affects approximately 22 locations in template.md, connection.md, messaging.md, pairing.md and management.md. The role files do not refer to a PSK.
The change does not affect the wire. The names agree with long_term_psk, pairing_psk and the constant sendspin-sentinel-psk-v1.
Alternatives that we do not recommend
Do not remove the suffix "PSK", for example "pairing key". These keys are the Noise PSK input to KKpsk2. The psk_id procedures use the term "PSK". The name "pairing key" also points to the wrong PSK.
Do not change "Sentinel" to "unpaired PSK". The term is correct, and all 18 locations use it. It also agrees with the published label constant.
Correction to make at the same time
Do not use "per-pair" as the standard name. With a shared-PSK record, one long-term PSK can authenticate more than one server.
The definition "shared between a (client, server) pair" has the same error.
Activity
arturpragacz commentedon Aug 18, 2026
Makes sense.
refactor: drop the Sendspin prefix from defined terms (#162)
docs: record the editorial rules in CONTRIBUTING.md (#165)