Commit Graph
71 Commits
Author SHA1 Message Date
Sosthène Guédon 1b07b83111 Fix clippy warnings 2024-01-29 15:08:02 +01:00
Sosthène Guédon fb9116a554 Select the application even if the call to SELECT returns a non-success error code 2024-01-29 14:49:50 +01:00
Robin KrahlandNicolas Stalder a4b85418be Release v0.2.0 0.2.0 2023-11-22 14:43:28 +01:00
Sosthène Guédonandsosthene-nitrokey 915fc23710 Update changelog 2023-11-08 11:59:32 +01:00
Sosthène Guédonandsosthene-nitrokey 3fa6c64a6d Avoid use of .unwrap 2023-11-08 11:59:32 +01:00
Sosthène Guédonandsosthene-nitrokey d489d5e9a9 Fix compilation
The breakage was caused by a rebase
2023-11-08 11:59:32 +01:00
Sosthène Guédonandsosthene-nitrokey 2264dd19dc Fix test compilation 2023-11-08 10:55:55 +01:00
Sosthène Guédonandsosthene-nitrokey 066cb9493e Add interface to select call
This allows application that do not support NFC to reject operations comming from NFC
Previously Select calls could not be rejected.
2023-11-08 10:55:55 +01:00
Sosthène Guédonandsosthene-nitrokey f8d5e7738e Update changelog 2023-06-28 09:13:20 +02:00
Sosthène Guédonandsosthene-nitrokey 52026467ef Reject commands from multiple transports
Apdu-dispatch does not have proper support for multiple concurrent
transport since there are no separate selection for each app.

The proper solution would be to have separate buffers and selection per transport,
but that would also require apps to actually deal with multiple interfaces, which they currently do not.

This patch makes it so that the first command sets the used transport, and that
 any command comming from another transport will be rejected.
2023-06-28 09:13:20 +02:00
Sosthène Guédonandsosthene-nitrokey b72d5eb9f4 Add Channel helper type 2023-06-08 10:24:23 +02:00
Sosthène Guédonandsosthene-nitrokey e8a4bac865 Remove unused types.rs file 2023-06-08 10:24:23 +02:00
Sosthène Guédonandsosthene-nitrokey a6f00115ad Fix typo: Responder => Requester 2023-05-03 10:56:35 +02:00
Sosthène GuédonandRobin Krahl 0c183f9287 Bump changelog 2023-02-14 10:45:07 +01:00
Sosthène GuédonandRobin Krahl cf6fedc5b2 Migrate to interchange 0.3.0 2023-02-14 10:45:07 +01:00
Nicolas Stalder fcd5ad38a1 Fix URLs in Cargo.toml 0.1.2 2023-02-07 02:35:27 +01:00
Nicolas Stalder 5d42b24c90 Fix erroneous version 2023-02-07 02:33:55 +01:00
Sosthène GuédonandNicolas Stalder 64b9f639a4 Prepare release 1.2.0 2023-02-07 02:32:23 +01:00
Sosthène Guédonandsosthene-nitrokey ac7b277a6b Update changelog 2023-02-06 17:11:05 +01:00
Sosthène Guédonandsosthene-nitrokey fa83d6bca5 Add a new request type for incorrect commands and return errors for invalid Select commands 2023-02-06 17:11:05 +01:00
Sosthène Guédonandsosthene-nitrokey 41e45c3cc8 Fuzz target: fix clippy warnings 2023-02-06 16:54:51 +01:00
Sosthène Guédonandsosthene-nitrokey 65b8921a1c Add docs and fuzzing to the CI pipeline 2023-02-06 16:54:51 +01:00
Sosthène Guédonandsosthene-nitrokey 500c172202 Fix changelog 2023-02-06 16:54:51 +01:00
Sosthène Guédonandsosthene-nitrokey a134aba771 Add clippy and fmt to the CI 2023-02-06 16:54:51 +01:00
Sosthène Guédonandsosthene-nitrokey 28ac8cd592 Fix clippy warnings 2023-02-06 16:54:51 +01:00