v0.1.0-init-version #1

Merged
hatter merged 10 commits from v0.1.0-init-version into master 2022-07-25 00:31:10 +08:00
Showing only changes of commit d0e1c503ca - Show all commits

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)?)