Skip to content

Commit

Permalink
docs: update CHANGELOG and docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Rosenkranz-Costa committed Jan 12, 2024
1 parent 8460b0d commit d2fbd25
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,16 @@

All notable changes to this project will be documented in this file.

## [Unreleased]

### Features

- Change `Axis` to `Dimension` with a clear distinction between `Ordered` and `Unordered`.
- Create a `Dictionary` data structure to store and update `Ordered Dimension` efficiently
- Change the data structure of `MasterSecretKey` and `UserSecretKey` to keep track of subkeys version.
- Policy does not count the attribute rotations anymore as they are stored in the subkeys.
- a `UserSecretKey` can now be refreshed without any external `Policy` information.

## [13.0.0] - 2023-11-06

### Bug Fixes
Expand Down
10 changes: 6 additions & 4 deletions src/core/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ impl Covercrypt {
)
}

/// Renews the keys associated to the given access policy in the master
/// keys.
/// Generate new keys associated to the given access policy in the master
/// keys. User keys will need to be refreshed after this step.
/// - `access_policy` : describe the keys to renew
/// - `policy` : global policy
/// - `msk` : master secret key
Expand All @@ -96,7 +96,8 @@ impl Covercrypt {
)
}

/// Removes old keys from the master keys.
/// Removes old keys associated to the given master keys from the master
/// keys. This will permanently remove access to old ciphers.
/// - `access_policy` : describe the keys to prune
/// - `policy` : global policy
/// - `msk` : master secret key
Expand All @@ -114,7 +115,8 @@ impl Covercrypt {

/// Generates a user secret key.
///
/// A new user secret key does NOT include to old (i.e. rotated) partitions.
/// A new user secret key only has the latest keys corresponding to its
/// access policy.
///
/// - `msk` : master secret key
/// - `access_policy` : user access policy
Expand Down

0 comments on commit d2fbd25

Please sign in to comment.