aboutsummaryrefslogtreecommitdiffstats
path: root/lang/js/unittest_inputvalues.js (follow)
Commit message (Collapse)AuthorAgeFilesLines
* js: Keyring listing keysMaximilian Krambach2018-05-281-0/+4
| | | | | | | | | | | | | | | -- * implementing Keyring methods: - Keyring.getKeys: has an additional option that retrieves the armor and secret state once at the beginning. This is power hungry, but allows for Keys to be used directly (without querying gpgme-json each call) * permittedOperations.js: reflect recent changes in the native counterpart, adding more options * Key: adding two methods for retrieving the armored Key block and for finding out if the Key includes a secret subkey.
* js: implement Key handling (1)Maximilian Krambach2018-05-251-4/+10
| | | | | | | | | | | -- * Keys can now be queried for information. Onne version queries gnug directly (asynchronous Promise in javascript terms), the cached version refreshes on demand. * Small fixes: src/Connection.js joins answers that stay json properly now
* js: Added browser testing for unit testsMaximilian Krambach2018-05-031-0/+45
-- * Added unittests to be run inside a Browser. To be able to access the non-exposed functions and classes, a testing bundle will be created, containing the tests (unittests.js) and the items to be tested. * src/Helpelpers, src/Key, src/Keyring: fixed some errors found during testing.