1. 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
  2. 22 Sep, 2020 3 commits
  3. 21 Sep, 2020 3 commits
  4. 17 Sep, 2020 1 commit
  5. 16 Sep, 2020 2 commits
  6. 15 Sep, 2020 3 commits
  7. 14 Sep, 2020 1 commit
  8. 13 Sep, 2020 1 commit
  9. 11 Sep, 2020 1 commit
  10. 10 Sep, 2020 2 commits
    • Ingo Klöcker's avatar
      Support transferring X.509 signing certificates to PIV cards · 42608b7f
      Ingo Klöcker authored
      * Move file-static keyDisplayName() to PIVCard to make it available
      outside of PIVCardWidget.
      * Transfer signing certificate to PIV card asking for card slot if
      multiple card slots match the certificate usage.
      * Ensure that public key of certificate to transfer matches public key
      on card.
      * Suppress overwrite warning if key on card matches key to transfer
      to card.
      
      GnuPG-bug-id: 4794
      42608b7f
    • Laurent Montel's avatar
      Modernize code · 65137e1f
      Laurent Montel authored
      65137e1f
  11. 09 Sep, 2020 1 commit
    • Ingo Klöcker's avatar
      Transfer certificate data of X.509 encryption certificate to PIV cards · 5d51a75d
      Ingo Klöcker authored
      * Add WriteCertAssuanTransaction implementing the inquire() callback
      for sending the certificate data to scdaemon.
      * Add startTransaction() to ReaderStatus for starting a transaction using
      a custom AssuanTransaction subclass.
      * Make KeyToCardCommand transfer the certificate data additionally to the
      secret key data of X.509 encryption certificates to PIV cards.
      
      GnuPG-bug-id: 4794
      5d51a75d
  12. 08 Sep, 2020 4 commits
  13. 07 Sep, 2020 1 commit
  14. 04 Sep, 2020 1 commit
  15. 31 Aug, 2020 4 commits
  16. 27 Aug, 2020 2 commits
    • Ingo Klöcker's avatar
      Allow users to change the administration key of a PIV card · 42f5173f
      Ingo Klöcker authored
      GnuPG-bug-id: 4794
      42f5173f
    • 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
  17. 25 Aug, 2020 3 commits
  18. 24 Aug, 2020 3 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
      Support arbitrary algorithms in GenCardKeyDialog · 0db0273b
      Ingo Klöcker authored
      Prepare GenCardKeyDialog for usage with other algorithms than just
      RSA with different key sizes.
      
      GnuPG-bug-id: 4794
      0db0273b
    • 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
  19. 23 Aug, 2020 1 commit
  20. 22 Aug, 2020 1 commit
  21. 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