Trying to switch back to spark cloud from my local cloud. I didn’t back up keys so tried using keys doctor but get Error - Permission Denied. I am logged into spark cloud and I can see my other spark core using spark list. Device id redacted.
E:\Users\keithblack\spark>spark keys doctor XXXXXXXXXXXXXXXXXXXXXXX running dfu-util -l FOUND DFU DEVICE 1d50:607f running openssl genrsa -out XXXXXXXXXXXXXXXXXXXXXXX_new.pem 1024 running openssl rsa -in XXXXXXXXXXXXXXXXXXXXXXX_new.pem -pubout -out XXXXXXXXXXXXXXXXXXXXXXX_new.pub.pem running openssl rsa -in XXXXXXXXXXXXXXXXXXXXXXX_new.pem -outform DER -out XXXXXXXXXXXXXXXXXXXXXXX_new.der New Key Created! running dfu-util -l FOUND DFU DEVICE 1d50:607f running dfu-util -l FOUND DFU DEVICE 1d50:607f running dfu-util -d 1d50:607f -a 1 -s 0x00002000:1024 -U pre_XXXXXXXXXXXXXXXXXXXXXXX_new.der running openssl rsa -in pre_XXXXXXXXXXXXXXXXXXXXXXX_new.der -inform DER -pubout -out pre_XXXXXXXXXXXXXXXXXXXXXXX_new.pub.pem Saved! checking file XXXXXXXXXXXXXXXXXXXXXXX_new.der spawning dfu-util -d 1d50:607f -a 1 -i 0 -s 0x00002000:leave -D XXXXXXXXXXXXXXXXXXXXXXX_new.der dfu-util 0.7 Copyright 2005-2008 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2012 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to firstname.lastname@example.org Filter on vendor = 0x1d50 product = 0x607f Opening DFU capable USB device... ID 1d50:607f Run-time device DFU version 011a Found DFU: [1d50:607f] devnum=0, cfg=1, intf=0, alt=1, name="@SPI Flash : SST25x/0x00000000/512*04Kg" Claiming USB DFU Interface... Setting Alternate Setting #1 ... Determining device status: state = dfuUPLOAD-IDLE, status = 0 aborting previous incomplete transfer Determining device status: state = dfuIDLE, status = 0 dfuIDLE, continuing DFU mode device DFU version 011a Device returned transfer size 1024 No valid DFU suffix signature Warning: File has no DFU suffix DfuSe interface name: "SPI Flash : SST25x" Downloading to address = 0x00002000, size = 610 . File downloaded successfully Transitioning to dfuMANIFEST state Error during download get_status Saved! attempting to add a new public key for core XXXXXXXXXXXXXXXXXXXXXXX submitPublicKey got error: Permission Denied Make sure your core is in DFU mode (blinking yellow), and that your computer is online. Error - Permission Denied E:\Users\keithblack\spark>spark keys send XXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXX_new.pub.pem attempting to add a new public key for core XXXXXXXXXXXXXXXXXXXXXXX submitPublicKey got error: Permission Denied