mirror of
https://github.com/aziascreations/BakaShrot.git
synced 2026-11-23 20:58:46 +01:00
a4950844c6
- The identity extension's OID is 1.3.6.1.4.1.67681.1.1 (PEN 67681): certificates made with the placeholder aren't read any more, the warning of `bakashrot-cert` is gone. - A packet the server sends (an answer, an attachment's part, to a peer too) has 30 s: a client that stopped reading is dropped. - A peer using up a stream's ids: left as it is, why in known-issues.md. - Version 0.3.0. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
49 lines
1.9 KiB
Markdown
49 lines
1.9 KiB
Markdown
# The identity extension's OID
|
|
|
|
`IDENTITY_OID = 1.3.6.1.4.1.67681.1.1` (`crates/bakashrot-pki/src/lib.rs`),
|
|
since 0.3.0 (2026-11-16).
|
|
|
|
## The branches
|
|
|
|
NibblePoker's Private Enterprise Number (PEN) is **67681**, from IANA
|
|
(in the registry, <https://www.iana.org/assignments/enterprise-numbers/>,
|
|
checked 2026-11-16). One number for NibblePoker as a whole: every project
|
|
gets its own branch under it, recorded here. A number once given is never
|
|
reused.
|
|
|
|
| OID | What |
|
|
|---|---|
|
|
| `1.3.6.1.4.1.67681` | NibblePoker |
|
|
| `1.3.6.1.4.1.67681.1` | BakaShrot |
|
|
| `1.3.6.1.4.1.67681.1.1` | BakaShrot's identity extension |
|
|
|
|
## Why it never changes
|
|
|
|
Servers find a certificate's name and roles by its identity extension's
|
|
OID. Changing the OID makes every certificate issued before unreadable as
|
|
a BakaShrot identity: all of them would have to be issued again. What's
|
|
inside the extension can still change (its `version` field) without
|
|
touching the OID.
|
|
|
|
Within a deployment, only the CA's certificates are read, so another
|
|
extension using the same OID somewhere else can't confuse a server. The OID
|
|
mostly needs to be stable, and properly ours.
|
|
|
|
## Before 0.3.0: a placeholder
|
|
|
|
Up to 0.2.0 the OID was `1.3.6.1.4.1.32473.1.1`, under PEN 32473, "Example
|
|
Enterprise Number for Documentation Use" (RFC 5612), and `bakashrot-cert`
|
|
warned whenever it made a certificate. **Those certificates aren't read
|
|
any more** ("no BakaShrot identity"): make the CA's again or keep it (a
|
|
CA has no identity extension), issue every server's and node's again.
|
|
|
|
`OldSource/`'s UUID arc (`2.25.2320...0981`) couldn't be used: `rcgen`
|
|
writes OID parts of 64 bits at most, a UUID is 128.
|
|
|
|
## Changing the registration
|
|
|
|
The registry lists the organization, the contact's name and the contact's
|
|
email address. Changes (a new contact, an address) are asked for at
|
|
<https://pen.iana.org/pen/PenApplication.page> or iana-pen@iana.org, by
|
|
the contact.
|