81 Commits
Author SHA1 Message Date
Robin Krahl 918cc584aa Release apdu-app v0.2.0 and apdu-dispatch v0.4.0 dispatch-0.4.0 app-0.2.0 2026-03-25 11:29:01 +01:00
Robin Krahl 7e64872c97 Add trusted publishing 2026-03-24 13:07:42 +01:00
Sosthène Guédon 931c4269d1 Fix CI 2025-10-06 16:16:08 +02:00
Sosthène Guédon 0cc45c27ff Fix clippy lint 2025-10-06 16:16:08 +02:00
Sosthène Guédon e7b3b2d8db Update to heapless 0.9.1 and iso7816 0.2.0 2025-10-06 16:16:08 +02:00
Sosthène Guédonandsosthene-nitrokey edf19e997a Dispatch: update changelog and prepare release 0.3.1
The 0.3.0 release was also not linked to in the changelog
0.3.1
2025-02-12 15:35:35 +01:00
Sosthène Guédonandsosthene-nitrokey 228013cecc Do not deselect applications if the application was not found 2025-02-12 14:58:52 +01:00
Robin Krahl 7e68a8d471 Release apdu-app v0.1.0 and apdu-dispatch v0.3.0 0.3.0 app-0.1.0 2024-10-18 09:47:43 +02:00
Robin Krahl c675f9107a Replace iso7816::Command with iso7816::command::CommandView
This allows us to drop one generic parameter from the App trait and
potentially generate more efficient code.
2024-08-13 17:55:56 +02:00
Robin Krahl 6994b0ae96 Extract app trait into apdu-app
Currently, all APDU applications depend on apdu-dispatch to implement
the App trait.  This means that they also need to be updated if the
dispatch implementation is changed.  This causes unnecessary releases
and maintenance work.  By introducing the apdu-app crate, we can change
the dispatch implementation without affecting the applications.
2024-06-05 13:25:02 +02:00
Sosthène Guédonandsosthene-nitrokey 1037f94b82 Fix clippy warnings 2024-02-16 11:50:13 +01:00
Sosthène Guédonandsosthene-nitrokey a4d938a33f Select the application even if the call to SELECT returns a non-success error code 2024-02-16 11:50:13 +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