Commit Graph
49 Commits
Author SHA1 Message Date
Sosthène Guédon 01c2ee89a5 Fix tests 2023-11-13 11:31:37 +01:00
Sosthène Guédon 62235294bd Adapt to updated trussed 2023-11-13 11:31:10 +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
Sosthène GuédonandRobin Krahl 1d15014d43 Fix salt path 2023-04-05 16:18:34 +02:00
Sosthène Guédonandsosthene-nitrokey 1653e5199e Move global state v0.2.0 2023-04-05 15:08:11 +02:00
Sosthène Guédonandsosthene-nitrokey aba8721c99 Update path documentation 2023-04-05 15:08:11 +02:00
Sosthène Guédonandsosthene-nitrokey 0bc20bba83 Remove pin directory 2023-04-05 15:08:11 +02:00
Sosthène Guédonandsosthene-nitrokey ffc12b3019 Bump version 2023-04-05 15:08:11 +02:00
Sosthène Guédonandsosthene-nitrokey baadd64b41 Update changelog 2023-04-05 15:08:11 +02:00
Sosthène Guédonandsosthene-nitrokey 7d429cd831 Fix location of data
This is a temporary fix until trussed gives us a way to have a per-backend store of data
2023-04-05 15:08:11 +02:00