| Crates.io | tauri-plugin-crypto-hw |
| lib.rs | tauri-plugin-crypto-hw |
| version | 0.1.0 |
| created_at | 2025-05-12 05:46:09.171979+00 |
| updated_at | 2025-05-12 05:46:09.171979+00 |
| description | Android/iOS StrongBox/Secure Enclave Bindings+Wrapper for Tauri |
| homepage | https://auvo.io |
| repository | https://github.com/auvoid/tauri-plugin-crypto-hw |
| max_upload_size | |
| id | 1670039 |
| size | 435,896 |
This project is a Tauri plugin which allows for hardware KeyStore (Secure Enclave (iOS) & StrongBox (Android)) control and management on iOS and Android devices with a consistent API.
| Platform | Supported |
|---|---|
| Linux | x |
| Windows | x |
| macOS | x |
| Android | ✓ |
| iOS | ✓ |
import { generate } from "tauri-plugin-crypt-api";
async function generate() {
generate("default")
.then((returnValue) => {
genRes = returnValue;
})
.catch((error) => {
genRes = error;
});
}
import { exists } from "tauri-plugin-crypt-api";
async function exists() {
exists("default")
.then((returnValue) => {
genRes = returnValue;
})
.catch((error) => {
genRes = error;
});
}
import { getPublicKey } from "tauri-plugin-crypt-api";
async function getPublicKey() {
getPublicKey("default")
.then((returnValue) => {
genRes = returnValue;
})
.catch((error) => {
genRes = error;
});
}
import { signPayload } from "tauri-plugin-crypt-api";
async function signPayload() {
signPayload("default")
.then((returnValue) => {
genRes = returnValue;
})
.catch((error) => {
genRes = error;
});
}
import { verifySignature } from "tauri-plugin-crypt-api";
async function verifySignature() {
verifySignature("default")
.then((returnValue) => {
genRes = returnValue;
})
.catch((error) => {
genRes = error;
});
}
This permission set configures which crypto features are by default exposed.
It allows access to all crypto commands.
allow-generateallow-existsallow-get-public-keyallow-sign-payloadallow-verify-signature| Identifier | Description |
|---|---|
|
|
Enables the exists command without any pre-configured scope. |
|
|
Denies the exists command without any pre-configured scope. |
|
|
Enables the generate command without any pre-configured scope. |
|
|
Denies the generate command without any pre-configured scope. |
|
|
Enables the get_public_key command without any pre-configured scope. |
|
|
Denies the get_public_key command without any pre-configured scope. |
|
|
Enables the ping command without any pre-configured scope. |
|
|
Denies the ping command without any pre-configured scope. |
|
|
Enables the sign_payload command without any pre-configured scope. |
|
|
Denies the sign_payload command without any pre-configured scope. |
|
|
Enables the verify_signature command without any pre-configured scope. |
|
|
Denies the verify_signature command without any pre-configured scope. |