Rsa2048Sha256GenerateKeys.exe - generate security keys.
The Rsa2048Sha256GenerateKeys tool generates custom RSA 2048 SHA 256 public and private signing keys for firmware images.
-h, --help show this help message and exit--version show program's version number and exit-o [filename [filename ...]], --output [filename [filename ...]]specify the output private key filename in PEM format-i [filename [filename ...]], --input [filename [filename ...]]specify the input private key filename in PEM format--public-key-hash PUBLICKEYHASHFILEspecify the public key hash filename that is SHA 256hash of 2048 bit RSA public key in binary format--public-key-hash-c PUBLICKEYHASHCFILEspecify the public key hash filename that is SHA 256hash of 2048 bit RSA public key in C structure format-v, --verbose increase output messages-q, --quiet reduce output messages--debug [0-9] set debug level
The action was completed as requested.
The action failed.
In order to generate a new private key file (PEM file) and its matching public key file, run the command shown below. The names of the output files can be modified as needed.
The directory shown in the following example will need to exist or to be created:
Rsa2048Sha256GenerateKeys.exe –o c:\Keys\MyPrivateKey.pem –-public-key-hash c:\Keys\MyPublicKey.bin
Note: *The PEM file created contains a private key that must be protected. TianoCore nor Intel® Corporation provide facilities to protect the private key. Instead, you are responsible for the protection of private keys.
No known bugs.
Report bugs to [email protected]
Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at:
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.