• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3# Copyright 2010 The ChromiumOS Authors
4# Use of this source code is governed by a BSD-style license that can be
5# found in the LICENSE file.
6
7if [ $# -ne 1 ]; then
8  echo "Usage: $0 <private_key_pem_file>"
9  echo "Reads data to sign from stdin, encrypted data is output to stdout"
10  exit 1
11fi
12
13openssl rsautl -sign -inkey "$1"
14