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

remove unneeded rsa references, upgrade krypto #2101

Merged
merged 7 commits into from
Feb 12, 2025

Conversation

James-Pickett
Copy link
Contributor

@James-Pickett James-Pickett commented Feb 10, 2025

@James-Pickett James-Pickett changed the title remove unneeded rsa references remove unneeded rsa references, upgrade krypto Feb 10, 2025
@James-Pickett James-Pickett marked this pull request as ready for review February 10, 2025 23:14
directionless
directionless previously approved these changes Feb 11, 2025
Copy link
Contributor

@directionless directionless left a comment

Choose a reason for hiding this comment

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

What about

// 1. The RSA key. This is stored in the launcher DB, and was the first key used by krypto. We are deprecating it.

zackattack01
zackattack01 previously approved these changes Feb 11, 2025
Copy link
Contributor

@directionless directionless left a comment

Choose a reason for hiding this comment

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

Seems scary, but I think this is something nightly will test fine. As long as we can manage auth flows, I think we're good.

// There are 3 keys:
// 1. The RSA key. This is stored in the launcher DB, and was the first key used by krypto. We are deprecating it.
// 2. The hardware keys -- these are in the secure enclave (TPM or Apple's thing) These are used to identify the device
// 3. The launcher install key -- this is an ECC key that is sometimes used in conjunction with (2)
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this comment is old -- we don't generate the ECC keys in this function. Thus it's removal is safe

cesarfda
cesarfda previously approved these changes Feb 12, 2025
@James-Pickett James-Pickett dismissed stale reviews from cesarfda and zackattack01 via 8b9811b February 12, 2025 17:38
@James-Pickett James-Pickett added this pull request to the merge queue Feb 12, 2025
Merged via the queue into kolide:main with commit 38a71b7 Feb 12, 2025
32 checks passed
@James-Pickett James-Pickett deleted the james/remove-krypto-v1 branch February 12, 2025 19:52
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.

4 participants