@motebit/crypto-appattest 1.0.0 → 1.0.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.
- package/README.md +3 -2
- package/dist/apple-root.d.ts +10 -3
- package/dist/apple-root.d.ts.map +1 -1
- package/dist/apple-root.js +10 -3
- package/dist/apple-root.js.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -36,10 +36,11 @@ A verifier that dynamically fetches CA certificates has no sovereign story. The
|
|
|
36
36
|
## Related
|
|
37
37
|
|
|
38
38
|
- [`@motebit/crypto`](https://www.npmjs.com/package/@motebit/crypto) — dispatcher (pure permissive-floor; zero deps)
|
|
39
|
-
- [`@motebit/crypto-
|
|
39
|
+
- [`@motebit/crypto-android-keystore`](https://www.npmjs.com/package/@motebit/crypto-android-keystore) — Android sibling (canonical sovereign-verifiable Android primitive)
|
|
40
40
|
- [`@motebit/crypto-tpm`](https://www.npmjs.com/package/@motebit/crypto-tpm) — TPM 2.0 sibling
|
|
41
41
|
- [`@motebit/crypto-webauthn`](https://www.npmjs.com/package/@motebit/crypto-webauthn) — browser sibling
|
|
42
|
-
- [`@motebit/
|
|
42
|
+
- [`@motebit/crypto-play-integrity`](https://www.npmjs.com/package/@motebit/crypto-play-integrity) — _(deprecated — see `crypto-android-keystore`)_
|
|
43
|
+
- [`@motebit/verify`](https://www.npmjs.com/package/@motebit/verify) — canonical CLI bundling the platform leaves with motebit defaults
|
|
43
44
|
|
|
44
45
|
## License
|
|
45
46
|
|
package/dist/apple-root.d.ts
CHANGED
|
@@ -25,9 +25,16 @@
|
|
|
25
25
|
* Apple App Attestation Root CA — the single pinned anchor this package
|
|
26
26
|
* chains App Attest leaves to.
|
|
27
27
|
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
28
|
+
* Source: https://www.apple.com/certificateauthority/Apple_App_Attestation_Root_CA.pem
|
|
29
|
+
* Subject: CN=Apple App Attestation Root CA, O=Apple Inc., ST=California
|
|
30
|
+
* SHA-256: 1cb9823ba28ba6ad2d33a006941de2ae4f513ef1d4e831b9f7e0fa7b6242c932
|
|
31
|
+
* Public key: ECDSA P-384
|
|
32
|
+
* Validity: 2020-03-18 → 2045-03-15
|
|
33
|
+
*
|
|
34
|
+
* Byte-for-byte match of Apple's published certificate. The fingerprint
|
|
35
|
+
* is the audit anchor — a third party that fetches the same Apple URL
|
|
36
|
+
* and computes its own SHA-256 should reach the byte-identical value
|
|
37
|
+
* above. Drift caught by `__tests__/apple-root.test.ts`.
|
|
31
38
|
*/
|
|
32
39
|
export declare const APPLE_APPATTEST_ROOT_PEM = "-----BEGIN CERTIFICATE-----\nMIICITCCAaegAwIBAgIQC/O+DvHN0uD7jG5yH2IXmDAKBggqhkjOPQQDAzBSMSYw\nJAYDVQQDDB1BcHBsZSBBcHAgQXR0ZXN0YXRpb24gUm9vdCBDQTETMBEGA1UECgwK\nQXBwbGUgSW5jLjETMBEGA1UECAwKQ2FsaWZvcm5pYTAeFw0yMDAzMTgxODMyNTNa\nFw00NTAzMTUwMDAwMDBaMFIxJjAkBgNVBAMMHUFwcGxlIEFwcCBBdHRlc3RhdGlv\nbiBSb290IENBMRMwEQYDVQQKDApBcHBsZSBJbmMuMRMwEQYDVQQIDApDYWxpZm9y\nbmlhMHYwEAYHKoZIzj0CAQYFK4EEACIDYgAERTHhmLW07ATaFQIEVwTtT4dyctdh\nNbJhFs/Ii2FdCgAHGbpphY3+d8qjuDngIN3WVhQUBHAoMeQ/cLiP1sOUtgjqK9au\nYen1mMEvRq9Sk3Jm5X8U62H+xTD3FE9TgS41o0IwQDAPBgNVHRMBAf8EBTADAQH/\nMB0GA1UdDgQWBBSskRBTM72+aEH/pwyp5frq5eWKoTAOBgNVHQ8BAf8EBAMCAQYw\nCgYIKoZIzj0EAwMDaAAwZQIwQgFGnByvsiVbpTKwSga0kP0e8EeDS4+sQmTvb7vn\n53O5+FRXgeLhpJ06ysC5PrOyAjEAp5U4xDgEgllF7En3VcE3iexZZtKeYnpqtijV\noyFraWVIyd/dganmrduC1bmTBGwD\n-----END CERTIFICATE-----\n";
|
|
33
40
|
/**
|
package/dist/apple-root.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apple-root.d.ts","sourceRoot":"","sources":["../src/apple-root.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH
|
|
1
|
+
{"version":3,"file":"apple-root.d.ts","sourceRoot":"","sources":["../src/apple-root.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,wBAAwB,izBAcpC,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,oBAAoB,CAAC"}
|
package/dist/apple-root.js
CHANGED
|
@@ -25,9 +25,16 @@
|
|
|
25
25
|
* Apple App Attestation Root CA — the single pinned anchor this package
|
|
26
26
|
* chains App Attest leaves to.
|
|
27
27
|
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
28
|
+
* Source: https://www.apple.com/certificateauthority/Apple_App_Attestation_Root_CA.pem
|
|
29
|
+
* Subject: CN=Apple App Attestation Root CA, O=Apple Inc., ST=California
|
|
30
|
+
* SHA-256: 1cb9823ba28ba6ad2d33a006941de2ae4f513ef1d4e831b9f7e0fa7b6242c932
|
|
31
|
+
* Public key: ECDSA P-384
|
|
32
|
+
* Validity: 2020-03-18 → 2045-03-15
|
|
33
|
+
*
|
|
34
|
+
* Byte-for-byte match of Apple's published certificate. The fingerprint
|
|
35
|
+
* is the audit anchor — a third party that fetches the same Apple URL
|
|
36
|
+
* and computes its own SHA-256 should reach the byte-identical value
|
|
37
|
+
* above. Drift caught by `__tests__/apple-root.test.ts`.
|
|
31
38
|
*/
|
|
32
39
|
export const APPLE_APPATTEST_ROOT_PEM = `-----BEGIN CERTIFICATE-----
|
|
33
40
|
MIICITCCAaegAwIBAgIQC/O+DvHN0uD7jG5yH2IXmDAKBggqhkjOPQQDAzBSMSYw
|
package/dist/apple-root.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apple-root.js","sourceRoot":"","sources":["../src/apple-root.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH
|
|
1
|
+
{"version":3,"file":"apple-root.js","sourceRoot":"","sources":["../src/apple-root.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AAEH;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;;;;;;;;;;;;;;CAcvC,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,iBAAiB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@motebit/crypto-appattest",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Apache-2.0 verifier for Apple App Attest hardware-attestation credentials — offline chain verification against the pinned Apple App Attest root CA. Plugs into @motebit/crypto's HardwareAttestationVerifiers dispatcher to validate iOS device-attested motebit identities.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -54,8 +54,8 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@peculiar/x509": "^1.12.0",
|
|
56
56
|
"cbor2": "^1.9.0",
|
|
57
|
-
"@motebit/protocol": "1.
|
|
58
|
-
"@motebit/crypto": "1.
|
|
57
|
+
"@motebit/protocol": "1.1.0",
|
|
58
|
+
"@motebit/crypto": "1.1.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@noble/curves": "~1.9.0",
|