Skip to content
  • David Runge's avatar
    keyringctl: Derive username from target when importing existing key · 4b70feb2
    David Runge authored and Levente Polyak's avatar Levente Polyak committed
    keyringctl:
    Add `derive_user_from_target()` to derive the username from an existing
    public key in the target directory when importing (updates to) an
    already known key.
    Change `convert()` to either use a custom name override (if provided), a
    username derived from target dir (if existing) or the file name of the
    to be imported file as username.
    4b70feb2