Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-1998

keychain: Keychain requires public key to always be private key plus ".pub" (GitHub Issue ID: 282945)

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None

      From https://github.com/funtoo/keychain/issues/3

      In my environment, we generally use a suffix for ALL PKI related files, including the private key (e.g. .pub, .pem, .ppk, etc). This confuses keychain which spits out a warning and then fails.

      My first take at fixing this on my system was to add additional logic to strip off the last file suffix if the first approach failed. This seemed okay for my purposes, and perhaps others too. But perhaps it would be more robust to match on either a signature OR a filename, so that regardless of the name (or even existance) of the public key, one could still proceed reasonably. Comments?

            Unassigned Unassigned
            drobbins drobbins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: