summaryrefslogtreecommitdiff
path: root/src/ipa
diff options
context:
space:
mode:
authorKieran Bingham <kieran.bingham@ideasonboard.com>2020-09-09 12:56:07 +0100
committerKieran Bingham <kieran.bingham@ideasonboard.com>2020-09-24 10:56:22 +0100
commit4af45819d009bf5a0d2f61e044045c6accbb7142 (patch)
tree49f5b4efb9672d30a99fb28a35fbb158a7a5773b /src/ipa
parent131629d3a25f2e5879b96bdf7fa0377efdc2025b (diff)
libcamera: ipa: Move key generation to utils
Move the GPLv2 utilities used for generating public and private keys to the utilities subtree. Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'src/ipa')
-rwxr-xr-xsrc/ipa/gen-ipa-priv-key.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/ipa/gen-ipa-priv-key.sh b/src/ipa/gen-ipa-priv-key.sh
deleted file mode 100755
index 919751f2..00000000
--- a/src/ipa/gen-ipa-priv-key.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-# SPDX-License-Identifier: GPL-2.0-or-later
-# Copyright (C) 2020, Google Inc.
-#
-# Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
-#
-# gen-ipa-priv-key.sh - Generate an RSA private key to sign IPA modules
-
-key="$1"
-
-openssl genpkey -algorithm RSA -out "${key}" -pkeyopt rsa_keygen_bits:2048