Skip to content
  1. Jun 06, 2019
    • developer4's avatar
      version 5.0.9 · 221de75b
      developer4 authored
      -BugFix: opening uFR device using ReaderOpenEX() not working for Virtual COM port on Linux since library version 4.4.2. ReaderOpenEX() was also unstable in library 4.4.1. Last good known library version, regarding ReaderOpenEX() using Virtual COM port on Linux, is 4.3.16. Library version 4.3.16 was issued right before 4.4.1. Problem is fixed now in version 5.0.9.
      
      -BugFix: frequently returned UFR_COMMUNICATION_BREAK and UFR_COMMUNICATION_ERROR on Raspbian and macOS, from various uFR communication functions, has been fixed.
      5.0.9
      221de75b
  2. May 16, 2019
    • developer4's avatar
    • developer4's avatar
      version 5.0.8 · 8785023c
      developer4 authored
      Implemented support for JC DL Storage cards.
      New functions:
      UFR_STATUS DL_API SetISO14443_4_DLStorage(void);
      UFR_STATUS DL_API JCStorageGetFilesListSize(VAR uint32_t *list_size);
      UFR_STATUS DL_API JCStorageListFiles(OUT uint8_t *list, uint32_t list_bytes_allocated);
      UFR_STATUS DL_API JCStorageGetFileSize(uint8_t card_file_index, VAR uint32_t *file_size);
      UFR_STATUS DL_API JCStorageReadFile(uint8_t card_file_index, OUT uint8_t *data, uint32_t data_bytes_allocated);
      UFR_STATUS DL_API JCStorageReadFileToFileSystem(uint8_t card_file_index, IN const char *file_system_path_name);
      UFR_STATUS DL_API JCStorageWriteFile(uint8_t card_file_index, IN const uint8_t *data, uint32_t data_size);
      UFR_STATUS DL_API JCStorageWriteFileFromFileSystem(uint8_t card_file_index, IN const char *file_system_path_name);
      UFR_STATUS DL_API JCStorageDeleteFile(uint8_t file_index);
      
      UFR_STATUS DL_API SetISO14443_4_DLStorageM(UFR_HANDLE hndUFR);
      UFR_STATUS DL_API JCStorageGetFilesListSizeM(UFR_HANDLE hndUFR, VAR uint32_t *list_size);
      UFR_STATUS DL_API JCStorageListFilesM(UFR_HANDLE hndUFR, OUT uint8_t *list, uint32_t list_bytes_allocated);
      UFR_STATUS DL_API JCStorageGetFileSizeM(UFR_HANDLE hndUFR, uint8_t card_file_index, VAR uint32_t *file_size);
      UFR_STATUS DL_API JCStorageReadFileM(UFR_HANDLE hndUFR, uint8_t card_file_index, OUT uint8_t *data, uint32_t data_bytes_allocated);
      UFR_STATUS DL_API JCStorageReadFileToFileSystemM(UFR_HANDLE hndUFR, uint8_t card_file_index, IN const char *file_system_path_name);
      UFR_STATUS DL_API JCStorageWriteFileM(UFR_HANDLE hndUFR, uint8_t card_file_index, IN const uint8_t *data, uint32_t data_size);
      UFR_STATUS DL_API JCStorageWriteFileFromFileSystemM(UFR_HANDLE hndUFR, uint8_t card_file_index, IN const char *file_system_path_name);
      UFR_STATUS DL_API JCStorageDeleteFileM(UFR_HANDLE hndUFR, uint8_t file_index);
      
      New helper function:
      c_string DL_API UFR_DLCardType2String(uint8_t dl_type_code);
      
      New error codes:
      UFR_FILE_SYSTEM_ERROR = 0x1003,
      UFR_FILE_SYSTEM_PATH_NOT_EXISTS = 0x1004,
      UFR_FILE_NOT_EXISTS = 0x1005,
      UFR_APDU_SW_WRONG_LENGTH = 0x000A6700,
      UFR_APDU_SW_AUTHENTICATION_METHOD_BLOCKED = 0x000A6983,
      UFR_APDU_SW_FILE_NOT_FOUND = 0x000A6A82
      
      Implemented fast reading mechanism for a JC DL Storage cards using extended APDU format for case 2E and water-level algorithm for PCD FIFO data retrieving using maximum reported FSD.
      For a fast reading mechanism functions SetISO14443_4_DLStorage() and JCStorageReadFile() / JCStorageReadFileToFileSystem() or SetISO14443_4_DLStorageM() and JCStorageReadFileM() / JCStorageReadFileToFileSystemM() have to be used.
      8785023c
    • developer4's avatar
      version 5.0.8 · 67420bd5
      developer4 authored
      Implemented support for JC DL Storage cards.
      New functions:
      UFR_STATUS DL_API SetISO14443_4_DLStorage(void);
      UFR_STATUS DL_API JCStorageGetFilesListSize(VAR uint32_t *list_size);
      UFR_STATUS DL_API JCStorageListFiles(OUT uint8_t *list, uint32_t list_bytes_allocated);
      UFR_STATUS DL_API JCStorageGetFileSize(uint8_t card_file_index, VAR uint32_t *file_size);
      UFR_STATUS DL_API JCStorageReadFile(uint8_t card_file_index, OUT uint8_t *data, uint32_t data_bytes_allocated);
      UFR_STATUS DL_API JCStorageReadFileToFileSystem(uint8_t card_file_index, IN const char *file_system_path_name);
      UFR_STATUS DL_API JCStorageWriteFile(uint8_t card_file_index, IN const uint8_t *data, uint32_t data_size);
      UFR_STATUS DL_API JCStorageWriteFileFromFileSystem(uint8_t card_file_index, IN const char *file_system_path_name);
      UFR_STATUS DL_API JCStorageDeleteFile(uint8_t file_index);
      
      UFR_STATUS DL_API SetISO14443_4_DLStorageM(UFR_HANDLE hndUFR);
      UFR_STATUS DL_API JCStorageGetFilesListSizeM(UFR_HANDLE hndUFR, VAR uint32_t *list_size);
      UFR_STATUS DL_API JCStorageListFilesM(UFR_HANDLE hndUFR, OUT uint8_t *list, uint32_t list_bytes_allocated);
      UFR_STATUS DL_API JCStorageGetFileSizeM(UFR_HANDLE hndUFR, uint8_t card_file_index, VAR uint32_t *file_size);
      UFR_STATUS DL_API JCStorageReadFileM(UFR_HANDLE hndUFR, uint8_t card_file_index, OUT uint8_t *data, uint32_t data_bytes_allocated);
      UFR_STATUS DL_API JCStorageReadFileToFileSystemM(UFR_HANDLE hndUFR, uint8_t card_file_index, IN const char *file_system_path_name);
      UFR_STATUS DL_API JCStorageWriteFileM(UFR_HANDLE hndUFR, uint8_t card_file_index, IN const uint8_t *data, uint32_t data_size);
      UFR_STATUS DL_API JCStorageWriteFileFromFileSystemM(UFR_HANDLE hndUFR, uint8_t card_file_index, IN const char *file_system_path_name);
      UFR_STATUS DL_API JCStorageDeleteFileM(UFR_HANDLE hndUFR, uint8_t file_index);
      
      New helper function:
      c_string DL_API UFR_DLCardType2String(uint8_t dl_type_code);
      
      New error codes:
      UFR_FILE_SYSTEM_ERROR = 0x1003,
      UFR_FILE_SYSTEM_PATH_NOT_EXISTS = 0x1004,
      UFR_FILE_NOT_EXISTS = 0x1005,
      UFR_APDU_SW_WRONG_LENGTH = 0x000A6700,
      UFR_APDU_SW_AUTHENTICATION_METHOD_BLOCKED = 0x000A6983,
      UFR_APDU_SW_FILE_NOT_FOUND = 0x000A6A82
      
      Implemented fast reading mechanism for a JC DL Storage cards using extended APDU format for case 2E and water-level algorithm for PCD FIFO data retrieving using maximum reported FSD.
      For a fast reading mechanism functions SetISO14443_4_DLStorage() and JCStorageReadFile() / JCStorageReadFileToFileSystem() or SetISO14443_4_DLStorageM() and JCStorageReadFileM() / JCStorageReadFileToFileSystemM() have to be used.
      67420bd5
    • developer2's avatar
      4073e6da
  3. May 14, 2019
  4. Apr 04, 2019
  5. Mar 27, 2019
    • developer4's avatar
      version 5.0.4 · 5a5b1734
      developer4 authored
      -Improved Linux and macOS time-out measurement.
      -Updated error descriptors in function: c_string UFR_Status2String(const UFR_STATUS status);
      -Windows dll: added details in file properties.
      -Windows dll: from now, SHA2-256 digest is in use for file signature.
      5.0.4
      5a5b1734
  6. Mar 20, 2019
  7. Mar 09, 2019
  8. Mar 07, 2019
  9. Mar 05, 2019
  10. Feb 05, 2019
  11. Jan 30, 2019
  12. Jan 25, 2019
    • developer4's avatar
      version 5.0.1 · f85a482d
      developer4 authored
      Implemented new DLSigner card instructions: INS_DEL_RSA_KEY_PAIR and INS_DEL_EC_KEY_PAIR using functions:
      UFR_STATUS DL_API JCAppDeleteRsaKeyPair(uint8_t key_index);
      UFR_STATUS DL_API JCAppDeleteEcKeyPair(uint8_t key_index);
      and
      UFR_STATUS DL_API JCAppDeleteRsaKeyPairM(UFR_HANDLE hndUFR, uint8_t key_index);
      UFR_STATUS DL_API JCAppDeleteEcKeyPairM(UFR_HANDLE hndUFR, uint8_t key_index);
      
      Added DLSigner card types:
      #define DLSigner81	0xA0
      #define DLSigner22	0xA1
      #define DLSigner30	0xA2
      #define DLSigner10	0xA3
      #define DLSigner145	0xAA
      
      Added static builds:
      linux/static-aarch64/libuFCoder-aarch64.a
      linux/static-armel/libuFCoder-armel.a
      linux/static-armhf/libuFCoder-armhf.a
      macos/static-x86_64/libuFCoder-x86_64.a
      5.0.1
      f85a482d
  13. Dec 14, 2018
  14. Nov 28, 2018
    • developer4's avatar
      version 4.4.5 · acf8185d
      developer4 authored
      For RSA key type fixed 1280 bits key size constraint.
      Added support for DL_J3H145 JCDL card type.
      Added JCAppGetEcKeySizeBits() and JCAppGetEcKeySizeBitsM() functions.
      4.4.5
      acf8185d
  15. Nov 23, 2018
  16. Nov 21, 2018
  17. Nov 20, 2018
  18. Nov 15, 2018
  19. Nov 13, 2018
  20. Nov 08, 2018
    • developer4's avatar
      version 4.3.16 · bb3c6f55
      developer4 authored
      Added functions for PIN and PUK codes manipulation in a JCApp cards:
      UFR_STATUS JCAppLogin(uint8_t SO, uint8_t *pin, uint8_t pinSize);
      UFR_STATUS JCAppGetPinTriesRemaining(dl_sec_code_t secureCodeType, uint16_t *triesRemaining);
      UFR_STATUS JCAppPinChange(dl_sec_code_t secureCodeType, uint8_t *newPin, uint8_t newPinSize);
      UFR_STATUS JCAppPinUnblock(uint8_t SO, uint8_t *puk, uint8_t pukSize);
      
      Added functions for asymmetric cryptography key pairs generation and manipulation in a JCApp cards:
      UFR_STATUS JCAppGenerateKeyPair(uint8_t key_type, uint8_t key_index, uint8_t key_designator, uint16_t key_bit_len, const uint8_t *params, uint16_t params_size);
      UFR_STATUS JCAppGetRsaPublicKey(uint8_t key_index, uint8_t *modulus, uint16_t *modulus_size, uint8_t *exponent, uint16_t *exponent_size);
      UFR_STATUS JCAppGetEcPublicKey(uint8_t key_index, uint8_t *keyW, uint16_t *kexWSize, uint8_t *field, uint16_t *field_size, uint8_t *ab , uint16_t *ab_size, uint8_t *g, uint16_t *g_size, uint8_t *r, uint16_t *r_s...
      4.3.16
      bb3c6f55
  21. Nov 05, 2018
  22. Sep 20, 2018
  23. Sep 03, 2018
    • developer2's avatar
      Version 4.3.13. Mifare Plus card support, Ultralight C external authentication support · 421163f5
      developer2 authored
      new functions for uFR PLUS devices only
      //MIFARE PLUS
      UFR_STATUS DL_API MFP_WritePerso(uint16_t address, uint8_t *data);
      UFR_STATUS DL_API MFP_CommitPerso(void);
      UFR_STATUS DL_API MFP_PersonalizationMinimal(uint8_t *card_master_key, uint8_t *card_config_key,
      						uint8_t *level_2_switch_key, uint8_t *level_3_switch_key, uint8_t *level_1_auth_key,
      						uint8_t *select_vc_key, uint8_t *prox_chk_key, uint8_t *vc_poll_enc_key, uint8_t *vc_poll_mac_key);
      UFR_STATUS DL_API MFP_SwitchToSecurityLevel3(uint8_t key_index);
      UFR_STATUS DL_API MFP_SwitchToSecurityLevel3_PK(uint8_t *aes_key);
      UFR_STATUS DL_API MFP_AesAuthSecurityLevel1(uint8_t key_index);
      UFR_STATUS DL_API MFP_AesAuthSecurityLevel1_PK(uint8_t *aes_key);
      UFR_STATUS DL_API MFP_ChangeMasterKey(uint8_t key_index, uint8_t *new_key);
      UFR_STATUS DL_API MFP_ChangeMasterKey_PK(uint8_t *old_key, uint8_t *new_key);
      UFR_STATUS DL_API MFP_ChangeConfigurationKey(uint8_t key_index, uint8_t *new_key);
      UFR_STATUS DL_API MFP_ChangeConfigurationKey_PK(uint8_t *old_key, uint8_t *new_key);
      UFR_STATUS DL_API MFP_FieldConfigurationSet(uint8_t configuration_key_index, uint8_t rid_use, uint8_t prox_check_use);
      UFR_STATUS DL_API MFP_FieldConfigurationSet_PK(uint8_t *configuration_key, uint8_t rid_use, uint8_t prox_check_use);
      UFR_STATUS DL_API MFP_ChangeSectorKey(uint8_t sector_nr, uint8_t auth_mode, uint8_t key_index, uint8_t *new_key);
      UFR_STATUS DL_API MFP_ChangeSectorKey_PK(uint8_t sector_nr, uint8_t auth_mode, uint8_t *old_key, uint8_t *new_key);
      UFR_STATUS DL_API MFP_GetUid(uint8_t key_index_vc_poll_enc_key, uint8_t key_index_vc_poll_mac_key, uint8_t *uid, uint8_t *uid_len);
      UFR_STATUS DL_API MFP_GetUid_PK(uint8_t *vc_poll_enc_key, uint8_t *vc_poll_mac_key, uint8_t *uid, uint8_t *uid_len);
      UFR_STATUS DL_API MFP_ChangeVcPollingEncKey(uint8_t configuration_key_index, uint8_t *new_key);
      UFR_STATUS DL_API MFP_ChangeVcPollingEncKey_PK(uint8_t *configuration_key, uint8_t *new_key);
      UFR_STATUS DL_API MFP_ChangeVcPollingMacKey(uint8_t configuration_key_index, uint8_t *new_key);
      UFR_STATUS DL_API MFP_ChangeVcPollingMacKey_PK(uint8_t *configuration_key, uint8_t *new_key);
      
      //ULTRALIGHT C
      UFR_STATUS DL_API ULC_ExternalAuth_PK(uint8_t *key);
      UFR_STATUS DL_API ULC_write_3des_key_no_auth(uint8_t *new_3des_key);
      UFR_STATUS DL_API ULC_write_3des_key_factory_key(uint8_t *new_3des_key);
      UFR_STATUS DL_API ULC_write_3des_key(uint8_t *new_3des_key, uint8_t *old_3des_key);
      
      Functions for ISO7816 protokol support (SAM option only)
      UFR_STATUS DL_API APDU_switch_to_ISO7816_interface(void);
      UFR_STATUS DL_API close_ISO7816_interface_no_APDU(void);
      UFR_STATUS DL_API close_ISO7816_interface_APDU_ISO14443_4(void);
      UFR_STATUS DL_API APDU_switch_to_ISO14443_4_interface(void);
      UFR_STATUS DL_API APDU_switch_off_from_ISO7816_interface(void);
      421163f5
  24. Aug 29, 2018
  25. Aug 15, 2018
  26. Aug 09, 2018
  27. Aug 07, 2018
  28. Jun 20, 2018