Commit Graph
56 Commits
Author SHA1 Message Date
Sosthène Guédon a73f23c3d6 Use DecryptedKey abstraction 2024-03-27 16:50:34 +01:00
Sosthène Guédon 4918709ce5 Implement deriving X25519 keys from pins 2024-03-27 15:42:16 +01:00
Sosthène Guédon f2bee120b4 Implement X25519 key generation 2024-03-27 15:42:16 +01:00
Sosthène Guédon e3e02eebaf Change key (de) serialization to allow using X25519 keys 2024-03-27 15:42:16 +01:00
Sosthène Guédon f21406ecb5 Add tests for current serialization of PIN data
This will ensure that deserialization still works
2024-03-27 15:42:16 +01:00
Sosthène Guédon baa9c22582 Fix formatting of documentation 2024-03-27 15:42:15 +01:00
Robin Krahl becc5a39d9 Release v0.3.0 v0.3.0 2024-03-22 12:16:39 +01:00
Sosthène Guédonandsosthene-nitrokey 4b8191f248 Fix tests 2023-11-13 17:23:43 +01:00
Sosthène Guédonandsosthene-nitrokey 907e201f06 Adapt to updated trussed 2023-11-13 17:23:43 +01:00
Sosthène Guédonandsosthene-nitrokey 9839e90f4f Fix CI 2023-11-13 11:30:47 +01:00
Sosthène Guédonandsosthene-nitrokey 807c120f43 Use core library hex parsing 2023-11-13 11:30:47 +01:00
Sosthène Guédonandsosthene-nitrokey 9f44fe1288 Add pin id parsing from path
This is useful for factory resets in other implementations that might need
to parse all the Pin data and don't use the delete_all filestore methods.
2023-11-13 11:30:47 +01:00
Sosthène Guédonandsosthene-nitrokey 0da268da20 Make PinId methods public 2023-11-13 11:30:47 +01:00
Sosthène Guédonandsosthene-nitrokey 203a90dd13 Adapt to trussed support for interrupts 2023-06-21 08:30:00 +02:00
Sosthène Guédonandsosthene-nitrokey 5c522a7b8a Use upstream trussed 2023-06-09 16:13:47 +02:00
Sosthène Guédonandsosthene-nitrokey a93cf451b3 Update changelog 2023-06-09 16:13:47 +02:00
Sosthène Guédonandsosthene-nitrokey cc3e8564b8 Add reset_app_keys and reset_auth_data syscalls.
- `delete_all_pins` now doesn't affect application keys
- `reset_app_keys`: reset all application keys. Getting them again after calling this will not yield the same key
- `reset_auth_data` combines `delete_all_pins` and `reset_app_keys`

This is a breaking change and applications (trussed-secrets) relying on the old `delete_all_pins` behaviour will need to be fixed.
2023-06-09 16:13:47 +02:00
Robin Krahl d704b046ac Release v0.2.2 v0.2.2 2023-04-26 15:08:49 +02:00
Sosthène Guédonandsosthene-nitrokey f09a02d9e6 Fix application salt path
The path was duplicated because it is added in the filestore and in the salt path string
2023-04-26 14:43:34 +02:00
Sosthène GuédonandMarkus Meissner 6beabd125e Add tests for get_application_key 2023-04-25 16:19:39 +02:00
Sosthène GuédonandMarkus Meissner 92dbe32ac5 Add get_application_key method to clients 2023-04-25 16:19:39 +02:00
Sosthène GuédonandMarkus Meissner 1397030818 Add GetApplicationKey syscall 2023-04-25 16:19:39 +02:00
Robin Krahl 4f5bcf2026 Use CoreContext::new instead of initializing fields
To improve compatibility with upstream Trussed that will mark
CoreContext as non-exhaustive in 0.2.0, this patch replaces the
CoreContext field initializer with CoreContext::new.
2023-04-24 16:09:09 +02:00
Robin Krahl 4dcd9f1e2d Release v0.2.1 v0.2.1 2023-04-05 16:31:53 +02:00
Sosthène GuédonandRobin Krahl fd7241b7e2 Update changelog 2023-04-05 16:18:34 +02:00