Duplicate the credential management command as a vendor command (#527)

* Duplicate the credential management command as a vendor command

This permits to work with libfido2 and thus ssh-add. Fix #526.

* fix deploy_partition script
This commit is contained in:
Julien Cretin
2022-08-13 06:27:31 +02:00
committed by GitHub
parent c6d3f51b5f
commit d3e01d22fb
2 changed files with 10 additions and 5 deletions

View File

@@ -40,8 +40,8 @@ from tockloader import tab
from tools.configure import fatal, error, info, get_opensk_devices, get_private_key
OPENSK_VID_PID = (0x1915, 0x521F)
OPENSK_VENDOR_UPGRADE = 0x41
OPENSK_VENDOR_UPGRADE_INFO = 0x42
OPENSK_VENDOR_UPGRADE = 0x42
OPENSK_VENDOR_UPGRADE_INFO = 0x43
PAGE_SIZE = 0x1000
KERNEL_SIZE = 0x20000
APP_SIZE = 0x20000