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
      Command::Private:
      * 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
      
      CardCommand:
      * 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
      
      ImportCertificateFromDataCommand:
      * Add mId member to allow overriding the hard-coded id ("Notepad")
      
      ImportCertificateFromPIVCardCommand:
      * Derive from CardCommand instead of ImportCertificatesCommand
      * Use ImportCertificateFromDataCommand internally
      * Implement doCancel()
      
      GnuPG-bug-id: 5066
      32c6f48b
  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.
      
      AuthenticatePIVCardApplicationCommand:
      * New command handling the authentication to/of the PIV Card Application
      
      CardCommand:
      * Add possibility to cancel a card command
      
      PIVGenerateCardKeyCommand:
      * Use new AuthenticatePIVCardApplicationCommand for performing the
        authentication to/of the PIV Card Application
      
      PIVCardApplicationAdministrationKeyInputDialog:
      * New simple dialog for asking the user for the hex-encoded PIV Card
        Application Administration Key
      
      GnuPG-bug-id: 4794
      662d68fa
  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
      PIVGenerateCardKeyCommand:
      * Use GenCardKeyDialog for selecting algorithm
      
      GenCardKeyDialog:
      * Allow customization of key attributes to request from user
      
      PIVCard:
      * Add supportedAlgorithms() returning the allowed algorithms for the
        given key
      
      GnuPG-bug-id: 4794
      48b58502
    • Ingo Klöcker's avatar
      Add support for replacing existing keys on PIV smartcards · f93f44ba
      Ingo Klöcker authored
      CardCommand:
      * Add serialNumber; this allows CardCommand to retrieve the card
        it is operating on
      
      PIVGenerateCardKeyCommand:
      * Add possibility to generate keys for non-empty key slots on the card
        overwriting the existing keys; ask the user for approval
      
      PIVCard:
      * Replace specific *KeyGrip() methods with keyGrip(keyRef)
      * Add *KeyRef() methods for retrieving internal keyRef for the four
        main PIV keys
      
      ReaderStatus:
      * Add getCard() for retrieving a specific card by serial number
      
      PIVCardWidget:
      * Store card serial number
      * Remove unused mCardIsEmpty
      
      GnuPG-bug-id: 4794
      f93f44ba
  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
      3fa1d8bb