sparkfun / SparkFun_ATECCX08a_Arduino_Library

An Arduino library to use with the Microchip ATECCX08a Cryptographic Co-processors.
https://www.sparkfun.com
Other
36 stars 18 forks source link

Arduino WAN 1310 signing issue #13

Closed perone closed 2 years ago

perone commented 2 years ago

Hi, I did the initial config and locking on an Arduino WAN 1310 and everything went well, except that it is not able to sign a message, is this something known ? I guess it could be related to the key type but I'm not sure what other reasons it could be, the loadTempKey is returning true but the signTempKey is returning false for the slot 0. Any help would be appreciated.

perone commented 2 years ago

I found the issue, it turns out that it was because of the delay for the signing op, it was always taking more time than specified in the datasheet, I'll submit a PR.

lewispg228 commented 2 years ago

Pull request #14 merged. Closing this issue. Thanks again @perone !