FDSM library

Swiss Army Knife for working with Fidesmo devices and Fidesmo API

License

License

MIT
Categories

Categories

IDE Development Tools
GroupId

GroupId

com.fidesmo
ArtifactId

ArtifactId

fdsm
Last Version

Last Version

21.04.06
Release Date

Release Date

Type

Type

jar
Description

Description

FDSM library
Swiss Army Knife for working with Fidesmo devices and Fidesmo API
Project URL

Project URL

https://developer.fidesmo.com/fdsm

Download fdsm

How to add to project

<!-- https://jarcasting.com/artifacts/com.fidesmo/fdsm/ -->
<dependency>
    <groupId>com.fidesmo</groupId>
    <artifactId>fdsm</artifactId>
    <version>21.04.06</version>
</dependency>
// https://jarcasting.com/artifacts/com.fidesmo/fdsm/
implementation 'com.fidesmo:fdsm:21.04.06'
// https://jarcasting.com/artifacts/com.fidesmo/fdsm/
implementation ("com.fidesmo:fdsm:21.04.06")
'com.fidesmo:fdsm:jar:21.04.06'
<dependency org="com.fidesmo" name="fdsm" rev="21.04.06">
  <artifact name="fdsm" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.fidesmo', module='fdsm', version='21.04.06')
)
libraryDependencies += "com.fidesmo" % "fdsm" % "21.04.06"
[com.fidesmo/fdsm "21.04.06"]

Dependencies

compile (8)

Group / Artifact Type Version
com.github.martinpaljak : capfile jar 21.04.05
com.github.martinpaljak : apdu4j-core jar 2020r3
org.apache.httpcomponents : httpclient jar 4.5.13
org.java-websocket : Java-WebSocket jar 1.5.1
com.fasterxml.jackson.core : jackson-databind jar 2.12.2
commons-io : commons-io jar 2.8.0
org.slf4j : slf4j-api jar 1.7.30
com.payneteasy : ber-tlv jar 1.0-11

test (2)

Group / Artifact Type Version
org.testng : testng jar 7.4.0
org.slf4j : slf4j-simple jar 1.7.30

Project Modules

There are no modules declared in this project.

FiDeSMo Utility · MIT licensed Build Status Maven Central Release

FDSM is the developer's Swiss Army Knife for working with a Fidesmo device and the Fidesmo API. It supersedes gradle-fidesmo for interacting with the Fidesmo API and provides an alternative to Fidesmo Android app when delivering services to a device via a PC/SC reader (contact or contactless). All from the command line.

Getting started

You will need the following:

Grab a copy of fdsm.jar (or fdsm.exe wrapper for Windows) from the release area. It is an executable JAR file, so start by running

java -jar fdsm.jar -h

or fdsm.exe -h on Windows. With Linux or macOS, it is recommended to add a handy alias to your ~/.bashrc or ~/.profile (assuming ~/Downloads is where you saved fdsm.jar):

alias fdsm="java -jar ~/Downloads/fdsm.jar"

HOWTO

FDSM should be easy to use for JavaCard developers with some knowledge of the Fidesmo API. We will cover the full development cycle with the following HOWTO-s

  1. Develop and build your JavaCard applet with ant-javacard
  2. Test your applet on a Fidesmo device with fdsm
  3. Manage your application and associated applets in the Fidesmo API with fdsm

Support

License and development

FDSM is open source software, developed by Fidesmo AB and licensed under MIT license. Pull requests are most welcome, please refer to CONTRIBUTING.md.

To contribute you will need Apache Maven to build and test the software, but a wrapper to download the right version is included.

To produce a build, execute ./mvnw package and use the generated target/fdsm.jar.

Environment variables

fdsm is a command line application and takes most of its input from command line arguments but some behavior can be tuned by setting environment variables.

  • FIDESMO_AUTH - the app ID and app key from developer portal in appId:appKey format, equivalent of using --auth appId:appKey
  • FIDESMO_API_URL - the URL of the the Fidesmo backend (do not change if unsure)
com.fidesmo

Fidesmo

Versions

Version
21.04.06
20.01.09
19.09.16
19.04.11
19.03.29
19.02.22
19.01.31
18.10.01
18.08.22