Home GnuPG
Diffusion GPGME 0356a667c5a8

js: implement import/delete Key, some fixes

Description

js: implement import/delete Key, some fixes

  • Keyring.js
    • implemented importKey: importing one or more armored public key blocks.
    • implemented deleteKey: deleting a public Key from gpg.
  • Key.js renamed property Key.armor to Key.armored
  • Helpers.js: toKeyIDArray does not complain anymore if there are no keys. Not having Keys in e.g. signing keys in encrypt is legitimate and common, the complaints were getting spammy
  • Errors.js: gpgme_errors now always pass an optional additional message, for easier debugging in minified code
  • Connection.js: Fix in gpgme-json responses containing objects
  • eslintrc.json: Start using eslint. A cleanup to conform to it is not done yet
  • Added further tests for the new functionality

Details

Provenance
mkrambachAuthored on Jun 6 2018, 11:57 AM
Parents
rM332b4adbcc52: js: more Keyring/Key handling
Branches
Unknown
Tags
Unknown