Skip to content

Commit

Permalink
docs: add hint about converting key to PKCS#8 format
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
  • Loading branch information
daniel-weisse committed Feb 5, 2025
1 parent fa958b0 commit 0f890e0
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/versioned_docs/version-1.7/workflows/recover-coordinator.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,19 @@ Assuming you named your recovery key `recoverKey1` in the manifest, and you save
jq -r '.RecoverySecrets.recoverKey1' recovery_data | openssl base64 -d > recovery_key_encrypted
```

:::caution

If you generated the private recovery key using `openssl` version 1, the key will be in PKCS #1 format.
MarbleRun requires the key to be in PKCS #8 format.

Use the following command to convert the key:

```bash
openssl pkcs8 -topk8 -inform PEM -outform PEM -in private_key.pem -out private_key_pkcs8.pem -nocrypt
```

:::

Then decrypt and upload the extracted secret using the MarbleRun CLI:

```bash
Expand Down

0 comments on commit 0f890e0

Please sign in to comment.