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>
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user