js: set expiry of generatedKey to seconds from now
authorMaximilian Krambach <maximilian.krambach@intevation.de>
Tue, 21 Aug 2018 09:42:11 +0000 (11:42 +0200)
committerMaximilian Krambach <maximilian.krambach@intevation.de>
Tue, 21 Aug 2018 09:42:11 +0000 (11:42 +0200)
commit8b8c009dee8ae5493e7f888ee518468dbfcf5375
tree778783cac863197291f7efa389ae4ff27b75d845
parentd77a1c887d6a5e892329534c94f95eaf8bb88492
js: set expiry of generatedKey to seconds from now

--

* 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.
lang/js/src/Keyring.js