feat: update local-mini-kms

This commit is contained in:
2022-07-24 18:04:50 +08:00
parent 9c99f36eef
commit d0e1c503ca

View File

@@ -7,7 +7,7 @@ use josekit::jwk::Jwk;
use rust_util::XResult;
use serde_json::Value;
const LOCAL_KMS_PREFIX: &'static str = "LOCAL_KMS:";
const LOCAL_KMS_PREFIX: &'static str = "LKMS:";
pub fn generate_rsa_key(bits: u32) -> XResult<RsaKeyPair> {
Ok(RsaKeyPair::generate(bits)?)