Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#37 Add key rotation for groups and change init response to return in… #40

Merged
merged 2 commits into from
Mar 4, 2020

Conversation

ernieturner
Copy link
Contributor

…fo about current user for rotation purposes

…fo about current user for rotation purposes
@ernieturner ernieturner requested a review from skeet70 March 2, 2020 21:11
integration/sdkOperation.ts Show resolved Hide resolved
@skeet70 skeet70 requested a review from clintfred March 4, 2020 18:02
Copy link

@clintfred clintfred left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -42,6 +42,17 @@ export function update(groupID: string, options: GroupUpdateOptions) {
throw new Error("Group update must provide a new name which is either a non-zero length string or null.");
}

/**
* Rotate a groups private key. This allows for changing the private key of a group without having to re-encrypt any of the documents
* encrypted to the group. This operation will re-add every existing admin of the group so depending on the number of admins this

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth calling out that the group's public key does not change even though that has the same meaning as "without having to re-encrypt any..."

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@ernieturner ernieturner merged commit f101d0c into keyRotation Mar 4, 2020
@ernieturner ernieturner deleted the groupKeyRotation branch March 4, 2020 19:40
ernieturner pushed a commit that referenced this pull request Mar 4, 2020
* #37 Add ability to create users with needs rotation and rotate th… (#39)

* #37 Add ability to create users with needs rotation and rotate their key

* Remove unused error code

* #37 Add key rotation for groups and change init response to retur… (#40)

* #37 Add key rotation for groups and change init response to return info about current user for rotation purposes

* Expand details in comment

* Add missing test, bump up test coverage leniency for Recrypt tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants