Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix gradle scripts, update documentation, add support for SHA-256 hashes #9

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

pmaier-sysmo
Copy link

Dear Mr. Martel,

we are using your ara-m applet in our sysmoISIM / sysmoUSIM cards for quite some time now. For us and the users of our simcards it is a very useful piece of software. In particular in the development and research context it is very helpful to have a freely configurable ara-m applet.

Thank you for contributing your applet to the public!

In the fork I have created I have picked up the suggestions from martinpaljak and z3ntu. I also did a bit of cleanup and fixing to the gradle scripts and updated the documentation. The applet now supports SHA-256 hashes (z3ntu) and
should build again.

Please note that we use the github repository as a mirror, the primary repositoy (where we do our development) can be found under: https://gitea.osmocom.org/sim-card/aram-applet

best regards,
Philipp Maier

martinpaljak and others added 8 commits December 12, 2024 11:18
Signed-off-by: Philipp Maier <pmaier@sysmocom.de>
The url uses git@github.com, which seems not to work anymore, let's
use https://github.com

(as suggested by Luca Weiss <luca.weiss@fairphone.com>)
Unfortunately jcenter was shut down on August 15th, 2024, mavenCentral
is the recommended alternative.
Several artifacts required for building are no longer available since
bintray shut down.

While almost all required artifacts are available through alternative
sources (mavenCentral and javacard.pro), jcardsim seems to be no longer
available anywhere. (jcardsim is needed for to run the provided unittests)

Fortunately jcardsim has been archived, so let's configure the url so
gradle can fetch it again.
The provided gradle wrapper is outdated, so let's regenerate it.
The README.md needs needs an overhaul, some links are broken and the
commandlines to build the applet have slightly changed.
For storing SHA-256 signatures we need to increase the size to 32 bytes.
The previous 20 bytes were for SHA-1.

Signed-off-by: Philipp Maier <pmaier@sysmocom.de>
The applet now also supports SHA-256 hashes. Let's update the documentation
accordingly.
@z3ntu
Copy link

z3ntu commented Dec 13, 2024

Thanks for working on this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants