-
- Downloads
account_archive: re-work migrating process
When a device is expired, the migration will update the certificate chain with the previous key. So, after a migration, the device's id must be unchanged. However, if a device is revoked, this should trigger a re-generation of the device with a new PrivateKey (so generates a new device). Add related unit tests. GitLab: #684 (this is some preparative work) Change-Id: I7ff0cff97b7285186539cfadc6e33b620ded5b27
Showing
- src/jamidht/archive_account_manager.cpp 40 additions, 13 deletionssrc/jamidht/archive_account_manager.cpp
- src/jamidht/archive_account_manager.h 2 additions, 1 deletionsrc/jamidht/archive_account_manager.h
- src/jamidht/jamiaccount.cpp 5 additions, 6 deletionssrc/jamidht/jamiaccount.cpp
- test/unitTest/account_archive/migration.cpp 79 additions, 1 deletiontest/unitTest/account_archive/migration.cpp
Loading
Please register or sign in to comment