mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
feat: add vault module
This commit is contained in:
@@ -35,17 +35,11 @@ message Params {
|
||||
// Whitelisted Key Types
|
||||
map<string, KeyInfo> allowed_public_keys = 2;
|
||||
|
||||
// IpfsActive is a flag to enable/disable ipfs
|
||||
bool ipfs_active = 3;
|
||||
|
||||
// Localhost Registration Enabled
|
||||
bool localhost_registration_enabled = 4;
|
||||
|
||||
// ConveyancePreference defines the conveyance preference
|
||||
string conveyance_preference = 5;
|
||||
string conveyance_preference = 3;
|
||||
|
||||
// AttestationFormats defines the attestation formats
|
||||
repeated string attestation_formats = 6;
|
||||
repeated string attestation_formats = 4;
|
||||
}
|
||||
|
||||
// AssetInfo defines the asset info
|
||||
@@ -85,7 +79,8 @@ message KeyInfo {
|
||||
string role = 1;
|
||||
string algorithm = 2; // e.g., "ES256", "EdDSA", "ES256K"
|
||||
string encoding = 3; // e.g., "hex", "base64", "multibase"
|
||||
string curve = 4; // e.g., "P256", "P384", "P521", "X25519", "X448", "Ed25519", "Ed448", "secp256k1"
|
||||
string curve = 4; // e.g., "P256", "P384", "P521", "X25519", "X448",
|
||||
// "Ed25519", "Ed448", "secp256k1"
|
||||
string type = 5; // e.g., "Octet", "Elliptic", "RSA", "Symmetric", "HMAC"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user