js: don't expire new keys if no date is set
authorMaximilian Krambach <maximilian.krambach@intevation.de>
Fri, 17 Aug 2018 15:20:35 +0000 (17:20 +0200)
committerMaximilian Krambach <maximilian.krambach@intevation.de>
Fri, 17 Aug 2018 15:20:35 +0000 (17:20 +0200)
commit8e87790db3499b1625fd65f3272192df47b5dfd0
tree4e6ddc2e27291abc21ac83c497490634ec25dd1f
parent3fb094a9b8c320fc10e537a9bb5fab34807f4e52
js: don't expire new keys if no date is set

--

* src/Keyring.js A new Key without expiration is documented as
  'never expire' here, and should behave accordingly. This requires
  sending '0' here.
lang/js/src/Keyring.js