@blamejs/pki 0.1.11 → 0.1.12

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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All notable changes to `@blamejs/pki` are documented here. The format
4
4
  follows [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); this
5
5
  project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## v0.1.12 — 2026-07-05
8
+
9
+ SLH-DSA object identifiers corrected and completed to all twelve FIPS 205 parameter sets.
10
+
11
+ ### Fixed
12
+
13
+ - SLH-DSA OID resolution — id-slh-dsa-shake-128s and id-slh-dsa-shake-256s were mapped to the arcs of id-slh-dsa-sha2-256s (.24) and id-slh-dsa-shake-128f (.27), so pki.oid.name / pki.oid.byName resolved them incorrectly. All twelve Pure SLH-DSA parameter sets (sha2-128s/128f/192s/192f/256s/256f and shake-128s/128f/192s/192f/256s/256f) are now registered at their correct arcs .20 through .31 per RFC 9909 §3; the previously-absent nine sets now resolve as well. WebCrypto SLH-DSA sign/verify was unaffected — it selects by algorithm name, not through the OID registry.
14
+
7
15
  ## v0.1.11 — 2026-07-05
8
16
 
9
17
  An OCSP request and response parser joins the pki.schema family.
package/lib/oid.js CHANGED
@@ -118,10 +118,17 @@ var FAMILIES = {
118
118
  sha256: 1, sha384: 2, sha512: 3, "sha3-256": 8, "sha3-512": 10, shake256: 12 } },
119
119
 
120
120
  // NIST signature algorithms — FIPS 204 ML-DSA + FIPS 205 SLH-DSA share the
121
- // signature arc 2.16.840.1.101.3.4.3.
121
+ // signature arc 2.16.840.1.101.3.4.3. The 12 Pure SLH-DSA parameter sets are
122
+ // assigned sequentially (RFC 9909 §3): the SHA-2 sets .20-.25, then the SHAKE
123
+ // sets .26-.31.
122
124
  nistSig: { base: [2, 16, 840, 1, 101, 3, 4, 3], of: {
123
125
  "id-ml-dsa-44": 17, "id-ml-dsa-65": 18, "id-ml-dsa-87": 19,
124
- "id-slh-dsa-sha2-128s": 20, "id-slh-dsa-shake-128s": 24, "id-slh-dsa-shake-256s": 27 } },
126
+ "id-slh-dsa-sha2-128s": 20, "id-slh-dsa-sha2-128f": 21,
127
+ "id-slh-dsa-sha2-192s": 22, "id-slh-dsa-sha2-192f": 23,
128
+ "id-slh-dsa-sha2-256s": 24, "id-slh-dsa-sha2-256f": 25,
129
+ "id-slh-dsa-shake-128s": 26, "id-slh-dsa-shake-128f": 27,
130
+ "id-slh-dsa-shake-192s": 28, "id-slh-dsa-shake-192f": 29,
131
+ "id-slh-dsa-shake-256s": 30, "id-slh-dsa-shake-256f": 31 } },
125
132
 
126
133
  // NIST KEM — FIPS 203 ML-KEM (arc 2.16.840.1.101.3.4.4).
127
134
  nistKem: { base: [2, 16, 840, 1, 101, 3, 4, 4], of: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blamejs/pki",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
4
4
  "description": "Pure-JavaScript PKI toolkit that owns its stack — X.509, ASN.1/DER, CMS, PQC-first.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "blamejs contributors",
package/sbom.cdx.json CHANGED
@@ -2,10 +2,10 @@
2
2
  "$schema": "http://cyclonedx.org/schema/bom-1.5.schema.json",
3
3
  "bomFormat": "CycloneDX",
4
4
  "specVersion": "1.5",
5
- "serialNumber": "urn:uuid:f4519864-8754-4475-8ee0-b2556afddae1",
5
+ "serialNumber": "urn:uuid:88d4b070-1605-4f2d-84b3-a7851ac00842",
6
6
  "version": 1,
7
7
  "metadata": {
8
- "timestamp": "2026-07-05T20:10:05.842Z",
8
+ "timestamp": "2026-07-05T20:47:24.516Z",
9
9
  "lifecycles": [
10
10
  {
11
11
  "phase": "build"
@@ -19,14 +19,14 @@
19
19
  }
20
20
  ],
21
21
  "component": {
22
- "bom-ref": "@blamejs/pki@0.1.11",
22
+ "bom-ref": "@blamejs/pki@0.1.12",
23
23
  "type": "application",
24
24
  "name": "pki",
25
- "version": "0.1.11",
25
+ "version": "0.1.12",
26
26
  "scope": "required",
27
27
  "author": "blamejs contributors",
28
28
  "description": "Pure-JavaScript PKI toolkit that owns its stack — X.509, ASN.1/DER, CMS, PQC-first.",
29
- "purl": "pkg:npm/%40blamejs/pki@0.1.11",
29
+ "purl": "pkg:npm/%40blamejs/pki@0.1.12",
30
30
  "properties": [],
31
31
  "externalReferences": [
32
32
  {
@@ -54,7 +54,7 @@
54
54
  "components": [],
55
55
  "dependencies": [
56
56
  {
57
- "ref": "@blamejs/pki@0.1.11",
57
+ "ref": "@blamejs/pki@0.1.12",
58
58
  "dependsOn": []
59
59
  }
60
60
  ]