Skip to content

Commit

Permalink
Merge pull request #615 from atsign-foundation/gkc/fix-614
Browse files Browse the repository at this point in the history
fix: remove deprecated annotation from Metadata.pubKeyCS
  • Loading branch information
gkc authored Jul 25, 2024
2 parents 2199b67 + 2cd8cb7 commit 83b2d5c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
6 changes: 4 additions & 2 deletions packages/at_commons/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 4.0.12
- fix: remove deprecated annotation from Metadata.pubKeyCS
## 4.0.11
- chore: deprecate MessageTypeEnum.text
## 4.0.10
Expand Down Expand Up @@ -37,7 +39,7 @@
- feat: Introduce "AtThrottleLimitExceeded" exception which is thrown when enrollment request exceeds the limit
- feat: Introduce new error codes for apkam enrollments
## 3.0.54
- fix: Modify "totp" verb regex to include alpha-numeric characters
- fix: Modify "totp" verb regex to include alphanumeric characters
- feat: Introduce "EnrollResponse" class which represents the enrollment response.
## 3.0.53
- feat: Modify "enroll" verb regex.
Expand Down Expand Up @@ -128,7 +130,7 @@
- Add constant for stats notification id
## 3.0.20
- Enhance notify verb to include the isEncrypted field
- Add intent and exception scenario to AtException sub-classes
- Add intent and exception scenario to AtException subclasses
- Introducing class SecureSocketConfig to store config params to create security context for secure sockets.
## 3.0.19
- Rename byPassCache to bypassCache in lookup, plookup verb builders and at_constants
Expand Down
8 changes: 5 additions & 3 deletions packages/at_commons/lib/src/keystore/at_key.dart
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,11 @@ class Metadata {
/// See also [skeEncKeyName]
String? sharedKeyEnc;

/// Stores the checksum of the encryption public key used to encrypt the [sharedKeyEnc]. We use this
/// to verify that the encryption key-pair used to encrypt and decrypt the value are same
@Deprecated('Use pubKeyHash')
/// Stores the checksum of the encryption public key used to encrypt the
/// [sharedKeyEnc]. We use this to verify that the encryption key-pairs used
/// to encrypt and decrypt the value are the same
/// Will be marked as `@Deprecated('Use pubKeyHash')` once at_server and
/// at_client_sdk fully support pubKeyHash
String? pubKeyCS;

/// Stores the hash of the encryption public key used to encrypt the [sharedKeyEnc]
Expand Down
6 changes: 5 additions & 1 deletion packages/at_commons/lib/src/verb/operation_enum.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ enum StrategyEnum { all, latest }
String getStrategy(StrategyEnum? strategyEnum) =>
'$strategyEnum'.split('.').last;

enum MessageTypeEnum { key, @Deprecated('text based notifications are deprecated') text }
enum MessageTypeEnum {
key,
@Deprecated('text based notifications are deprecated')
text,
}

String getMessageType(MessageTypeEnum? messageTypeEnum) =>
'$messageTypeEnum'.split('.').last;
Expand Down
2 changes: 1 addition & 1 deletion packages/at_commons/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: at_commons
description: A library of Dart and Flutter utility classes that are used across other components of the atPlatform.
version: 4.0.11
version: 4.0.12
repository: https://github.com/atsign-foundation/at_libraries
homepage: https://atsign.dev

Expand Down

0 comments on commit 83b2d5c

Please sign in to comment.