@naylence/advanced-security 0.3.7-test.127 → 0.3.7-test.129

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.
Files changed (25) hide show
  1. package/dist/browser/index.cjs +70 -13
  2. package/dist/browser/index.mjs +70 -13
  3. package/dist/cjs/naylence/fame/security/cert/default-ca-service.js +22 -1
  4. package/dist/cjs/naylence/fame/security/cert/default-ca-service.js.map +1 -1
  5. package/dist/cjs/naylence/fame/security/cert/default-certificate-manager-factory.js +6 -3
  6. package/dist/cjs/naylence/fame/security/cert/default-certificate-manager-factory.js.map +1 -1
  7. package/dist/cjs/naylence/fame/security/cert/trust-store/http-bundle-provider.js +40 -7
  8. package/dist/cjs/naylence/fame/security/cert/trust-store/http-bundle-provider.js.map +1 -1
  9. package/dist/cjs/version.js +2 -2
  10. package/dist/esm/naylence/fame/security/cert/default-ca-service.js +22 -1
  11. package/dist/esm/naylence/fame/security/cert/default-ca-service.js.map +1 -1
  12. package/dist/esm/naylence/fame/security/cert/default-certificate-manager-factory.js +6 -3
  13. package/dist/esm/naylence/fame/security/cert/default-certificate-manager-factory.js.map +1 -1
  14. package/dist/esm/naylence/fame/security/cert/trust-store/http-bundle-provider.js +40 -7
  15. package/dist/esm/naylence/fame/security/cert/trust-store/http-bundle-provider.js.map +1 -1
  16. package/dist/esm/version.js +2 -2
  17. package/dist/node/index.cjs +70 -13
  18. package/dist/node/index.mjs +70 -13
  19. package/dist/node/node.cjs +70 -13
  20. package/dist/node/node.mjs +70 -13
  21. package/dist/types/naylence/fame/security/cert/default-certificate-manager-factory.d.ts +1 -1
  22. package/dist/types/naylence/fame/security/cert/default-certificate-manager-factory.d.ts.map +1 -1
  23. package/dist/types/naylence/fame/security/cert/trust-store/http-bundle-provider.d.ts.map +1 -1
  24. package/dist/types/version.d.ts +1 -1
  25. package/package.json +2 -2
@@ -17,12 +17,12 @@ var factory = require('@naylence/factory');
17
17
  var sha256_js = require('@noble/hashes/sha256.js');
18
18
 
19
19
  // This file is auto-generated during build - do not edit manually
20
- // Generated from package.json version: 0.3.7-test.127
20
+ // Generated from package.json version: 0.3.7-test.129
21
21
  /**
22
22
  * The package version, injected at build time.
23
23
  * @internal
24
24
  */
25
- const VERSION = '0.3.7-test.127';
25
+ const VERSION = '0.3.7-test.129';
26
26
 
27
27
  const logger$h = runtime.getLogger("naylence.fame.security.cert.util");
28
28
  const CACHE_LIMIT = 512;
@@ -7457,7 +7457,7 @@ function normalizeSigning(config, explicit) {
7457
7457
  }
7458
7458
  return null;
7459
7459
  }
