Implement trussed-auth API#1
Conversation
|
I've tested this in the firmware and it appears to work reliably, though the initial testing did lead to inconsistent state between the filesystem and the SE050 which lead to failures, this suggests that some improvements to error handling could be done and that a full device factory reset will likely be useful, at least to expose the factory reset of the SE050 some way for developers. |
|
@sosthene-nitrokey ELI5 here would be really really appreciated for downstream projects. Sorry for the request, but I would prefer high level explanation then to dig down this rabbit hole and follow the rabbit. |
|
This repo will contain an implementation of the trussed APIs through the SE050 secure element rather than the current software implementation. This PR adds an implementation of the russed-auth APIs.
Future PR will implement the required APIs for asymmetric crypto operations (ECC and RSA), and key wrapping. This is currently heavily WIP and should not be used in production. |
|
Heads users having bought NK3 keys are starting to ask questions on traditional communication channels. I answered the best I could. Crosslinking to linuxboot/heads#1469 |
|
Ok, I understand. You are asking whether this will allow supporting RSA3072 generated on the device for heads support. This work will indeed lead to that, but in another PR. |
55a2f6f to
09c7d1c
Compare
Since this is amongst the most security-sensible parts of the entire backend, it should be thoroughly reviewed.
See the se050 notes and key derivation schema on the nextcloud for the approach taken.