Skip to content

Commit

Permalink
Merge pull request #579 from atsign-foundation/deprecate_apkam_authmode
Browse files Browse the repository at this point in the history
fix: Deprecate apkam authmode
  • Loading branch information
gkc authored May 14, 2024
2 parents 1e4e8c1 + 43af5a9 commit 58055a1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 2 additions & 0 deletions packages/at_commons/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
## 4.0.10
- fix: Deprecate apkam in PkamAuthMode enum
## 4.0.9
- feat: enroll verb syntax change for enroll:revoke:force and added new exception AtEnrollmentRevokeException
## 4.0.8
Expand Down
8 changes: 6 additions & 2 deletions packages/at_commons/lib/src/auth/auth_mode.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
// If pkam auth mode is keysFile then pkam private key will be generated during onboarding and saved in the keys file.
// For subsequent authentication, pkam private key will be read from the keys file supplied by the user.
// If pkam auth mode is sim or any other secure element, then private key is not accessible directly. Only the data will be passed to the sim/secure element, pkam signature can be retrieved and verified.pkam private key will not be a part of keys file in this case.
// If auth mode is apkam, each app/client will have its own key pair for pkam authentication.
enum PkamAuthMode { keysFile, sim, apkam }
enum PkamAuthMode {
keysFile,
sim,
@Deprecated('not used')
apkam
}
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.9
version: 4.0.10
repository: https://github.com/atsign-foundation/at_libraries
homepage: https://atsign.dev

Expand Down

0 comments on commit 58055a1

Please sign in to comment.