GlobalPlatformPro | via command line or from your Java project | SDK library
kandi X-RAY | GlobalPlatformPro Summary
kandi X-RAY | GlobalPlatformPro Summary
The promise of GlobalPlatformPro is similar to OpenSSL:. Why buy a smart card software kit as a black box when you can get an open one for free?. In regard to GlobalPlatform, the goal is to make simple operations like installing and removing applets and locking the card with new keys as easy as next-next-done - you don't have to know the whole Global Platform specification by heart for that or buy a piece of proprietary software for a few hundred euros! For all those features that are not described in the GlobalPlatform specification that actually make your card work... you still have to use those proprietary commands, but OpenKMS GlobalPlatformPro toolkit's flexibility (and its license) should allow you to do that as well.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Main entry point
- Pretty print card capabilities
- Establishes a secure secure channel using the given security keys
- Runs all APD BOs
- Internal use of encrypt
- Returns the KVCV for the specified key
- Calculates the session key
- Derive session key
- Starts the downloader
- Downloads a file from the given URL
- Unwraps the response
- Convert the given text to a byte array
- Encrypt data
- Converts a PEM file to a private key
- Calculates the Kv using AES - 0
- Gets the card keys
- Wrap a command
- Returns a string representation of this card
- Extracts the Dtbs from a command descriptor
- Converts a PEM file to a PublicKey
- Populate visa
- Reads a key from a file
- Returns the GP key information
GlobalPlatformPro Key Features
GlobalPlatformPro Examples and Code Snippets
Community Discussions
Trending Discussions on GlobalPlatformPro
QUESTION
I am trying to install an applet on a JavaCard using GlobalPlatformPro, however keep getting the error code 6985 - conditions of use not satisfied. I have done some research and found that this could mean the card is locked?
Installing an applet is the first thing I tried to do when I got this error so I haven't (at least purposefully) locked it myself.
When listing all the applets on the card my applet is there, but listed as 'LOADED' and not 'SELECTABLE' which I believe it should be.
Is there a way I can inlock the card? Or is this another issue?
...ANSWER
Answered 2022-Mar-22 at 18:18Your card is not locked. If the card is locked you cannot list the applets anymore. The mutual authentication would also fail, only "selection of the application with the Final Application privilege." according to GP 2.3.1 is possible.
If the applet could get loaded but not installed, i.e. the loading succeeded and the package is on the card but the instantiation failed, this means usually that an exception was thrown in the constructor or the install
method. Debug your code by removing code until the installation works to find the erroneous code line. It could also be that an applet with the same instance AID is already on the card.
QUESTION
Download applet does not work anymore since i changed all 3 default key.
i can authenticate with this script GPShell
...ANSWER
Answered 2020-Sep-05 at 14:41(Given you already resolved your problem with PyApduTool in this question by editing the configuration file)
You must specify key value which GlobalPlatformPro should use (otherwise it uses the well-known default key with value 404142434445464748494A4B4C4D4E4F
):
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install GlobalPlatformPro
You can use GlobalPlatformPro like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the GlobalPlatformPro component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page