Commit d4022576 authored by David Brown's avatar David Brown Committed by David Brown
Browse files

imgtool: Remove PKCS1.5 support

Support for PKCS1.5 has been removed from the bootloader for a while
now, remove it as well from the tool.

Signed-off-by: default avatarDavid Brown <david.brown@linaro.org>
parent 24454734
Loading
Loading
Loading
Loading
−4
Changes for scripts/imgtool.py: 0 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -49,8 +49,6 @@ def do_getpub(args):
        raise argparse.ArgumentTypeError(msg)

def do_sign(args):
    if args.rsa_pkcs1_15:
        keys.sign_rsa_pss = False
    img = image.Image.load(args.infile, version=args.version,
            header_size=args.header_size,
            included_header=args.included_header,
@@ -103,8 +101,6 @@ def args():
            help='Image has gap for header')
    sign.add_argument("--pad", type=intparse,
            help='Pad image to this many bytes, adding trailer magic')
    sign.add_argument("--rsa-pkcs1-15", help='Use old PKCS#1 v1.5 signature algorithm',
            default=False, action='store_true')
    sign.add_argument("infile")
    sign.add_argument("outfile")