<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gpgme/lang/js/src, branch javascript-binding</title>
<subtitle>GnuPG Made Easy.</subtitle>
<id>http://git.bktus.com/gpgfrontend/gpgme/atom?h=javascript-binding</id>
<link rel='self' href='http://git.bktus.com/gpgfrontend/gpgme/atom?h=javascript-binding'/>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/'/>
<updated>2018-08-22T10:44:05Z</updated>
<entry>
<title>js: changed verify signature result infos</title>
<updated>2018-08-22T10:44:05Z</updated>
<author>
<name>Maximilian Krambach</name>
<email>maximilian.krambach@intevation.de</email>
</author>
<published>2018-08-22T10:44:05Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d8fd4aad8a93f7745c63814b3779469b610a8db0'/>
<id>urn:sha1:d8fd4aad8a93f7745c63814b3779469b610a8db0</id>
<content type='text'>
--

* the resulting information of verify now are as documented,
  and the same as in a decrypt callback
</content>
</entry>
<entry>
<title>js: throw errors in sync functions</title>
<updated>2018-08-22T10:18:55Z</updated>
<author>
<name>Maximilian Krambach</name>
<email>maximilian.krambach@intevation.de</email>
</author>
<published>2018-08-22T10:18:55Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=93f674d33d4dacb115398196a7218c28323fd708'/>
<id>urn:sha1:93f674d33d4dacb115398196a7218c28323fd708</id>
<content type='text'>
--

* synchronous functions should throw errors if something goes wrong,
  Promises should reject. This commit changes some error cases that
  returned Error objects instead of throwing them

  - src/Key.js: createKey() and sync Key.get() throw errors
  - src/Error.js: Exporting the list of errors to be able to test and
    compare against these strings
  - src/Keyring.js: Setting a null value in pattern is not useful, and
    now caused an error with the new changes.
  - src/Message.js: createMessage and Message.setParameter now throw
    errors
</content>
</entry>
<entry>
<title>js: update decrypt/verify results</title>
<updated>2018-08-21T13:26:17Z</updated>
<author>
<name>Maximilian Krambach</name>
<email>maximilian.krambach@intevation.de</email>
</author>
<published>2018-08-21T13:26:17Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=6d720137dd9564931bf313a7e7078e63fb00287c'/>
<id>urn:sha1:6d720137dd9564931bf313a7e7078e63fb00287c</id>
<content type='text'>
--

* src/gpgmejs.js: Decrypt now parses additional optional dec_info
  information, as well as any verify information, if present

* src/permittedOperations: Now decrypt also expect the new return
  object dec_inf (containing info such as is_mime and file_name)
</content>
</entry>
<entry>
<title>js: Fix library name mentioned in js Makefiles</title>
<updated>2018-08-21T11:58:51Z</updated>
<author>
<name>Andre Heinecke</name>
<email>aheinecke@intevation.de</email>
</author>
<published>2018-08-21T11:58:06Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=0036b9bc493f0482cc7c4619867649481393163e'/>
<id>urn:sha1:0036b9bc493f0482cc7c4619867649481393163e</id>
<content type='text'>
--
</content>
</entry>
<entry>
<title>js: set expiry of generatedKey to seconds from now</title>
<updated>2018-08-21T09:42:11Z</updated>
<author>
<name>Maximilian Krambach</name>
<email>maximilian.krambach@intevation.de</email>
</author>
<published>2018-08-21T09:42:11Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=8b8c009dee8ae5493e7f888ee518468dbfcf5375'/>
<id>urn:sha1:8b8c009dee8ae5493e7f888ee518468dbfcf5375</id>
<content type='text'>
--

* src/Keyring.js: Changed key ecpiration from Date to seconds from
  creation, as in gpgme. The Date parameter used before was due to a
  misunderstanding in documentation and requests from potential users.
</content>
</entry>
<entry>
<title>js: add option "subkey-algo" to generateKey</title>
<updated>2018-08-20T16:05:34Z</updated>
<author>
<name>Maximilian Krambach</name>
<email>maximilian.krambach@intevation.de</email>
</author>
<published>2018-08-20T16:05:34Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=d77a1c887d6a5e892329534c94f95eaf8bb88492'/>
<id>urn:sha1:d77a1c887d6a5e892329534c94f95eaf8bb88492</id>
<content type='text'>
--

* The option was recently added to gpgme-json; this reflects this on
  javascript side
</content>
</entry>
<entry>
<title>js: set expiry date on generateKey</title>
<updated>2018-08-20T15:46:29Z</updated>
<author>
<name>Maximilian Krambach</name>
<email>maximilian.krambach@intevation.de</email>
</author>
<published>2018-08-20T15:46:29Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=91c2362550f787cc28d764c0e571e911c740f74f'/>
<id>urn:sha1:91c2362550f787cc28d764c0e571e911c740f74f</id>
<content type='text'>
--

* on the javascript side a Date is expected, gpggme-json expects
  seconds from 'now'
</content>
</entry>
<entry>
<title>js: add and apply eslint rules</title>
<updated>2018-08-20T13:12:01Z</updated>
<author>
<name>Maximilian Krambach</name>
<email>maximilian.krambach@intevation.de</email>
</author>
<published>2018-08-20T13:12:01Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=dd32daad0bb21e3d5567326d0b2e548ff8510431'/>
<id>urn:sha1:dd32daad0bb21e3d5567326d0b2e548ff8510431</id>
<content type='text'>
--

* mainly spacing, see .eslintrc.json for details
</content>
</entry>
<entry>
<title>js: revert changes to class read/write restriction</title>
<updated>2018-08-20T10:12:43Z</updated>
<author>
<name>Maximilian Krambach</name>
<email>maximilian.krambach@intevation.de</email>
</author>
<published>2018-08-20T10:12:43Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=1954d27be86b8e4eb801ca6ddcb670f8cfb149f5'/>
<id>urn:sha1:1954d27be86b8e4eb801ca6ddcb670f8cfb149f5</id>
<content type='text'>
--

* undoes 94ee0988d4eaac27785de6efb7c19ca9976e1e9c and
  e16a87e83910ebb6bfdc4148369165f121f0997e.
  I do not fully understand why my approach was bad, but I am not in
  a position to argue. This revert was requested to me after a review,
  and I'm doing it in the assumption that more experienced people know
  better than me.
* unittests: Also changed some outdated tests that stopped working
  since 754e799d35fd62d7a979452f44342934659908c7 (as GPGME_Key is not
  exported, one cannot check for instanceof in the tests anymore)
</content>
</entry>
<entry>
<title>js: decode arriving gpg message strings</title>
<updated>2018-08-17T17:20:35Z</updated>
<author>
<name>Maximilian Krambach</name>
<email>maximilian.krambach@intevation.de</email>
</author>
<published>2018-08-17T17:20:35Z</published>
<link rel='alternate' type='text/html' href='http://git.bktus.com/gpgfrontend/gpgme/commit/?id=74684f24c663af12c88b196fecd5f44863b893e4'/>
<id>urn:sha1:74684f24c663af12c88b196fecd5f44863b893e4</id>
<content type='text'>
--

* Arriving strings (i.e. user id names, error messages) are not
  always in javascript encoding. This is an attempt to go through
  the whole gpgme answer (with the exception of payload data) and
  to fix the encoding of these
</content>
</entry>
</feed>
