Commit graph

  • f4eaca229d
    Copy card_caps information from PcscClient to PcscTxClient, if any Heiko Schaefer 2022-01-14 22:58:04 +0100
  • b6b2957580
    Naming; cleanup; logging for pcsc::initialize_card() Heiko Schaefer 2022-01-14 22:36:44 +0100
  • 514d055c90
    Run each test in a PCSC Transaction. Heiko Schaefer 2022-01-14 22:29:15 +0100
  • 5e7fcd079b
    Change CardApp API: take &mut CardClient parameter for all calls (instead of owning a CardClientBox). This way, clients can exert control over the state of the CardClient, e.g. to combine CardApp operations in a PCSC transaction. Heiko Schaefer 2022-01-14 01:47:01 +0100
  • b367043a12
    Implement a macro "start_tx!" for DRY transaction starting Heiko Schaefer 2022-01-10 11:59:41 +0100
  • 748c334403
    Implement TxClient to use pcsc with transactions (transaction opening code is duplicated) Heiko Schaefer 2022-01-01 17:52:49 +0100
  • 0baf36df67
    Restructure cards() and open_by_ident(); Add debug logging Heiko Schaefer 2021-12-12 21:52:02 +0100
  • 2c3bc492ab
    expect to find a running, shared pcscd instance (passed in from the runner VM) Heiko Schaefer 2021-12-31 16:29:33 +0100
  • f212822ccc
    Set RUST_LOG=debug in cookiejar CI. Heiko Schaefer 2021-12-23 22:28:42 +0100
  • 476f46dacc
    Simplify get_data() by splitting it into a one-byte- and two-byte-tag variant. Heiko Schaefer 2022-02-09 13:33:37 +0100
  • 8a899afb9d
    Fix/clean up limitation of data length. Heiko Schaefer 2022-02-08 19:00:18 +0100
  • 40f279684e
    workaround and test for "ledger nano s" quirks Heiko Schaefer 2022-01-25 13:01:15 +0100
  • 9cdc699745
    Fix for key generation: signing subkey was processed as a decryption subkey by mistake (this broke generation of 25519 keys) Heiko Schaefer 2022-02-04 14:47:42 +0100
  • 5e0007c7fd
    Add FIXME for construction of EdDSA public keys from a card Heiko Schaefer 2022-01-27 16:09:37 +0100
  • 65e192d728
    Clean up warnings Heiko Schaefer 2022-01-07 13:18:26 +0100
  • 29c7d5c550
    Fix RSA keygen parameters in the example config (e bitsize has been removed in 9984aca5b9) Heiko Schaefer 2021-12-30 18:18:03 +0100
  • 28e4200090
    Make pcsc usage less platform specific. Heiko Schaefer 2021-12-30 17:35:58 +0100
  • 873f2ed910
    Rename card-functionality example config, and add config/*toml to .gitignore, to adjust to the new option of individual config files per card. Heiko Schaefer 2021-12-26 11:47:54 +0100
  • 9a3b47f0fa
    Get pcsc card via PcscClient::open_by_ident(), instead of manually filtering it from a list of all cards. Heiko Schaefer 2021-12-12 21:50:30 +0100
  • f312ce94f7
    Configure caching of Rust build artifacts. puzzlewolf 2021-12-17 18:05:51 +0100
  • 4988ccea49
    Update debian test to bookworm puzzlewolf 2021-12-17 17:10:27 +0100
  • a45586cf13
    Use ykneo/smartpgp builddeps images for virtual Java Card tests. Remove unnecessary dockerfiles and run.sh. Make hardware-builddeps image to run hardware card tests on. Add license header and cleanup. puzzlewolf 2021-12-17 16:21:21 +0100
  • 1722e1b328
    Add hardware-OpenPGP card tests on cookiejar CI. Rename stages for clarity. puzzlewolf 2021-12-10 23:55:05 +0100
  • 3b089b83dc
    Add test configurations for physical cards in sequoia CI Heiko Schaefer 2021-12-10 23:19:18 +0100
  • 40d8639a26
    Take config file as parameter in test binaries Heiko Schaefer 2021-12-10 22:54:05 +0100
  • 7031158f5b
    Fix doctests Heiko Schaefer 2021-12-12 02:34:56 +0100
  • bba1c264dd
    release openpgp-card-sequoia 0.0.7 Heiko Schaefer 2021-12-12 01:36:50 +0100
  • 383f592865
    Don't apply Policy when picking (sub)key from Cert for sign/decrypt. Heiko Schaefer 2021-12-11 23:35:58 +0100
  • b04295543e
    Gracefully handle missing algorithm_information in generate_key_simple() Heiko Schaefer 2021-12-10 22:42:37 +0100
  • 487cc41160
    Disable caching in build_cardtest_ykneo and build_cardtest_smartpgp. Heiko Schaefer 2021-12-10 21:56:15 +0100
  • 9984aca5b9
    Adjust test configurations: Remove bitsize of e parameter for RSA from SimpleAlgo. Heiko Schaefer 2021-12-10 18:49:32 +0100
  • 953ee58120
    Don't fail to open the card when GET_FEATURE_REQUEST returns with an error (this is a problem when running on jcardsim). Heiko Schaefer 2021-12-10 17:51:21 +0100
  • c643397989
    Update openpgp-card-sequoia dependency version. Heiko Schaefer 2021-12-02 18:59:37 +0100
  • e5788f2a2c
    Bump version for release. Heiko Schaefer 2021-12-02 18:55:49 +0100
  • 413e8b7d2a
    Bump versions for releases. Heiko Schaefer 2021-12-02 18:45:46 +0100
  • e5b7f0c914
    Document usage with a cardreader that has a pinpad. Heiko Schaefer 2021-12-02 18:45:08 +0100
  • 4ff2cf8b2e
    Normalize naming: always use algo_info instead of algo_list. Heiko Schaefer 2021-12-02 18:01:55 +0100
  • 281bf403e3
    Normalize naming of "private use" DO related fn. Heiko Schaefer 2021-12-02 18:00:51 +0100
  • 133b290ae6
    Adjust getter fn naming. Heiko Schaefer 2021-12-02 17:29:30 +0100
  • 1dc178a7b2
    Documentation edits. Heiko Schaefer 2021-12-02 17:27:27 +0100
  • ddcd888834
    Refactor determine_ecc_attrs() for reusability. Use in AlgoSimple::determine_algo(). Heiko Schaefer 2021-12-02 15:44:30 +0100
  • b127046bd3
    Simplify gen_subkeys() now that AlgoSimple has simple, unambiguous values for RSA. Heiko Schaefer 2021-12-02 13:19:34 +0100
  • c37c34e525
    Remove bitsize of e parameter for RSA from SimpleAlgo. Use determine_rsa_attrs() to get a concrete Algo for a specific card from an AlgoSimple. Heiko Schaefer 2021-12-02 13:19:27 +0100
  • 10bdb32c45
    Refactor determine_rsa_attrs() to be more easily reusable for key generation. Heiko Schaefer 2021-12-02 13:13:28 +0100
  • 9739074b63
    Minor error handling/messaging cleanups. Heiko Schaefer 2021-12-01 22:23:22 +0100
  • 576110ecce
    Update comments. Heiko Schaefer 2021-12-01 22:21:28 +0100
  • ecd862e23f
    Remove "get_" prefix from getter function names (to better conform with Rust API Guidelines https://rust-lang.github.io/api-guidelines). Heiko Schaefer 2021-12-01 18:58:55 +0100
  • 9d87cddb60
    Minor tweaks in Display impl for Algo. Heiko Schaefer 2021-12-01 00:06:39 +0100
  • c4fcafc25b
    Slightly change format of status output for keys. Heiko Schaefer 2021-11-30 23:59:17 +0100
  • 2709b4ad39
    Implement pinpad feature detection and pinpad support for verify/modify (of pw1 and pw3) in pcsc backend. Heiko Schaefer 2021-11-26 01:07:49 +0100
  • a7fb5b2b2c
    Don't fail while enumerating readers, when a reader returns an error (just log). Heiko Schaefer 2021-11-29 21:26:16 +0100
  • 9e9cddc225
    Implement setting of 'identity' for NitroKey Start. Heiko Schaefer 2021-11-29 18:32:26 +0100
  • 9de79477b9
    Implement get_firmware_version (probably YubiKey specific) Heiko Schaefer 2021-11-23 19:52:06 +0100
  • 9930e7d420
    Clarified: the spec says the card will format accordingly. Heiko Schaefer 2021-11-22 19:24:09 +0100
  • f5eaa591cb
    Add comment to clarify unwrap Heiko Schaefer 2021-11-22 19:11:22 +0100
  • a439397c62
    Clippy fixes. Heiko Schaefer 2021-11-22 15:36:30 +0100
  • 7413b5c062
    Don't check cert revocation status when decrypting. Heiko Schaefer 2021-11-22 15:35:51 +0100
  • af673f537c
    Adjust error handling in CardSigner and CardDecryptor (for better error messages in tools, such as opgpcard). Refactor sq_utils, rename some fn for clarity. Heiko Schaefer 2021-11-16 21:02:16 +0100
  • a24db398b6
    Print PublicKeyMaterial for "status --verbose". Heiko Schaefer 2021-11-16 19:19:29 +0100
  • e695e8171a
    Implement 'Display' for PublicKeyMaterial Heiko Schaefer 2021-11-16 19:18:34 +0100
  • 874c28b7ff
    Add get_pub_key() Heiko Schaefer 2021-11-16 19:18:10 +0100
  • 13c8769ea3
    Case insensitive comparison of ident. Heiko Schaefer 2021-11-16 17:48:14 +0100
  • 0089c211ae
    In open_by_ident(), call to_ascii_uppercase() on user-provided ident (for case insensitive comparison). Heiko Schaefer 2021-11-16 17:46:14 +0100
  • 4c264a59b4
    Minor restructuring. Heiko Schaefer 2021-11-12 19:07:15 +0100
  • 994e10c2d7
    Minor restructuring, add some comments. Heiko Schaefer 2021-11-12 19:02:35 +0100
  • c84561d5e8
    Clarify SCD command size limitation comment and naming. Heiko Schaefer 2021-11-12 18:53:13 +0100
  • 90ae9398ed
    Adjust the backend API and interaction with openpgp-card some more. Heiko Schaefer 2021-11-12 18:47:56 +0100
  • 7a71f88eb6
    Rename Open::open() to Open::new() Heiko Schaefer 2021-11-11 16:37:23 +0100
  • d10cbe8eff
    clean up lints Heiko Schaefer 2021-11-11 15:32:34 +0100
  • d55985807c
    Change the API for interactions between openpgp-card and backends. The goal of this change is a cleaner structure, and in particular to make it the default for client-code to obtain a CardApp with pre-initialized "capabilities" (that is, init_caps() gets called implicitely). Heiko Schaefer 2021-11-11 15:28:44 +0100
  • 288a2a8325
    Add comments/assert for PSO: DECIPHER Heiko Schaefer 2021-11-09 16:43:59 +0100
  • 39e7eaa9cc
    Make pso_compute_digital_signature() and internal_authenticate() public. Heiko Schaefer 2021-11-08 11:39:14 +0100
  • 7bb2fcb497
    Wrap RSA-hashes in digestinfo, for internal_authenticate() in the new fn authenticate_for_hash(). Heiko Schaefer 2021-11-07 20:15:24 +0100
  • 1220b39498
    List the non-library crates under the architecture diagram. Heiko Schaefer 2021-11-07 00:47:04 +0100
  • 22bbf77707
    Add examples for passing PINs via file-descriptors. Heiko Schaefer 2021-11-06 12:36:59 +0100
  • 9955c9e1be
    Normalize PIN-Parameters in opgpcard. "-P" is now always the admin pin file, while "-p" is the user pin file. Heiko Schaefer 2021-11-06 11:59:10 +0100
  • 8d31ee80db
    Document that $HOME/.cargo/bin needs to be added to PATH Heiko Schaefer 2021-11-05 23:40:07 +0100
  • 2085fdc66d
    Release tools Heiko Schaefer 2021-11-05 23:14:48 +0100
  • 87168ea0de
    Cleanup imports Heiko Schaefer 2021-11-05 23:14:36 +0100
  • 1a37b437e2
    Releases Heiko Schaefer 2021-11-05 23:07:48 +0100
  • f82cc6ae2a
    Add documentation on installing. Heiko Schaefer 2021-11-05 22:57:10 +0100
  • cda224d738
    Add more logic to key generation Heiko Schaefer 2021-11-03 02:24:21 +0100
  • 79cfcb09c2 In generate_key_simple(), the algo parameter is now an Option<AlgoSimple>. This allows uploading keys without explicitly setting the algorithm, thus leaving the card's algo setting unchanged. Heiko Schaefer 2021-11-03 02:21:44 +0100
  • 02401d12f4 Initial parts of key generation. Heiko Schaefer 2021-11-02 21:33:16 +0100
  • 8674b0e65c Refactor "Open" to use a borrowed CardApp (instead of owning the CardApp). Heiko Schaefer 2021-11-02 21:31:15 +0100
  • 8dd83b6c55 Extend comment Heiko Schaefer 2021-11-02 21:48:25 +0100
  • 3d821e2c5f Add internal_authenticate() to the public API. Heiko Schaefer 2021-11-05 13:32:39 +0100
  • a88620a96d Add some more documentation to CardApp::signature_for_hash. Heiko Schaefer 2021-11-04 18:05:33 +0100
  • 52a146fd56 implement internal_authenticate Heiko Schaefer 2021-11-04 16:14:18 +0100
  • 0aaef211a0 Add documentation about testing to the top-level README.md Heiko Schaefer 2021-11-03 13:49:52 +0100
  • edc89078ce Make the PublicKey type pub. Heiko Schaefer 2021-11-03 02:23:49 +0100
  • 308e8bfabd enable env_logger Heiko Schaefer 2021-11-03 00:06:05 +0100
  • 19ca7d9308 In factory_reset(), StatusBytes::PasswordNotChecked is also a legal response to "verify" calls to a card (with a bad password). Heiko Schaefer 2021-11-02 18:25:25 +0100
  • 5eea5c861d When card returns OkBytesAvailable(), use the returned number of bytes from sw2 when asking for the next response. Heiko Schaefer 2021-11-01 21:58:08 +0100
  • 921e0d22d9 Add some more user facing output. Heiko Schaefer 2021-10-30 01:25:08 +0200
  • bc08ca68ed Releases Heiko Schaefer 2021-10-29 22:48:44 +0200
  • 753bd8b71b Move example keys/data to openpgp-card-sequoia Heiko Schaefer 2021-10-28 00:22:53 +0200
  • 85075c4cda Rename openpgp-card-apps into openpgp-card-examples Heiko Schaefer 2021-10-28 00:21:39 +0200
  • 59d77f584d Add openpgp-card-tools crate Heiko Schaefer 2021-10-28 00:09:44 +0200
  • aa7528ec9a Add functionality for cli tools. Heiko Schaefer 2021-10-28 00:04:50 +0200