1
0
mirror of https://github.com/aziascreations/BakaShrot.git synced 2026-11-23 20:58:46 +01:00
Files
BakaShrot/docs/oid.md
T
aziascreations a5a2f65442 Fixed two peers sending the same attachment at once, Noted the stream limits, Removed the PureBasic-era leftovers
- An attachment is received from one peer at a time: the others are
  refused NotReady and ask again at their next sync; one cut short lets
  the next one take it over
- A 'replicating' row with all its bytes but never checked is asked
  again from part 0, and a peer asking from the wrong part resets it
- Noted the stream limit (1,048,575 topic/node pairs, 2^43-1 message ids
  each) in the example config and known-issues.md
- Removed NoDefaultTopic (code 6, retired), Writer::vacuum, the v8
  detection and the old ini key tests
- Cleared the PureBasic-era notes from the docs, revamp.md keeping only
  the old open items still unfixed; noted the GUI explorer (egui)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 17:23:33 +01:00

37 lines
1.3 KiB
Markdown

# The identity extension's OID
`IDENTITY_OID = 1.3.6.1.4.1.67681.1.1` (`crates/bakashrot-pki/src/lib.rs`).
## 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.
## 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.