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>
11 lines
313 B
Bash
Executable file
11 lines
313 B
Bash
Executable file
#!/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
|