
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@animo-id/expo-secure-environment
Advanced tools
Cryptographic operations using the devices Secure Environment (HSM,SE,etc.) locked behind biometric authentication
Currently Android API 30+ is supported and the minimum supported version of iOS for Expo.
key algorithm: Secp256r1
signature algorithm: ECDSA with SHA256
import { generateKeypair } from "@animo-id/expo-secure-environment";
const myId = "keypair-id";
// Make sure it is backed by biometrics
generateKeypair(myId, true);
Returns the compressed form of a P-256 public key (and not the DER-encoded SubjectPublicKeyInfo)
import {
generateKeypair,
getPublicBytesForKeyId,
} from "@animo-id/expo-secure-environment";
const myId = "keypair-id";
// Make sure it is backed by biometrics
generateKeypair(myId, true);
const publicBytes: Uint8Array = getPublicBytesForKeyId(myId);
Returns the raw signature (and not a DER-Encoded ECDA-Sig-Value)
import {
generateKeypair,
sign
} from "@animo-id/expo-secure-environment";
const myId = "keypair-id";
// Make sure it is backed by biometrics
generateKeypair(myId, true);
// Make sure that when we sign we pass the third argument as true to indicate we would like to use biometrics
const signature = sign(myId, new Uint8Array(10).fill(7), true);
FAQs
Expo Secure Environment
The npm package @animo-id/expo-secure-environment receives a total of 240 weekly downloads. As such, @animo-id/expo-secure-environment popularity was classified as not popular.
We found that @animo-id/expo-secure-environment demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.