n8n/packages/cli/test/unit
Michael Auerswald fdac2c8572
feat(core): Add rsa option to ssh key generation (#7154)
PR adds a new field to the SourceControlPreferences as well as to the
POST parameters for the `source-control/preferences` and
`source-control/generate-key-pair` endpoints. Both now accept an
optional string parameter `keyGeneratorType` of `'ed25519' | 'rsa'`

Calling the `source-control/generate-key-pair` endpoint with the
parameter set, it will also update the stored preferences accordingly
(so that in the future new keys will use the same method)

By default ed25519 is being used. The default may be changed using a new
environment parameter:

`N8N_SOURCECONTROL_DEFAULT_SSH_KEY_TYPE` which can be `rsa` or `ed25519`

RSA keys are generated with a length of 4096 bytes.
2023-09-14 11:34:51 +02:00
..
controllers feat(core): Add filtering, selection and pagination to users (#6994) 2023-08-28 16:13:17 +02:00
ExternalSecrets feat: External Secrets storage for credentials (#6477) 2023-08-25 10:33:46 +02:00
middleware feat(core): Add filtering, selection and pagination to users (#6994) 2023-08-28 16:13:17 +02:00
repositories perf(core): Cache roles (#6803) 2023-08-03 08:58:36 +02:00
services feat(core): Add commands to workers to respond with current state (#7029) 2023-09-07 14:44:19 +02:00
shared refactor(core): Improve instance owner setup and add unit tests (no-changelog) (#5499) 2023-02-17 10:59:09 +01:00
ActiveExecutions.test.ts refactor(core): Reduce boilterplate code in between tests 🧹, and fix the tests in node.js 20 (no-changelog) (#6654) 2023-07-13 10:14:48 +02:00
ActiveWorkflowRunner.test.ts feat: External Secrets storage for credentials (#6477) 2023-08-25 10:33:46 +02:00
CredentialsHelper.test.ts ci: Expand ESLint to tests in BE packages (no-changelog) (#6147) 2023-05-02 10:37:19 +02:00
CredentialTypes.test.ts refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
CurlConverterHelper.test.ts ci: Expand ESLint to tests in BE packages (no-changelog) (#6147) 2023-05-02 10:37:19 +02:00
Helpers.ts ci: Expand ESLint to tests in BE packages (no-changelog) (#6147) 2023-05-02 10:37:19 +02:00
License.test.ts test: Fix license tests when tenantId is not default (no-changelog) (#6977) 2023-08-21 10:29:21 +02:00
PermissionChecker.test.ts refactor(core): Move all user DB access to UserRepository (#6910) 2023-08-22 15:58:05 +02:00
PostHog.test.ts feat(core): Remove all floating promises. Enforce @typescript-eslint/no-floating-promises (#6281) 2023-05-24 02:01:45 +02:00
SourceControl.test.ts feat(core): Add rsa option to ssh key generation (#7154) 2023-09-14 11:34:51 +02:00
Telemetry.test.ts fix(core): Do not track errored workflow executions for automated executions (no-changelog) (#6322) 2023-05-28 12:08:46 +02:00
utils.test.ts fix(core): Better error message in Webhook node when using the POST method 2023-05-02 17:27:05 +03:00
webhooks.test.ts fix(Respond to Webhook Node): Return headers in response (#6921) 2023-08-14 12:38:17 +02:00
WorkflowCredentials.test.ts feat(core): Remove all floating promises. Enforce @typescript-eslint/no-floating-promises (#6281) 2023-05-24 02:01:45 +02:00
WorkflowExecuteAdditionalData.test.ts refactor(core): Set up ExecutionMetadata service (no-changelog) (#7103) 2023-09-05 09:13:30 +02:00
WorkflowHelpers.test.ts refactor(core): Abstract away duplication when finding first pinned trigger (no-changelog) (#5927) 2023-08-10 15:06:16 +03:00