1. 09 Dec, 2020 1 commit
  2. 09 Nov, 2020 1 commit
  3. 30 Sep, 2020 1 commit
  4. 29 Sep, 2020 1 commit
    • Ingo Klöcker's avatar
      Derive all card commands from CardCommand and CardCommand from Command · 32c6f48b
      Ingo Klöcker authored
      * Add two constructors for commands that are independent of
        KeyListController, but that may set a parent widget (e.g. for dialogs
        shown by the commands)
      * Simplify member initialization
      * Remove methods initially duplicated from Command
      * Remove empty default implementation of doCancel()
      AuthenticatePIVCardApplicationCommand, ChangePinCommand,
      PIVGenerateCardKeyCommand, SetPIVCardApplicationAdministrationKeyCommand:
      * Implement doCancel()
      * Adjust some calls of methods of super class
      CertificateToPIVCardCommand, KeyToCardCommand:
      * Derive from CardCommand instead of Command
      * Remove serialNumber member, get serial number from super class
      * Add mId member to allow overriding the hard-coded id ("Notepad")
      * Derive from CardCommand instead of ImportCertificatesCommand
      * Use ImportCertificateFromDataCommand internally
      * Implement doCancel()
      GnuPG-bug-id: 5066
  5. 27 Aug, 2020 1 commit
    • Ingo Klöcker's avatar
      Ask for PIV Card Application Administration Key if necessary · 662d68fa
      Ingo Klöcker authored
      Ask the user for the admin key, if the default admin key doesn't work,
      i.e. if the admin key has been changed/set.
      * New command handling the authentication to/of the PIV Card Application
      * Add possibility to cancel a card command
      * Use new AuthenticatePIVCardApplicationCommand for performing the
        authentication to/of the PIV Card Application
      * New simple dialog for asking the user for the hex-encoded PIV Card
        Application Administration Key
      GnuPG-bug-id: 4794
  6. 24 Aug, 2020 2 commits
    • Ingo Klöcker's avatar
      Add selection of key algorithm to key generation on PIV cards · 48b58502
      Ingo Klöcker authored
      * Use GenCardKeyDialog for selecting algorithm
      * Allow customization of key attributes to request from user
      * Add supportedAlgorithms() returning the allowed algorithms for the
        given key
      GnuPG-bug-id: 4794
    • Ingo Klöcker's avatar
      Add support for replacing existing keys on PIV smartcards · f93f44ba
      Ingo Klöcker authored
      * Add serialNumber; this allows CardCommand to retrieve the card
        it is operating on
      * Add possibility to generate keys for non-empty key slots on the card
        overwriting the existing keys; ask the user for approval
      * Replace specific *KeyGrip() methods with keyGrip(keyRef)
      * Add *KeyRef() methods for retrieving internal keyRef for the four
        main PIV keys
      * Add getCard() for retrieving a specific card by serial number
      * Store card serial number
      * Remove unused mCardIsEmpty
      GnuPG-bug-id: 4794
  7. 20 Aug, 2020 1 commit
    • Ingo Klöcker's avatar
      Add basic generation of keys for PIV smartcards · 3fa1d8bb
      Ingo Klöcker authored
      Allows generation of keys for empty slots of PIV smartcards. Uses
      the default key algorithm. Assumes a default authentication key.
      CardCommand is a heavily stripped-down variant of Command. (Command is
      too tightly coupled to KeyListController.)
      GnuPG-bug-id: 4794