author | Stefan Klug <stefan.klug@ideasonboard.com> | 2025-02-13 20:35:56 +0100 |
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2025-02-24 23:26:08 +0200 |
commit | d4545edb38e2e58d4231fe83f61d766ca2b730fc (patch) |
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2020, Google Inc.
#
# Author: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
#
# ipa-sign.sh - Generate a signature for an IPA module
key="$1"
input="$2"
output="$3"
openssl dgst -sha256 -sign "${key}" -out "${output}" "${input}"