Commit graph

22 commits

Author SHA1 Message Date
Rodolphe Bréard
a0bbd6bf00 Improve error display in tests 2024-03-02 11:05:56 +01:00
Rodolphe Bréard
423476c987 Refactor the IKM storage format 2024-03-02 11:00:59 +01:00
Rodolphe Bréard
15198f5286 Implement deref on the IKM list, mainly to allow iteration over IKMs 2024-02-25 18:14:13 +01:00
Rodolphe Bréard
395703dae4 Expose the IKM 2024-02-25 18:08:00 +01:00
Rodolphe Bréard
6ceb598c04 Allow to delete an IKM 2024-02-25 15:28:08 +01:00
Rodolphe Bréard
c6a3855847 Allow to revoke an IKM 2024-02-25 15:23:04 +01:00
Rodolphe Bréard
58df7fb221 Add a type alias for the scheme serialize type 2024-02-25 12:03:06 +01:00
Rodolphe Bréard
929d089e56 Add a type for the counter id 2024-02-25 11:57:04 +01:00
Rodolphe Bréard
524b2993de Add a type for the IKM id 2024-02-25 11:53:52 +01:00
Rodolphe Bréard
59c36b0ebe Rename the parsing errors using the module name 2024-02-25 11:46:08 +01:00
Rodolphe Bréard
9df9fa6bf5 Use a custom result type 2024-02-17 20:47:07 +01:00
Rodolphe Bréard
cfdfcec03e Add some tests 2024-02-17 17:58:42 +01:00
Rodolphe Bréard
a553821ed8 Remove an useless mut 2024-02-17 16:49:50 +01:00
Rodolphe Bréard
3b91abb1c1 Test get_latest_ikm_empty on an empty IKM list 2024-02-15 19:02:39 +01:00
Rodolphe Bréard
f662e47690 Add the get_ikm_by_id method to the IKM 2024-02-15 18:38:24 +01:00
Rodolphe Bréard
ba08aa44f9 Add the get_latest_ikm method to the IKM 2024-02-15 18:37:59 +01:00
Rodolphe Bréard
cc97193d3a Expose the IKM to the crate 2024-02-15 18:21:43 +01:00
Rodolphe Bréard
60b91ffbe9 Add the encryption and ikm-management features 2024-02-15 12:37:14 +01:00
Rodolphe Bréard
9984d528e2 Remove the useless Ok(?) 2024-02-15 11:48:13 +01:00
Rodolphe Bréard
b99746bd65 Improve the error management 2024-02-15 10:56:21 +01:00
Rodolphe Bréard
32eba4345f Add a cryptographic scheme to the IKM 2024-02-15 10:00:06 +01:00
Rodolphe Bréard
a83faf6a7a Add basic IKM management 2024-02-14 23:11:00 +01:00