From 18a2993bf66e4d447cc2d75eda0d4603d93e19cb Mon Sep 17 00:00:00 2001 From: AquibAquil Date: Fri, 3 Oct 2025 07:09:11 +0530 Subject: [PATCH 1/3] docs: use cannonical rfc links in webcrypto.aescbc --- lib/src/webcrypto/webcrypto.aescbc.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/src/webcrypto/webcrypto.aescbc.dart b/lib/src/webcrypto/webcrypto.aescbc.dart index 62aaf654..31526f1e 100644 --- a/lib/src/webcrypto/webcrypto.aescbc.dart +++ b/lib/src/webcrypto/webcrypto.aescbc.dart @@ -31,9 +31,9 @@ part of 'webcrypto.dart'; /// /// {@macro AesCbcSecretKey-encryptBytes/decryptBytes:example} /// -/// [1]: https://csrc.nist.gov/publications/detail/sp/800-38a/final -/// [2]: https://tools.ietf.org/html/rfc2315#section-10.3 -/// [3]: https://tools.ietf.org/html/rfc7517 +/// [1]:https://csrc.nist.gov/publications/detail/sp/800-38a/final +/// [2]:https://www.rfc-editor.org/rfc/rfc2315#section-10.3 +/// [3]:https://www.rfc-editor.org/tfc/rfc7517 final class AesCbcSecretKey { final AesCbcSecretKeyImpl _impl; @@ -106,7 +106,7 @@ final class AesCbcSecretKey { /// print(jsonEncode(keyData)); /// ``` /// - /// [1]: https://tools.ietf.org/html/rfc7517 + /// [1]: https://www.rfc-editor.org/rfc/rfc7517 // TODO: Decide if we want restrictions on "use" property" (we probably have it on web, if we don't strip it) // TODO: Decide if we want place restrictions on key_ops static Future importJsonWebKey( @@ -237,7 +237,7 @@ final class AesCbcSecretKey { /// {@template AesCbcSecretKey-decrypt:padding} /// The encrypted [data] is always assumed to be padded in PKCS#7 mode, /// as described in - /// [RFC 2315 Section 10.3 step 2](https://tools.ietf.org/html/rfc2315#section-10.3). + /// [RFC 2315 Section 10.3 step 2]( https://www.rfc-editor.org/rfc/rfc2315#section-10.3). /// This padding is stripped from the decrypted return value. /// The [encryptBytes] and [encryptStream] methods always apply this padding. /// {@endtemplate} @@ -304,6 +304,6 @@ final class AesCbcSecretKey { /// print(jsonEncode(jwk)); /// ``` /// - /// [1]: https://tools.ietf.org/html/rfc7517 + /// [1]:https://www.rfc-editor.org/rfc/html/rfc7517 Future> exportJsonWebKey() => _impl.exportJsonWebKey(); } From 927e0de05596e1b84e66b5523243566de159c85f Mon Sep 17 00:00:00 2001 From: HamdaanAliQuatil <96776914+HamdaanAliQuatil@users.noreply.github.com> Date: Fri, 10 Oct 2025 18:32:27 +0530 Subject: [PATCH 2/3] Update lib/src/webcrypto/webcrypto.aescbc.dart --- lib/src/webcrypto/webcrypto.aescbc.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/webcrypto/webcrypto.aescbc.dart b/lib/src/webcrypto/webcrypto.aescbc.dart index 31526f1e..ed10313d 100644 --- a/lib/src/webcrypto/webcrypto.aescbc.dart +++ b/lib/src/webcrypto/webcrypto.aescbc.dart @@ -237,7 +237,7 @@ final class AesCbcSecretKey { /// {@template AesCbcSecretKey-decrypt:padding} /// The encrypted [data] is always assumed to be padded in PKCS#7 mode, /// as described in - /// [RFC 2315 Section 10.3 step 2]( https://www.rfc-editor.org/rfc/rfc2315#section-10.3). + /// [RFC 2315 Section 10.3 step 2](https://www.rfc-editor.org/rfc/rfc2315#section-10.3). /// This padding is stripped from the decrypted return value. /// The [encryptBytes] and [encryptStream] methods always apply this padding. /// {@endtemplate} From c0977b941b0e9c65e58dd21302fa622e674743e5 Mon Sep 17 00:00:00 2001 From: AquibAquil <96966923+AquibAquil@users.noreply.github.com> Date: Wed, 29 Oct 2025 02:29:50 +0530 Subject: [PATCH 3/3] Update webcrypto.aescbc.dart --- lib/src/webcrypto/webcrypto.aescbc.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/webcrypto/webcrypto.aescbc.dart b/lib/src/webcrypto/webcrypto.aescbc.dart index ed10313d..a901cb04 100644 --- a/lib/src/webcrypto/webcrypto.aescbc.dart +++ b/lib/src/webcrypto/webcrypto.aescbc.dart @@ -32,8 +32,8 @@ part of 'webcrypto.dart'; /// {@macro AesCbcSecretKey-encryptBytes/decryptBytes:example} /// /// [1]:https://csrc.nist.gov/publications/detail/sp/800-38a/final -/// [2]:https://www.rfc-editor.org/rfc/rfc2315#section-10.3 -/// [3]:https://www.rfc-editor.org/tfc/rfc7517 +/// [2]:https://tools.ietf.org/html/rfc2315#section-10.3 +/// [3]:https://tools.ietf.org/html/rfc7517 final class AesCbcSecretKey { final AesCbcSecretKeyImpl _impl;