7460
- function normalizeOptions(config, securitySettings, signing) {
7460
+ function normalizeOptions(config, securitySettings, signing, trustStorePem) {
7461
7461
  const caServiceUrl = config.caServiceUrl ?? config.ca_service_url ?? null;
7462
7462
  const cryptoProvider = config.cryptoProvider ?? config.crypto_provider ?? null;
7463
7463
  return {
@@ -7465,6 +7465,7 @@ function normalizeOptions(config, securitySettings, signing) {
7465
7465
  signing,
7466
7466
  caServiceUrl,
7467
7467
  cryptoProvider,
7468
+ trustStorePem,
7468
7469
  };
7469
7470
  }
7470
7471
  class DefaultCertificateManagerFactory extends runtime.CertificateManagerFactory {
@@ -7474,11 +7475,13 @@ class DefaultCertificateManagerFactory extends runtime.CertificateManagerFactory
7474
7475
  this.isDefault = true;
7475
7476
  this.priority = 100;
7476
7477
  }
7477
- async create(config, securitySettings, signing, ..._factoryArgs) {
7478
+ async create(config, securitySettings, signing, ...factoryArgs) {
7478
7479
  const normalizedConfig = normalizeConfig$1(config);
7479
7480
  const resolvedSecuritySettings = normalizeSecuritySettings(normalizedConfig, securitySettings ?? null);
7480
7481
  const resolvedSigning = normalizeSigning(normalizedConfig, signing ?? null);
7481
- const options = normalizeOptions(normalizedConfig, resolvedSecuritySettings, resolvedSigning);
7482
+ // Extract trust store PEM resolver from factoryArgs if provided
7483
+ const trustStorePemResolver = factoryArgs[0];
7484
+ const options = normalizeOptions(normalizedConfig, resolvedSecuritySettings, resolvedSigning, trustStorePemResolver ?? null);
7482
7485
  return new DefaultCertificateManager(options);
7483
7486
  }
7484
7487
  }
@@ -7822,22 +7825,55 @@ class HttpBundleProvider {
7822
7825
  if (pins && !pins.includes(hash)) {
7823
7826
  throw new Error("Trust bundle hash mismatch");
7824
7827
  }
7828
+ const bundle = parseBundlePayload(payload, this.url.href);
7829
+ // Version-based updates: if bundle has version field and it increased, allow hash change
7830
+ const isVersionUpgrade = bundle.version !== null && this.version !== null && bundle.version > this.version;
7825
7831
  let expectedHash = pins ? hash : null;
7826
7832
  if (!pins) {
7827
- if (this.lastKnownHash) {
7828
- if (this.lastKnownHash !== hash) {
7829
- throw new Error("Trust bundle hash changed without pin");
7833
+ if (this.allowTofu) {
7834
+ // TOFU mode: trust on first use, or if version increased
7835
+ if (!this.lastKnownHash || isVersionUpgrade) {
7836
+ expectedHash = hash;
7837
+ if (this.lastKnownHash && this.lastKnownHash !== hash && isVersionUpgrade) {
7838
+ logger.info("trust_bundle_updated_via_version", {
7839
+ url: this.url.href,
7840
+ previousVersion: this.version,
7841
+ newVersion: bundle.version,
7842
+ previousHash: this.lastKnownHash,
7843
+ newHash: hash,
7844
+ });
7845
+ }
7846
+ }
7847
+ else if (this.lastKnownHash !== hash) {
7848
+ throw new Error("Trust bundle hash changed without version upgrade");
7849
+ }
7850
+ else {
7851
+ expectedHash = hash;
7830
7852
  }
7831
- expectedHash = hash;
7832
7853
  }
7833
- else if (this.allowTofu) {
7834
- expectedHash = hash;
7854
+ else if (this.lastKnownHash) {
7855
+ // No TOFU, no pins: hash must not change once established, unless version increased
7856
+ if (this.lastKnownHash !== hash) {
7857
+ if (isVersionUpgrade) {
7858
+ logger.info("trust_bundle_updated_via_version", {
7859
+ url: this.url.href,
7860
+ previousVersion: this.version,
7861
+ newVersion: bundle.version,
7862
+ });
7863
+ expectedHash = hash;
7864
+ }
7865
+ else {
7866
+ throw new Error("Trust bundle hash changed without pin or version upgrade");
7867
+ }
7868
+ }
7869
+ else {
7870
+ expectedHash = hash;
7871
+ }
7835
7872
  }
7836
7873
  else if (isBrowserEnvironment() && this.enforceBrowserPins) {
7837
7874
  throw new Error("Browser download without pins or TOFU is blocked");
7838
7875
  }
7839
7876
  }
7840
- const bundle = parseBundlePayload(payload, this.url.href);
7841
7877
  if (bundle.version !== null && this.version !== null) {
7842
7878
  if (bundle.version < this.version) {
7843
7879
  throw new Error("Trust bundle downgrade detected");
@@ -9767,7 +9803,7 @@ class DefaultCAService extends CAService {
9767
9803
  if (roots.length === 0) {
9768
9804
  return null;
9769
9805
  }
9770
- const issuedAt = new Date().toISOString();
9806
+ const issuedAt = computeEarliestIssuance(roots);
9771
9807
  const validUntil = computeEarliestExpiry(roots);
9772
9808
  const version = computeBundleVersion(roots);
9773
9809
  return {
@@ -9821,6 +9857,27 @@ function buildTrustBundleRoots(candidates) {
9821
9857
  }
9822
9858
  return roots;
9823
9859
  }
9860
+ function computeEarliestIssuance(roots) {
9861
+ let earliest = null;
9862
+ for (const root of roots) {
9863
+ if (!root.notBefore) {
9864
+ continue;
9865
+ }
9866
+ const timestamp = Date.parse(root.notBefore);
9867
+ if (Number.isNaN(timestamp)) {
9868
+ continue;
9869
+ }
9870
+ if (earliest === null || timestamp < earliest) {
9871
+ earliest = timestamp;
9872
+ }
9873
+ }
9874
+ // If no notBefore found, use earliest expiry as fallback, or current time
9875
+ if (earliest === null) {
9876
+ const earliestExpiry = computeEarliestExpiry(roots);
9877
+ return earliestExpiry ?? new Date().toISOString();
9878
+ }
9879
+ return new Date(earliest).toISOString();
9880
+ }
9824
9881
  function computeEarliestExpiry(roots) {
9825
9882
  let earliest = null;
9826
9883
  for (const root of roots) {
@@ -15,12 +15,12 @@ import { ExtensionManager, Registry, AbstractResourceFactory, createResource, cr
15
15
  import { sha256 as sha256$1 } from '@noble/hashes/sha256.js';
16
16
 
17
17
  // This file is auto-generated during build - do not edit manually
18
- // Generated from package.json version: 0.3.7-test.127
18
+ // Generated from package.json version: 0.3.7-test.129
19
19
  /**
20
20
  * The package version, injected at build time.
21
21
  * @internal
22
22
  */
23
- const VERSION = '0.3.7-test.127';
23
+ const VERSION = '0.3.7-test.129';
24
24
 
25
25
  const logger$h = getLogger("naylence.fame.security.cert.util");
26
26
  const CACHE_LIMIT = 512;
@@ -7455,7 +7455,7 @@ function normalizeSigning(config, explicit) {
7455
7455
  }
7456
7456
  return null;
7457
7457
  }
7458
- function normalizeOptions(config, securitySettings, signing) {
7458
+ function normalizeOptions(config, securitySettings, signing, trustStorePem) {
7459
7459
  const caServiceUrl = config.caServiceUrl ?? config.ca_service_url ?? null;
7460
7460
  const cryptoProvider = config.cryptoProvider ?? config.crypto_provider ?? null;
7461
7461
  return {
@@ -7463,6 +7463,7 @@ function normalizeOptions(config, securitySettings, signing) {
7463
7463
  signing,
7464
7464
  caServiceUrl,
7465
7465
  cryptoProvider,
7466
+ trustStorePem,
7466
7467
  };
7467
7468
  }
7468
7469
  class DefaultCertificateManagerFactory extends CertificateManagerFactory {
@@ -7472,11 +7473,13 @@ class DefaultCertificateManagerFactory extends CertificateManagerFactory {
7472
7473
  this.isDefault = true;
7473
7474
  this.priority = 100;
7474
7475
  }
7475
- async create(config, securitySettings, signing, ..._factoryArgs) {
7476
+ async create(config, securitySettings, signing, ...factoryArgs) {
7476
7477
  const normalizedConfig = normalizeConfig$1(config);
7477
7478
  const resolvedSecuritySettings = normalizeSecuritySettings(normalizedConfig, securitySettings ?? null);
7478
7479
  const resolvedSigning = normalizeSigning(normalizedConfig, signing ?? null);
7479
- const options = normalizeOptions(normalizedConfig, resolvedSecuritySettings, resolvedSigning);
7480
+ // Extract trust store PEM resolver from factoryArgs if provided
7481
+ const trustStorePemResolver = factoryArgs[0];
7482
+ const options = normalizeOptions(normalizedConfig, resolvedSecuritySettings, resolvedSigning, trustStorePemResolver ?? null);
7480
7483
  return new DefaultCertificateManager(options);
7481
7484
  }
7482
7485
  }
@@ -7820,22 +7823,55 @@ class HttpBundleProvider {
7820
7823
  if (pins && !pins.includes(hash)) {
7821
7824
  throw new Error("Trust bundle hash mismatch");
7822
7825
  }
7826
+ const bundle = parseBundlePayload(payload, this.url.href);
7827
+ // Version-based updates: if bundle has version field and it increased, allow hash change
7828
+ const isVersionUpgrade = bundle.version !== null && this.version !== null && bundle.version > this.version;
7823
7829
  let expectedHash = pins ? hash : null;
7824
7830
  if (!pins) {
7825
- if (this.lastKnownHash) {
7826
- if (this.lastKnownHash !== hash) {
7827
- throw new Error("Trust bundle hash changed without pin");
7831
+ if (this.allowTofu) {
7832
+ // TOFU mode: trust on first use, or if version increased
7833
+ if (!this.lastKnownHash || isVersionUpgrade) {
7834
+ expectedHash = hash;
7835
+ if (this.lastKnownHash && this.lastKnownHash !== hash && isVersionUpgrade) {
7836
+ logger.info("trust_bundle_updated_via_version", {
7837
+ url: this.url.href,
7838
+ previousVersion: this.version,
7839
+ newVersion: bundle.version,
7840
+ previousHash: this.lastKnownHash,
7841
+ newHash: hash,
7842
+ });
7843
+ }
7844
+ }
7845
+ else if (this.lastKnownHash !== hash) {
7846
+ throw new Error("Trust bundle hash changed without version upgrade");
7847
+ }
7848
+ else {
7849
+ expectedHash = hash;
7828
7850
  }
7829
- expectedHash = hash;
7830
7851
  }
7831
- else if (this.allowTofu) {
7832
- expectedHash = hash;
7852
+ else if (this.lastKnownHash) {
7853
+ // No TOFU, no pins: hash must not change once established, unless version increased
7854
+ if (this.lastKnownHash !== hash) {
7855
+ if (isVersionUpgrade) {
7856
+ logger.info("trust_bundle_updated_via_version", {
7857
+ url: this.url.href,
7858
+ previousVersion: this.version,
7859
+ newVersion: bundle.version,
7860
+ });
7861
+ expectedHash = hash;
7862
+ }
7863
+ else {
7864
+ throw new Error("Trust bundle hash changed without pin or version upgrade");
7865
+ }
7866
+ }
7867
+ else {
7868
+ expectedHash = hash;
7869
+ }
7833
7870
  }
7834
7871
  else if (isBrowserEnvironment() && this.enforceBrowserPins) {
7835
7872
  throw new Error("Browser download without pins or TOFU is blocked");
7836
7873
  }
7837
7874
  }
7838
- const bundle = parseBundlePayload(payload, this.url.href);
7839
7875
  if (bundle.version !== null && this.version !== null) {
7840
7876
  if (bundle.version < this.version) {
7841
7877
  throw new Error("Trust bundle downgrade detected");
@@ -9765,7 +9801,7 @@ class DefaultCAService extends CAService {
9765
9801
  if (roots.length === 0) {
9766
9802
  return null;
9767
9803
  }
9768
- const issuedAt = new Date().toISOString();
9804
+ const issuedAt = computeEarliestIssuance(roots);
9769
9805
  const validUntil = computeEarliestExpiry(roots);
9770
9806
  const version = computeBundleVersion(roots);
9771
9807
  return {
@@ -9819,6 +9855,27 @@ function buildTrustBundleRoots(candidates) {
9819
9855
  }
9820
9856
  return roots;
9821
9857
  }
9858
+ function computeEarliestIssuance(roots) {
9859
+ let earliest = null;
9860
+ for (const root of roots) {
9861
+ if (!root.notBefore) {
9862
+ continue;
9863
+ }
9864
+ const timestamp = Date.parse(root.notBefore);
9865
+ if (Number.isNaN(timestamp)) {
9866
+ continue;
9867
+ }
9868
+ if (earliest === null || timestamp < earliest) {
9869
+ earliest = timestamp;
9870
+ }
9871
+ }
9872
+ // If no notBefore found, use earliest expiry as fallback, or current time
9873
+ if (earliest === null) {
9874
+ const earliestExpiry = computeEarliestExpiry(roots);
9875
+ return earliestExpiry ?? new Date().toISOString();
9876
+ }
9877
+ return new Date(earliest).toISOString();
9878
+ }
9822
9879
  function computeEarliestExpiry(roots) {
9823
9880
  let earliest = null;
9824
9881
  for (const root of roots) {
@@ -17,7 +17,7 @@ export declare class DefaultCertificateManagerFactory extends CertificateManager
17
17
  readonly type = "DefaultCertificateManager";
18
18
  readonly isDefault = true;
19
19
  readonly priority = 100;
20
- create(config?: DefaultCertificateManagerConfig | Record<string, unknown> | null, securitySettings?: SecuritySettings | null, signing?: SigningConfig | null, ..._factoryArgs: unknown[]): Promise<CertificateManager>;
20
+ create(config?: DefaultCertificateManagerConfig | Record<string, unknown> | null, securitySettings?: SecuritySettings | null, signing?: SigningConfig | null, ...factoryArgs: unknown[]): Promise<CertificateManager>;
21
21
  }
22
22
  export default DefaultCertificateManagerFactory;
23
23
  //# sourceMappingURL=default-certificate-manager-factory.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default-certificate-manager-factory.d.ts","sourceRoot":"","sources":["../../../../../../src/naylence/fame/security/cert/default-certificate-manager-factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAEL,yBAAyB,EAEzB,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACxB,MAAM,mBAAmB,CAAC;AAQ3B,MAAM,WAAW,+BACf,SAAQ,wBAAwB;IAChC,IAAI,EAAE,2BAA2B,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC3C,iBAAiB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC5C,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAChC,eAAe,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAClC;AAED,eAAO,MAAM,YAAY;;;CAGf,CAAC;AA6EX,qBAAa,gCAAiC,SAAQ,yBAAyB,CAAC,+BAA+B,CAAC;IAC9G,SAAgB,IAAI,+BAA+B;IACnD,SAAgB,SAAS,QAAQ;IACjC,SAAgB,QAAQ,OAAO;IAElB,MAAM,CACjB,MAAM,CAAC,EAAE,+BAA+B,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,EACzE,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAC1C,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI,EAC9B,GAAG,YAAY,EAAE,OAAO,EAAE,GACzB,OAAO,CAAC,kBAAkB,CAAC;CAe/B;AAED,eAAe,gCAAgC,CAAC"}
1
+ {"version":3,"file":"default-certificate-manager-factory.d.ts","sourceRoot":"","sources":["../../../../../../src/naylence/fame/security/cert/default-certificate-manager-factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAEL,yBAAyB,EAEzB,KAAK,wBAAwB,EAC7B,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACxB,MAAM,mBAAmB,CAAC;AAQ3B,MAAM,WAAW,+BACf,SAAQ,wBAAwB;IAChC,IAAI,EAAE,2BAA2B,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC3C,iBAAiB,CAAC,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC5C,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IAChC,eAAe,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;CAClC;AAED,eAAO,MAAM,YAAY;;;CAGf,CAAC;AA+EX,qBAAa,gCAAiC,SAAQ,yBAAyB,CAAC,+BAA+B,CAAC;IAC9G,SAAgB,IAAI,+BAA+B;IACnD,SAAgB,SAAS,QAAQ;IACjC,SAAgB,QAAQ,OAAO;IAElB,MAAM,CACjB,MAAM,CAAC,EAAE,+BAA+B,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,EACzE,gBAAgB,CAAC,EAAE,gBAAgB,GAAG,IAAI,EAC1C,OAAO,CAAC,EAAE,aAAa,GAAG,IAAI,EAC9B,GAAG,WAAW,EAAE,OAAO,EAAE,GACxB,OAAO,CAAC,kBAAkB,CAAC;CAoB/B;AAED,eAAe,gCAAgC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"http-bundle-provider.d.ts","sourceRoot":"","sources":["../../../../../../../src/naylence/fame/security/cert/trust-store/http-bundle-provider.ts"],"names":[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B,OAAO,CAAC,QAAQ,CAAuB;gBAEpB,OAAO,EAAE,yBAAyB;IAiDxC,QAAQ,IAAI,OAAO,CAAC,SAAS,WAAW,EAAE,CAAC;IA+B3C,gBAAgB,IAAI,OAAO,CAAC,MAAM,CAAC;IAiBzC,QAAQ,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI;IAOpC,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;IAqBxC,OAAO,CAAC,gBAAgB;YASV,WAAW;IAgHzB,OAAO,CAAC,eAAe;CAWxB"}
@@ -2,5 +2,5 @@
2
2
  * The package version, injected at build time.
3
3
  * @internal
4
4
  */
5
- export declare const VERSION = "0.3.7-test.127";
5
+ export declare const VERSION = "0.3.7-test.129";
6
6
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naylence/advanced-security",
3
- "version": "0.3.7-test.127",
3
+ "version": "0.3.7-test.129",
4
4
  "type": "module",
5
5
  "description": "Advanced security utilities for the Naylence Fame runtime implemented in TypeScript.",
6
6
  "author": "Naylence Dev <naylencedev@gmail.com>",
@@ -142,7 +142,7 @@
142
142
  "prepublishOnly": "npm run build && npm test"
143
143
  },
144
144
  "dependencies": {
145
- "@naylence/runtime": "^0.3.5-test.924",
145
+ "@naylence/runtime": "^0.3.5-test.925",
146
146
  "@noble/ciphers": "^2.0.1",
147
147
  "@noble/curves": "^1.4.0",
148
148
  "@noble/ed25519": "^2.1.0",