-
Notifications
You must be signed in to change notification settings - Fork 516
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]>
- Loading branch information
1 parent
1dbb4ab
commit cc06b5d
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