From 161b9018293652d427ad78bba8e732d6251e0aba Mon Sep 17 00:00:00 2001 From: Hatter Jiang Date: Fri, 13 Oct 2023 21:54:26 +0800 Subject: [PATCH] feat: update spec link --- README.md | 2 ++ src/spec.rs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6d3f86d..1f76936 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ required, the key MUST support PIV or OpenPGP. Tiny encrypt for Rust +Specification: [Tiny Encrypt Spec V1.1](https://github.com/OpenWebStandard/tiny-encrypt-format-spec/blob/main/TinyEncryptSpecv1.1.md) + > Tiny encrypt rs is a Rust implementation of Tiny encrypt java https://git.hatter.ink/hatter/tiny-encrypt-java
> Tiny encrypt spec see: https://github.com/OpenWebStandard/tiny-encrypt-format-spec diff --git a/src/spec.rs b/src/spec.rs index bcf04d6..33715bb 100644 --- a/src/spec.rs +++ b/src/spec.rs @@ -12,7 +12,7 @@ use crate::util::{encode_base64, get_user_agent}; pub const TINY_ENCRYPT_VERSION_10: &str = "1.0"; pub const TINY_ENCRYPT_VERSION_11: &str = "1.1"; -/// Specification: [Tiny Encrypt Spec V1.1](https://git.hatter.ink/hatter/tiny-encrypt-java/src/branch/master/TinyEncryptSpecV1.1.md) +/// Specification: [Tiny Encrypt Spec V1.1](https://github.com/OpenWebStandard/tiny-encrypt-format-spec/blob/main/TinyEncryptSpecv1.1.md) #[derive(Clone, Debug, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct TinyEncryptMeta {