Zero length keys not supported when generating persistent keys #50

Closed
opened 2019-02-11 10:26:18 -06:00 by dgreen-arm · 2 comments
dgreen-arm commented 2019-02-11 10:26:18 -06:00 (Migrated from github.com)

Description

psa_save_generated_persistent_key does not support zero-length keys on all platforms. This has been missed due to not having a test for zero-length raw keys.

Issue request type

[ ] Question
[ ] Enhancement
[x] Bug
### Description `psa_save_generated_persistent_key` does not support zero-length keys on all platforms. This has been missed due to not having a test for zero-length raw keys. ### Issue request type [ ] Question [ ] Enhancement [x] Bug
ciarmcom commented 2019-02-11 15:42:00 -06:00 (Migrated from github.com)

Internal Jira reference: https://jira.arm.com/browse/IOTCRYPT-671

*Internal Jira reference: https://jira.arm.com/browse/IOTCRYPT-671*
gilles-peskine-arm commented 2019-09-12 10:06:39 -05:00 (Migrated from github.com)

We're going to forbid zero-length keys, in part because they cause issues like this one. I'm working on it.

We're going to forbid zero-length keys, in part because they cause issues like this one. I'm working on it.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-ARMmbed/mbed-crypto#50
No description provided.