Commit Graph

  • 77398ebffe GET_PHONON almost working Gridplus Javacard DevEnv 2019-06-24 17:39:12 -05:00
  • d8691851d2 Gets deposit test (mostly) working Gridplus Javacard DevEnv 2019-06-24 17:13:56 -05:00
  • cca6e859ad Finishes (and publicly exposes) serialization function Gridplus Javacard DevEnv 2019-06-23 17:54:14 -05:00
  • dbbfc9ea47 Removes bespoke implementation in favor of makeShort and getShort Apparently these functions are already built into the Util class. Great minds, I guess! Gridplus Javacard DevEnv 2019-06-23 17:32:07 -05:00
  • 324aa7eae7 Fixes compiler errors Gridplus Javacard DevEnv 2019-06-21 17:34:29 -05:00
  • a8c7225164 WIP - in the process of adding a serialization method Installation no longer working - want to see if it is related to these changes Gridplus Javacard DevEnv 2019-06-21 17:03:07 -05:00
  • 131f020f06 Adds test cases for getting/setting network descriptors Gridplus Javacard DevEnv 2019-06-21 15:58:24 -05:00
  • b2e8c30126 Adds APDUs for static Phonon functions. Still need to add tests Gridplus Javacard DevEnv 2019-06-21 14:26:28 -05:00
  • f8c9376ff0 Restricts loading of certs to a single cert (64 bytes) Given new thinking around Schnorr aggregation and Phonon design, it is no longer necessary to have more than one certificate. Gridplus Javacard DevEnv 2019-06-21 12:58:24 -05:00
  • f4952e6f57 Returns to Status' processInit(). We no longer need to get the UID there Gridplus Javacard DevEnv 2019-06-21 10:51:44 -05:00
  • 742080801a Adds basic deposit API Still needs to be tested Gridplus Javacard DevEnv 2019-06-20 14:47:58 -05:00
  • b822f7caa1 Adds initial Phonon data types Gridplus Javacard DevEnv 2019-06-20 10:45:03 -05:00
  • f9d59d4a29
    Merge pull request #24 from GridPlus/add-exportable-flag Aurash Kamalipour 2019-06-19 15:32:38 -05:00
  • 576cabb04b
    better SELECT response Michele Balistreri 2019-06-10 15:11:16 +02:00
  • e361281a96
    Update README.md Alex Miller 2019-05-30 16:40:24 -05:00
  • 42f92b56b5 Adds third option for masterSeedFlag and exports the flag with SELECT Gridplus Javacard DevEnv 2019-05-30 15:12:40 -05:00
  • 5e68adb79e
    build the cash applet Michele Balistreri 2019-05-24 11:44:45 +02:00
  • 09c725dcb2
    add (draft of) cash applet Michele Balistreri 2019-05-24 09:41:49 +02:00
  • c893156484
    Merge pull request #21 from GridPlus/dev Alex Miller 2019-05-20 10:06:36 -05:00
  • ac3c24852f
    closes #48 Michele Balistreri 2019-05-15 11:49:46 +02:00
  • a9f78a9c33
    Merge pull request #20 from GridPlus/update-cert-auth Aurash Kamalipour 2019-05-14 14:38:08 -05:00
  • dad57dfa18
    Update README.md Alex Miller 2019-05-14 14:31:19 -05:00
  • 4eb6f58b64 Fixes small bug in certs length prefixes Gridplus Javacard DevEnv 2019-05-14 13:02:44 -05:00
  • 0a79ed769e Updates TLV schema of exportCerts Gridplus Javacard DevEnv 2019-05-14 12:48:29 -05:00
  • 37a02165e6 Tests passing! Gridplus Javacard DevEnv 2019-05-14 11:13:49 -05:00
  • 918858b4e6 Still WIP - producing correct signatures, but cannot verify them in Java I am able to verify these signatures using Node's elliptic module, but for some reason the verification in these tests isn't working for these sigs. Gridplus Javacard DevEnv 2019-05-13 17:37:48 -05:00
  • 2aafefbb99 Successfully loading auth key and making signatures - tests still WIP Gridplus Javacard DevEnv 2019-05-13 13:10:08 -05:00
  • 3291f409c4 WIP - still can't get this to work, but saving state Gridplus Javacard DevEnv 2019-05-11 14:47:31 -05:00
  • 9fd498e5d6 Updates authenticate to sign and return pubkey This means we don't have to update selectApplet() and can just return a signature template (like the one in sign() via the authenticate() function Gridplus Javacard DevEnv 2019-05-10 15:13:43 -05:00
  • 65f1d92c1d Adds authentication keypair for better cert auth. Starts tests - WIP Gridplus Javacard DevEnv 2019-05-09 16:45:09 -05:00
  • b02f02aa84
    Merge pull request #19 from GridPlus/restrict-load-key Aurash Kamalipour 2019-05-08 17:17:55 -05:00
  • 6efa1ecf4f Removes offset from isEmpty Gridplus Javacard DevEnv 2019-05-08 17:13:00 -05:00
  • 04f28f296d Fixes bugs in error throwing and updates all tests Gridplus Javacard DevEnv 2019-05-08 17:04:23 -05:00
  • 03d34e83e4 Starts adding restriction to disallow overwriting seeds Gridplus Javacard DevEnv 2019-05-08 12:15:00 -05:00
  • 89402c7f03
    Merge pull request #12 from GridPlus/dev Alex Miller 2019-05-06 14:38:36 -04:00
  • 99675c2f04 Updates app version in build Gridplus Javacard DevEnv 2019-05-06 13:36:58 -05:00
  • 135e50737a Updates AID Gridplus Javacard DevEnv 2019-05-01 17:43:08 -05:00
  • 78157fbbc0
    Merge pull request #15 from GridPlus/update-init Aurash Kamalipour 2019-04-26 11:39:59 -05:00
  • 0c1657660a Removes extra stateful boolean Gridplus Javacard DevEnv 2019-04-26 11:34:50 -05:00
  • 8bdcba92f7
    Merge pull request #13 from GridPlus/update-init Aurash Kamalipour 2019-04-26 10:33:17 -05:00
  • 875f03ab6f Adds more descriptive variable names Gridplus Javacard DevEnv 2019-04-25 17:08:10 -05:00
  • 3ac7714930 Adds guard to prevent "re-init" being called when the card hasn't been initialized Gridplus Javacard DevEnv 2019-04-25 13:12:53 -05:00
  • cd1d68766f Adds re-init functionality so multiple devices may pair with the card Gridplus Javacard DevEnv 2019-04-25 10:13:29 -05:00
  • 1576538fa0 Merge branch 'dev' of github.com:GridPlus/status-keycard into dev Gridplus Javacard DevEnv 2019-04-23 15:21:11 -05:00
  • ff75b028ad Responds to generateKey() with the seed that has been generated. If the user has designated this as a "non-exportable" seed, this is the only time the seed will be shown. In future versions, we should deprecate this feature - it's mostly a hedge against bugs related to storing non-exportable seeds. Gridplus Javacard DevEnv 2019-04-23 15:19:56 -05:00
  • 7d21b1517f
    Merge pull request #5 from GridPlus/dev Alex Miller 2019-04-23 13:18:28 -05:00
  • b8fe8e78f7
    Minor tweaks to doc Alex Miller 2019-04-23 13:17:18 -05:00
  • 14695da5b8 Merge branch 'dev' of github.com:GridPlus/status-keycard into dev Gridplus Javacard DevEnv 2019-04-23 13:10:43 -05:00
  • 3bbc2d65e9 Updates prefixing length when exporting certs to display the actual length Previously we were just returning the full length of the storage space for certs. This would result in a lot of confusion if fewer than 3 certs were used or if certs were <CERT_LEN Gridplus Javacard DevEnv 2019-04-23 13:09:41 -05:00
  • d9e5152089
    Documents changes to applet Alex Miller 2019-04-23 10:28:53 -05:00
  • d0382b5761
    Merge pull request #11 from GridPlus/reduce-to-one-pairing-slot Aurash Kamalipour 2019-04-22 16:51:42 -05:00
  • 3c833161ae Adds very basic test to verify we can pair multiple times Gridplus Javacard DevEnv 2019-04-22 16:49:00 -05:00
  • f70cacbae3 Merge branch 'dev' of github.com:GridPlus/status-keycard into reduce-to-one-pairing-slot Gridplus Javacard DevEnv 2019-04-22 15:50:53 -05:00
  • df83b756f1 Merge branch 'dev' of github.com:GridPlus/status-keycard into dev Gridplus Javacard DevEnv 2019-04-22 15:49:40 -05:00
  • 8a01cc45db gitignores buildsrc/build Gridplus Javacard DevEnv 2019-04-22 15:47:55 -05:00
  • a52365102c Implements a single pairing slot, which can be overwritten by new pairings. Gridplus Javacard DevEnv 2019-04-22 15:46:28 -05:00
  • 88b9467a31
    Merge pull request #10 from GridPlus/sdk-test-fixes Alex Miller 2019-04-22 10:39:40 -05:00
  • b6241e2e80 Moves certs tests to the "GRIDPLUS SAFECARD TESTS" block Gridplus Javacard DevEnv 2019-04-19 11:24:34 -05:00
  • b45ae5288a Moves tests around and gets all tests (GridPlus and Status) working Gridplus Javacard DevEnv 2019-04-19 11:19:19 -05:00
  • a14facd750 Updates Status' ExportKey tests to work with SafeCards Our fork does not allow export of private keys, so we had to change some of their test conditions. This also commends out an offending block in our tests that causes SIGN tests to fail. It is very important that we figure out WHY that happens. Gridplus Javacard DevEnv 2019-04-18 17:04:10 -05:00
  • 1ce9af08fc Adds extensive ExportKey tests validating chaincode + intPubKey derivations Gridplus Javacard DevEnv 2019-04-18 14:10:35 -05:00
  • d5a74310f6 Merge branch 'dev' of github.com:GridPlus/status-keycard into sdk-test-fixes Gridplus Javacard DevEnv 2019-04-17 16:55:58 -05:00
  • cc11b18250
    Merge pull request #9 from GridPlus/update-export-key Alex Miller 2019-04-17 16:55:46 -05:00
  • 63fe2a8b9b Updates loadKey to wipe the seed when the user loads a key pair This prevents a state where a user imports a master key pair, but still has a seed on the card. In such a scenario, the seed would not correspond to the master key pair, which would be bad. We should simply wipe the seed whenever any keys are loaded (or replace the seed with another seed when that is loaded) Gridplus Javacard DevEnv 2019-04-17 14:35:55 -05:00
  • b3c7626000 Adds masterSeed tests Gridplus Javacard DevEnv 2019-04-17 13:15:54 -05:00
  • cbe62801ee Adds test for loading and exporting certs Gridplus Javacard DevEnv 2019-04-17 10:30:53 -05:00
  • 47d7b50ace test-harness: gradle fixes applied for gplus tests Gridplus Javacard DevEnv 2019-04-16 15:55:07 -05:00
  • e02b9cbd2e WIP: get test harness working again... Gridplus Javacard DevEnv 2019-04-16 11:29:05 -05:00
  • 3919036349 Adds ability to export chainCode and blocks export of private keys Gridplus Javacard DevEnv 2019-04-16 14:39:15 -05:00
  • c2529930c3
    Merge pull request #8 from GridPlus/add-seed-flag Aurash Kamalipour 2019-04-15 13:42:56 -05:00
  • 3db117a1da
    Merge pull request #7 from GridPlus/add-certs Aurash Kamalipour 2019-04-15 13:42:40 -05:00
  • 9ec317430c Throws an error if the masterSeedFlag is out of range Gridplus Javacard DevEnv 2019-04-15 13:01:24 -05:00
  • 59e0c6d78e A little bit of logic cleanup Gridplus Javacard DevEnv 2019-04-15 12:56:07 -05:00
  • 84524d9d58 Moves seed flagging to util function This can be called by existing APDUs - we don't need to create new ones Gridplus Javacard DevEnv 2019-04-15 10:24:23 -05:00
  • 716c2ab91d Explicitly sets flag to non-exportable for default key imports Gridplus Javacard DevEnv 2019-04-14 15:23:28 -05:00
  • f90a124974 Adds masterSeedFlag optionality to importing seeds Gridplus Javacard DevEnv 2019-04-14 15:20:06 -05:00
  • 48c1b1ff44 Adds id and length prefixes to seed and certs export functions Gridplus Javacard DevEnv 2019-04-14 09:52:23 -05:00
  • bf763661b5 Fixes loadCerts function. Certs-related functions now all working Gridplus Javacard DevEnv 2019-04-13 17:42:22 -05:00
  • 723af1c305 Gets EXPORT_CERTS working. No secure channel necessary. LOAD_CERTS is still WIP Gridplus Javacard DevEnv 2019-04-13 16:30:00 -05:00
  • 5863d83149 Adds instance UID to pre-init selectApplet() export. This allows us to get a unique identifier (which does not change after installation) before initializing the card. This allows us to sign the UID and put those certs on afterward Gridplus Javacard DevEnv 2019-04-13 13:04:38 -05:00
  • ab6d055f34 Adds loadCerts and exportCerts functionality Gridplus Javacard DevEnv 2019-04-13 12:14:06 -05:00
  • 111ad46e64 fix circleci build Jeremi Joslin 2019-04-13 09:56:16 +08:00
  • 4894318b68 update to circleci 2 Jeremi Joslin 2019-04-13 09:53:14 +08:00
  • 57270c5575 add continuous build Jeremi Joslin 2019-04-13 09:45:02 +08:00
  • 9b89be0071
    Merge pull request #2 from GridPlus/add-master-seed Alex Miller 2019-04-12 14:51:30 -05:00
  • 9185e2b71d Merge branch 'dev' of github.com:GridPlus/status-keycard into add-master-seed Gridplus Javacard DevEnv 2019-04-12 13:51:24 -05:00
  • efd26c0c0a
    Merge pull request #4 from GridPlus/master Alex Miller 2019-04-12 13:41:50 -05:00
  • 3da09935e7
    Merge pull request #3 from GridPlus/v2.3 Alex Miller 2019-04-12 13:40:46 -05:00
  • faa0af05b6 Fixes problems with storing and exporting masterSeed (related to offsets) Gridplus Javacard DevEnv 2019-04-12 13:37:49 -05:00
  • 9f53fba428 Adds exportSeed function Gridplus Javacard DevEnv 2019-04-11 15:31:58 -05:00
  • 551beaa1d6 Adds masterSeed byte array Gridplus Javacard DevEnv 2019-04-11 15:18:27 -05:00
  • 30236067ba Adds HMAC master seed Gridplus Javacard DevEnv 2019-04-10 17:20:05 -05:00
  • 3e49fe9626
    test GET DATA + STORE DATA Michele Balistreri 2019-04-09 12:56:54 +03:00
  • 7edee9c594
    implement GET DATA + STORE DATA Michele Balistreri 2019-04-09 10:40:47 +03:00
  • add5da6ce8
    use 2.2.1 SDK 2.2.1 Michele Balistreri 2019-04-08 10:34:50 +03:00
  • 29346c0668
    add missing 2 bytes when automatically adding length to NDEF Michele Balistreri 2019-04-05 19:16:00 +03:00
  • 21e9f66798
    use key-detecting SDK Michele Balistreri 2019-04-05 16:18:04 +03:00
  • bb8f89bf58 use released version of 2.2 SDK Michele Balistreri 2019-04-04 11:41:14 +03:00
  • 6e0a86c300 update version number also in gradle build file Michele Balistreri 2019-04-04 11:35:13 +03:00
  • 0d650d0838 more tolerant SET NDEF 2.2 Michele Balistreri 2019-04-04 11:27:20 +03:00