evervault-attestation-bindings
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -13,4 +13,11 @@ /* tslint:disable */ | ||
} | ||
/** | ||
* Deprecated legacy attestation method | ||
* Supports attesting connections where the attestation doc is embedded in the certs SANs | ||
*/ | ||
export function attestConnection(cert: Buffer, expectedPcrsList: Array<NodePcRs>): boolean | ||
export function attestCage(cert: Buffer, expectedPcrsList: Array<NodePcRs>, attestationDoc: Buffer): boolean | ||
/** | ||
* a client can call out to `<cage-url>/.well-known/attestation` to fetch the attestation doc from the cage | ||
* The fetched attestation doc will have the public key of the domain's cert embedded inside it along with an expiry | ||
*/ | ||
export function attestCage(cert: Buffer, expectedPcrsList: Array<NodePcRs>, attestationDoc: Buffer): boolean |
@@ -249,4 +249,5 @@ const { existsSync, readFileSync } = require('fs') | ||
const { attestConnection } = nativeBinding | ||
const { attestConnection, attestCage } = nativeBinding | ||
module.exports.attestConnection = attestConnection | ||
module.exports.attestCage = attestCage |
{ | ||
"name": "evervault-attestation-bindings", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"main": "index.js", | ||
@@ -46,15 +46,15 @@ "types": "index.d.ts", | ||
"optionalDependencies": { | ||
"evervault-attestation-bindings-win32-x64-msvc": "0.3.1", | ||
"evervault-attestation-bindings-darwin-x64": "0.3.1", | ||
"evervault-attestation-bindings-linux-x64-gnu": "0.3.1", | ||
"evervault-attestation-bindings-darwin-arm64": "0.3.1", | ||
"evervault-attestation-bindings-android-arm64": "0.3.1", | ||
"evervault-attestation-bindings-linux-arm64-gnu": "0.3.1", | ||
"evervault-attestation-bindings-linux-arm64-musl": "0.3.1", | ||
"evervault-attestation-bindings-linux-arm-gnueabihf": "0.3.1", | ||
"evervault-attestation-bindings-linux-x64-musl": "0.3.1", | ||
"evervault-attestation-bindings-win32-ia32-msvc": "0.3.1", | ||
"evervault-attestation-bindings-android-arm-eabi": "0.3.1", | ||
"evervault-attestation-bindings-darwin-universal": "0.3.1" | ||
"evervault-attestation-bindings-win32-x64-msvc": "0.3.2", | ||
"evervault-attestation-bindings-darwin-x64": "0.3.2", | ||
"evervault-attestation-bindings-linux-x64-gnu": "0.3.2", | ||
"evervault-attestation-bindings-darwin-arm64": "0.3.2", | ||
"evervault-attestation-bindings-android-arm64": "0.3.2", | ||
"evervault-attestation-bindings-linux-arm64-gnu": "0.3.2", | ||
"evervault-attestation-bindings-linux-arm64-musl": "0.3.2", | ||
"evervault-attestation-bindings-linux-arm-gnueabihf": "0.3.2", | ||
"evervault-attestation-bindings-linux-x64-musl": "0.3.2", | ||
"evervault-attestation-bindings-win32-ia32-msvc": "0.3.2", | ||
"evervault-attestation-bindings-android-arm-eabi": "0.3.2", | ||
"evervault-attestation-bindings-darwin-universal": "0.3.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16368
265