<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/js/src/Keyring.js, branch gpgme-2.1.2</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-2.1.2</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=gpgme-2.1.2'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2018-11-08T05:34:27Z</updated>
<entry>
<title>spelling: fix misspellings</title>
<updated>2018-11-08T05:34:27Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2018-11-08T05:34:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=2557d0ae6ff0336b041129b7bf5c1e3a8c20a805'/>
<id>urn:sha1:2557d0ae6ff0336b041129b7bf5c1e3a8c20a805</id>
<content type='text'>
Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>doc: use https:// for www.gnu.org</title>
<updated>2018-10-18T04:28:51Z</updated>
<author>
<name>Daniel Kahn Gillmor</name>
<email>dkg@fifthhorseman.net</email>
</author>
<published>2018-10-18T03:56:27Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=2f12427e416a0a40bf680a421f9ed20340d5bb96'/>
<id>urn:sha1:2f12427e416a0a40bf680a421f9ed20340d5bb96</id>
<content type='text'>
--

Signed-off-by: Daniel Kahn Gillmor &lt;dkg@fifthhorseman.net&gt;
</content>
</entry>
<entry>
<title>js: renamed keygen algo option</title>
<updated>2018-09-20T13:48:19Z</updated>
<author>
<name>Maximilian Krambach</name>
<email>maximilian.krambach@intevation.de</email>
</author>
<published>2018-09-20T13:46:03Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=ec2d2b78bc61a730d0d33bd997f386ba381720c5'/>
<id>urn:sha1:ec2d2b78bc61a730d0d33bd997f386ba381720c5</id>
<content type='text'>
--

* src/Keyring.js: Confused default-future with future-default

* reverts commit 34be6163f6c1057e2a87705925a9d0c70e4ecf17
</content>
</entry>
<entry>
<title>js: add 'default-future' as createKey option</title>
<updated>2018-09-19T15:56:55Z</updated>
<author>
<name>Maximilian Krambach</name>
<email>maximilian.krambach@intevation.de</email>
</author>
<published>2018-09-19T15:54:59Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=34be6163f6c1057e2a87705925a9d0c70e4ecf17'/>
<id>urn:sha1:34be6163f6c1057e2a87705925a9d0c70e4ecf17</id>
<content type='text'>
--
* src/Keyring.js: default-future can be used now for key creation as
  algo.
</content>
</entry>
<entry>
<title>json: Remove subkey-algo from createkey command.</title>
<updated>2018-09-19T09:51:31Z</updated>
<author>
<name>Werner Koch</name>
<email>wk@gnupg.org</email>
</author>
<published>2018-09-19T09:51:31Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=c569adb5e3e3082bd68cdc34a2d349b7c28d3768'/>
<id>urn:sha1:c569adb5e3e3082bd68cdc34a2d349b7c28d3768</id>
<content type='text'>
* src/gpgme-json.c (op_createkey): Remove subkey-algo param.
(GPG_AGENT_ALLOWS_KEYGEN_TRHOUGH_BROWSER): Fix typo.
* lang/js/src/Keyring.js: Remove subkey-algo support.
* lang/js/src/permittedOperations.js: Ditto.
--

We do not want to expose details of the protocol's key generation and
thus the subkey-algo does not make sense.  Right now we support only
the default and future-default algorithms.  A user can configure them
anyway using new-default-key-algo in gpg.conf.  Eventually we may
officially support a more flexible way of creating special structured
OpenPGP keys but right now that is not part of the API.

Signed-off-by: Werner Koch &lt;wk@gnupg.org&gt;
</content>
</entry>
<entry>
<title>js: documentation cleanup</title>
<updated>2018-09-05T16:46:28Z</updated>
<author>
<name>Maximilian Krambach</name>
<email>maximilian.krambach@intevation.de</email>
</author>
<published>2018-09-05T16:46:28Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=1c618166fcd296b4e95f3a6ea9c415d3dca5ce0a'/>
<id>urn:sha1:1c618166fcd296b4e95f3a6ea9c415d3dca5ce0a</id>
<content type='text'>
--
</content>
</entry>
<entry>
<title>js: typecheck destructured parameters</title>
<updated>2018-08-27T10:38:32Z</updated>
<author>
<name>Maximilian Krambach</name>
<email>maximilian.krambach@intevation.de</email>
</author>
<published>2018-08-27T10:32:28Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=766d42c248a8c526b831685e93d54db81492f5a8'/>
<id>urn:sha1:766d42c248a8c526b831685e93d54db81492f5a8</id>
<content type='text'>
--

* destructuring just takes the input argument and treats it as object.
  In cases like in src/Keyring/generateKey, where I forgot to change
  the old syntax, the fingerprint as string was destructured into an
  object without "pattern", which caused all Keys to be retrieved.
  So, methods with a destructuring now check if the first argument is
  an object and get a default empty object if no parameter is
  submitted. This allows the further use of destructured parameters,
  while still ensuring nothing vastly incorrect is used.
* src/Kering.js, unittsets.js: fixed old syntax in method usage
</content>
</entry>
<entry>
<title>js: fix syntax inside Keyring methods</title>
<updated>2018-08-23T15:58:22Z</updated>
<author>
<name>Maximilian Krambach</name>
<email>maximilian.krambach@intevation.de</email>
</author>
<published>2018-08-23T15:55:35Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=f62dd4bb27c36e44acf93af1daf24eefda3029c2'/>
<id>urn:sha1:f62dd4bb27c36e44acf93af1daf24eefda3029c2</id>
<content type='text'>
--

* recent changes in parameter calling led to a forgotten internal call
  in getDefaultKey using old syntax (and failing in case a default key
  is configured)
</content>
</entry>
<entry>
<title>js: use destructured option parameters</title>
<updated>2018-08-23T10:15:59Z</updated>
<author>
<name>Maximilian Krambach</name>
<email>maximilian.krambach@intevation.de</email>
</author>
<published>2018-08-23T10:15:59Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=3fd6837fce9b339b8b09a800a969e0950e78250c'/>
<id>urn:sha1:3fd6837fce9b339b8b09a800a969e0950e78250c</id>
<content type='text'>
--
* Adds to f0409bbdafcbd4f8b0be099a6b3ce0d5352c9bcd and makes use of
  destructuring, allowing for defaults, and cleaning up the
  validation.
</content>
</entry>
<entry>
<title>js: update getDefaultKey to more precise logic</title>
<updated>2018-08-23T09:28:18Z</updated>
<author>
<name>Maximilian Krambach</name>
<email>maximilian.krambach@intevation.de</email>
</author>
<published>2018-08-23T09:28:18Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=60dc499abd89f7e62a7b9cad943a96faa65187d5'/>
<id>urn:sha1:60dc499abd89f7e62a7b9cad943a96faa65187d5</id>
<content type='text'>
--

* src/Keyring.js: Adapted Keyring.getDefaultKey() to my current
  understanding  of a default signing key: either the default key set
  in the gpg config, or 'the first usable private key' - usability
  meaning  'not invalid, expired, revoked, and can be used for
  signing'. It should be the same key used as in command line when
  doing a --sign operation.
  In case the user has a smartcard plugged in, we currently
  won't know of this here, so our choice may differ. But as we do all
  javascript-binding sign operations with the key  fingerprint
  explicitly set, this should not be a real problem. This method is
  seen more as a convenience to tell using librarys which key
  represents the main user.
</content>
</entry>
</feed>
