1. 26 Oct, 2020 1 commit
    • Ingo Klöcker's avatar
      Add actions to switch between the three main views · 19554ef2
      Ingo Klöcker authored
      * Add/move actions to switch between the three main views (certificate
        overview, notepad, smartcard management) to the View menu and to the
        toolbar
      * Remove now obsolete Back button from smartcard management
      
      GnuPG-bug-id: 5108
      19554ef2
  2. 23 Oct, 2020 2 commits
  3. 22 Oct, 2020 1 commit
  4. 21 Oct, 2020 1 commit
  5. 19 Oct, 2020 1 commit
  6. 16 Oct, 2020 1 commit
  7. 12 Oct, 2020 4 commits
  8. 10 Oct, 2020 1 commit
  9. 09 Oct, 2020 2 commits
    • Ingo Klöcker's avatar
      Ask user for target card if multiple cards are suitable for key to card · 81569bb8
      Ingo Klöcker authored
      Previously, always the first card was taken (under the assumption that
      it's the only inserted card).
      
      CardCommand::Private:
      * Add possibility for subclasses to set the serial number
      
      KeyToCardCommand:
      * Remove superfluous supported() (always returned true)
      * Add static method for getting the suitable cards for a given subkey
      * Ask the user which card to write the key to if multiple suitable cards
        are available
      
      SubKeysWidget:
      * Always show the "Transfer to smartcard" option if the secret subkey
        is available; disable the option if no suitable cards are available
      
      smartcard/utils.*, view/smartcardwidget.cpp:
      * Make displayAppName() available everywhere
      
      GnuPG-bug-id: 5066
      81569bb8
    • Ingo Klöcker's avatar
      Fix class name in debug logging · e866e470
      Ingo Klöcker authored
      e866e470
  10. 08 Oct, 2020 2 commits
  11. 07 Oct, 2020 5 commits
    • Ingo Klöcker's avatar
      Show nicer card/app labels for the card/app tabs · bbe8d775
      Ingo Klöcker authored
      Card, PIVCard:
      * Add display serial number to the base class Card
      
      ReaderStatus:
      * Try to get the display serial number from scdaemon for all supported
        cards/card applications
      
      PIVCardWidget:
      * Show only the display serial number; the full serial number is available
        as tooltip
      
      SmartCardWidget:
      * Use display serial number and nicer app names for the labels of the
        card application tabs
      
      GnuPG-bug-id: 5066
      bbe8d775
    • Ingo Klöcker's avatar
      Improve handling of "card not present" situation · ff3e79e6
      Ingo Klöcker authored
      * Treat ENODEV error from scdaemon as "card not present" as done by
        gpg-card
      * Only return an invalid dummy card if a real error occurred; if no
        card is present simply return an empty list of cards
      
      GnuPG-bug-id: 5066
      ff3e79e6
    • Ingo Klöcker's avatar
    • Ingo Klöcker's avatar
      Show UI for all inserted cards in tabs · 762726ce
      Ingo Klöcker authored
      ReaderStatus:
      * Use more specific signals cardAdded, cardChanged, cardRemoved instead
        of just cardChanged.
      * Send serial number and app name (which uniquely identify an application
        on a smartcard) with the signals
      
      NetKeyWidget, PGPCardWidget, PIVCardWidget:
      * Remove double margins around the widgets; this also avoids an ugly
        lightgray border around the widgets
      
      SmartCardWidget:
      * Use a QTabWidget with tabs for each application on the inserted
        smartcards
      
      GnuPG-bug-id: 5066
      762726ce
    • Ingo Klöcker's avatar
  12. 06 Oct, 2020 2 commits
    • Andre Heinecke's avatar
      Rename Export Secret keys to Backup · 0ea195ed
      Andre Heinecke authored
      It happened once too many times that someone sent me his
      secret key even though the filename now clearly says SECRET.
      
      I think using the word "Backup" is better. Because "Export" is
      something that you give away. "Backup" is something for yourself.
      
      Should also help with confusion about "Export your key in Kleopatra
      and send it to others."
      
      GnuPG-Bug-Id: T5095
      0ea195ed
    • Andre Heinecke's avatar
      Remove moved files · 2fbcef3d
      Andre Heinecke authored
      gnupg-helper now lives in libkleo under the name
      libkleo/src/utils/gnupg.cpp
      2fbcef3d
  13. 05 Oct, 2020 6 commits
  14. 03 Oct, 2020 1 commit
  15. 01 Oct, 2020 3 commits
    • Ingo Klöcker's avatar
      Generalize/simplify handling of common card info (e.g. app version) · 33381833
      Ingo Klöcker authored
      Card:
      * Add parseCardInfo() for parsing the common card infos APPVERSION,
        CARDTYPE, and CARDVERSION
      * Add cardtype() and cardVersion() returning the parsed card info
      * Add displayAppVersion() and displayCardVersion() returning nicely
        formatted version numbers
      
      OpenPGPCard:
      * Remove unused mIsV2
      * Remove obsolete setSerialNumber() overload and obsolete cardVersion()
        and mCardVersion; the app version (confusingly named mCardVersion)
        is now read from the card info by the base class
      * Rename setKeyPairInfo() to more appropriate setCardInfo() (also used
        for PIVCard)
      
      PIVCard:
      * Parsing of APPVERSION is now done by the base class
      
      ReaderStatus:
      * handle_openpgp_card: Use "LEARN --force" instead of
        "LEARN --keypairinfo" to also get common card infos
      
      ChangePinCommand, PGPCardWidget:
      * Simplify checks for certain app versions
      
      PGPCardWidget, PIVCardWidget:
      * Use Card::displayAppVersion() to get app version for display
      33381833
    • Ingo Klöcker's avatar
      Ensure that we use the correct card app if a card provides multiple apps · d292d1dc
      Ingo Klöcker authored
      To ensure this we always look up the cards by serial number _and_
      app name.
      
      GnuPG-bug-id: 5066
      d292d1dc
    • Ingo Klöcker's avatar
      Clean up/modernize Card and its subclasses a bit · 7ba9c16d
      Ingo Klöcker authored
      In particular, add constructors for converting a Card to the specific
      Card subclasses. This ensures that all state already set on a Card is
      copied to the specific subclass when we construct it. Previously, we
      copied the serial number (but no other state) manually.
      
      Card:
      * Document that Card represents one of possibly many applications on
        a smartcard
      * Make setAppName() protected since it's only supposed to be called by
        the subclasses during initialization
      * Remove unused (and obsolete) mSlot, slot(), setSlot()
      * Initialize member variables in class definition
      
      NetKeyCard, OpenPGPCard, PIVCard:
      * Remove default constructors and unused constructors from serial number
      * Add constructors for converting a Card to the specific Card subclasses
      7ba9c16d
  16. 30 Sep, 2020 5 commits
  17. 29 Sep, 2020 2 commits