-
Notifications
You must be signed in to change notification settings - Fork 548
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix .der output in
talosctl gen secureboot
PEM was converted to DER incorrectly when the output was a X509 certificate and not a public key. Skip unnecessary parsing of it to an RSA public key before writing it in DER format as output. Simplify the code as we do not generate `*-signing-public-key.pem` anymore. Signed-off-by: Utku Ozdemir <[email protected]> (cherry picked from commit cc06b5d)
- Loading branch information
1 parent
0191c3b
commit 3576d11
Showing
2 changed files
with
11 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters