Home GnuPG
Diffusion GPGME 715cdc0d7d5b

js: get default key fixes

Description

js: get default key fixes

  • src/Keyring.js: The answer was not parsed correctly, so a config was being ignored.
  • If no config is set, we return the first non-invalid key with a secret, instead of the first key (which may be e.g. an expired one)

Details

Provenance
mkrambachAuthored on Aug 16 2018, 12:03 PM
Parents
rMaeb065acc91a: js: simplify getDefaultKey
Branches
Unknown
Tags
Unknown