Skip to content

Supporting 4096-bit pre-generated RSA keys during testing#58251

Merged
eriktate merged 1 commit intomasterfrom
eriktate/configurable-rsa-key-source
Aug 25, 2025
Merged

Supporting 4096-bit pre-generated RSA keys during testing#58251
eriktate merged 1 commit intomasterfrom
eriktate/configurable-rsa-key-source

Conversation

@eriktate
Copy link
Copy Markdown
Contributor

@eriktate eriktate commented Aug 21, 2025

This PR extends the precomputed RSA key system to support 4096-bit keys in order to speed up tests that need to generate those keys

Blocks #57780

@eriktate eriktate force-pushed the eriktate/configurable-rsa-key-source branch 2 times, most recently from afff981 to 12b1070 Compare August 22, 2025 13:34
@eriktate eriktate added the no-changelog Indicates that a PR does not require a changelog entry label Aug 22, 2025
@eriktate eriktate force-pushed the eriktate/configurable-rsa-key-source branch from 12b1070 to 7d8480d Compare August 22, 2025 18:17
@eriktate eriktate changed the title Allowing configurable RSA key source for testing Supporting 4096-bit pre-generated RSA keys during testing Aug 22, 2025
@eriktate eriktate force-pushed the eriktate/configurable-rsa-key-source branch from 7d8480d to 0eaff21 Compare August 22, 2025 18:27
Comment thread lib/cryptosuites/internal/rsa/rsa.go Outdated
@eriktate eriktate force-pushed the eriktate/configurable-rsa-key-source branch from abd4904 to 2dd77ef Compare August 22, 2025 19:04
Comment thread lib/auth/recordingencryption/manager_test.go Outdated
Comment thread lib/cryptosuites/internal/rsa/rsa.go Outdated
@eriktate eriktate force-pushed the eriktate/configurable-rsa-key-source branch 3 times, most recently from a2f475e to e3d3b4c Compare August 22, 2025 19:30
Comment thread lib/cryptosuites/internal/rsa/rsa.go Outdated
@eriktate eriktate force-pushed the eriktate/configurable-rsa-key-source branch from e3d3b4c to 53da7e8 Compare August 22, 2025 19:37
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from nklaassen August 25, 2025 08:04
@eriktate eriktate added this pull request to the merge queue Aug 25, 2025
@eriktate eriktate removed this pull request from the merge queue due to a manual request Aug 25, 2025
@eriktate eriktate force-pushed the eriktate/configurable-rsa-key-source branch from 53da7e8 to 4e981e3 Compare August 25, 2025 13:06
@eriktate eriktate enabled auto-merge August 25, 2025 13:06
@eriktate eriktate added this pull request to the merge queue Aug 25, 2025
Merged via the queue into master with commit 1fff580 Aug 25, 2025
40 checks passed
@eriktate eriktate deleted the eriktate/configurable-rsa-key-source branch August 25, 2025 13:52
github-merge-queue Bot pushed a commit that referenced this pull request Sep 3, 2025
* adding support for encryption/decryption keys to keystore manager (#54428, #55652)

* adds new protos for resources related to encrypted session recordings and updates the existing SessionRecordingConfig protos to include a Status (#54780)

* adding local service implementation for recording encryption resources (#54816)

* adding Manager for RecordingEncryption resources that handles shared ops more complex than CRUD (#55078)

* Adding session recording plugin for `age` (#55120)

* adding Manager for RecordingEncryption resources that handles shared ops more complex than CRUD

* adding age plugin wrapping default X25519 Identity/Recipient implementation with hooks to more efficiently lookup private keys given their respective public key

* Adding recording encryption and playback for `sync` modes (#54901)

* adding cache for RecordingEncryption (#55857)

* adding recording_encryption service protos (#55121)

* adding async recording encryption with gRPC multipart uploader (#55859)

* adding file configuration for encrypted session recording (#56200)

* Switching recording encryption to unwrap keys using direct keystore RSA decryption (#56776)

* adding manual key management config (#56920)

* updating protos for recording encryption (#57055)

* Add missing handling for recording encryption configs and keys (#57279)

* updating protos for recording encryption

* changing labels for encryption keys to prevent automatic cleanup, adjusting pkcs11 host UUID check to allow for key sharing of encryption keys, preventing cloud tenants from enabling manual key management, preventing use of recording encryption in FIPS mode

* adding new protos for rotated keys and the local service for interacting (#57576)

with them

* Switching encryption keys from PEM to ASN.1 DER encoding (#58137)

* using pregenerated RSA4096 key for keystore tests because generation is too slow (#58138)

* extending precomputed RSA keys to support 4096-bit keys (#58251)

* adding rotation process to Manager and exposing with new RPCs and (#57577)

* adding rotation sub commands for recording encryption keys and fixing (#57780)

broken session_recording_config when using fileconf

* using more reliable method of validating key bit length
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-changelog Indicates that a PR does not require a changelog entry size/md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants