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

[PB-3627] Send re-encrypted kyber key on pwd change #1418

Conversation

TamaraFinogina
Copy link
Contributor

@TamaraFinogina TamaraFinogina commented Jan 14, 2025

Description

Re-encrypt and send Kyber key on password update, upgrade to SDK 1.9.3

Related Issues

Relates to PB-3627

Related Pull Requests

Checklist

  • Changes have been tested locally.
  • Unit tests have been written or updated as necessary.
  • The code adheres to the repository's coding standards.
  • Relevant documentation has been added or updated.
  • No new warnings or errors have been introduced.
  • SonarCloud issues have been reviewed and addressed.
  • QA Passed

How Has This Been Tested?

Additional Notes

Backend changes are pending

Copy link

vercel bot commented Jan 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
drive-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 14, 2025 0:04am

@TamaraFinogina TamaraFinogina requested review from sg-gs and xabg2 January 14, 2025 12:05
const privateKeyEncrypted = aes.encrypt(privateKey, newPassword, getAesInitFromEnv());

const privateKyberKey = Buffer.from(user.keys.kyber.privateKey, 'base64').toString();
Copy link
Member

Choose a reason for hiding this comment

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

As far as I currently know, if we are going to do this conditionally, we should be careful about Buffering or encrypting keys whose value is not sure to be present

@TamaraFinogina TamaraFinogina changed the base branch from feature/PB-2666-implement-pqc to master January 14, 2025 16:19
@TamaraFinogina TamaraFinogina changed the base branch from master to feature/PB-2666-implement-pqc January 14, 2025 16:28
@TamaraFinogina TamaraFinogina deleted the feat/add_kyber_to_pwd_change branch January 14, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants