Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def gen_rsa2048(keyfile, passwd): keys.RSA2048.generate().export_private(path=keyfile, passwd=passwd)
MCUboot's image signing and key management