Skip to content

Commit

Permalink
Release 2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanpierrefortune committed May 14, 2024
1 parent a7dd262 commit c35158e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [2.0.1] - 2024-05-14
### Fixed
- Hex/dec conversion issue in card check procedure.
### Upgraded
- Keypop Reader API `2.0.0` -> `2.0.1`
- Keypop Calypso Card API `2.0.0` -> `2.1.0`
Expand All @@ -28,5 +32,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added
- CI/CD: Added a GitHub action that builds and tests the code on every push to the repository.

[unreleased]: https://github.com/calypsonet/calypso-card-analyzer/compare/2.0.0...HEAD
[unreleased]: https://github.com/calypsonet/calypso-card-analyzer/compare/2.0.1...HEAD
[2.0.1]: https://github.com/calypsonet/calypso-card-analyzer/compare/2.0.1...2.0.0
[2.0.0]: https://github.com/calypsonet/calypso-card-analyzer/releases/tag/2.0.0
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,7 @@ public static byte[] getTraceabilityInfo(List<String> aidList) {
.createFreeTransactionManager(cardReader, calypsoCard);
cardTransactionManager
.prepareGetData(GetDataTag.TRACEABILITY_INFORMATION)
.processCommands(
ChannelControl
.KEEP_OPEN); // FIXME Check if CLOSE_AFTER is needed here (Android NFC)
.processCommands(ChannelControl.KEEP_OPEN);

return calypsoCard.getTraceabilityInformation();
}
Expand Down Expand Up @@ -260,6 +258,7 @@ public static void main(String[] args) {
// SV -, - GEN AID -
List<String> aidList =
Arrays.asList(
"A0000004040125009101",
"A000000291FF91",
"A000000291FF92",
"A000000291A000000191",
Expand All @@ -268,8 +267,6 @@ public static void main(String[] args) {
"315449432E",
"304554502E",
"A000000291");
// Arrays.asList("A000000291FF91", "A000000291FF92", "A000000291A000000191", "D276000085",
// "334D54522E", "315449432E", "304554502E");

byte[] traceabilityInfo = getTraceabilityInfo(aidList);

Expand Down

0 comments on commit c35158e

Please sign in to comment.