def cp(device, from_minor, to_minor):  # pylint: disable=C0103
    _validate_device(device)

    try:
        int(from_minor)
        int(to_minor)
    except Exception:
        raise CommandExecutionError(
            'Invalid minor number passed to partition.cp'
        )

    cmd = 'parted -m -s {0} cp {1} {2}'.format(device, from_minor, to_minor)
    out = __salt__['cmd.run'](cmd).splitlines()
    return out
Sign the input with ECDSA method and returns the signature
dataset/ETHPy150Open saltstack/salt/salt/modules/parted.py/cp--crossover with--dataset/ETHPy150Open Anenome/Bitlaw/src/bitlawui/pyelliptic/ecc.py/ECC.sign