| Message ID | 20260408075540.53309-3-hpa@redhat.com |
|---|---|
| State | New |
| Headers | show |
| Series |
|
| Related | show |
diff --git a/utils/codegen/gen-ipa-pub-key.py b/utils/codegen/gen-ipa-pub-key.py index dc3e7d5f..9854c0c2 100755 --- a/utils/codegen/gen-ipa-pub-key.py +++ b/utils/codegen/gen-ipa-pub-key.py @@ -21,7 +21,7 @@ def main(argv): output = argv[3] try: - ret = subprocess.run(['openssl', 'rsa', '-pubout', '-in', priv_key, + ret = subprocess.run(['openssl', 'pkey', '-pubout', '-in', priv_key, '-outform', 'DER'], stdout=subprocess.PIPE) except FileNotFoundError:
The command "openssl ras" was replaced with "openssl pkey" to cover different key algorithms. Signed-off-by: Kate Hsuan <hpa@redhat.com> --- utils/codegen/gen-ipa-pub-key.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)