Commit Graph

18 Commits

Author SHA1 Message Date
Oscar Hinton d7682cde3b
Move nodeCryptoFunction to jslib-node (#405)
* Move nodeCryptoFunction to jslib-node

* Fix imports

* Fix tests import
2021-06-09 16:59:45 +02:00
Oscar Hinton 1016bbfb9e
Split jslib into multiple modules (#363)
* Split jslib into multiple modules
2021-06-03 18:58:57 +02:00
Matt Gibson 2c414ce27a
Use log service for console messages (#221)
* Use logService for console messages

* Implement a base ConsoleLog service

Use this class as a default for other services that would like to output
to console. This service is overriden in CLI and Desktop to use CLI's
consoleLogService and electronLogService, respectively.

* Use browser-process-hrtime for timing

* test LogService implementations

* Ignore default import of hrtime

* Clean up imports. Require ConsoleLog injection

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-11 10:44:57 -06:00
Matt Gibson 72bf18f369
Fix 1password importer (#222)
* Change cipher type based on csv type header

* Test identity and credit card import

* Do not use node 'fs' module

Karma is being used for automated tests so node modules are not available

* WIP: mac and windows 1password importer split

Need to improve windows field identification to limit secret data
exposure and improve user experience

* Hide fields with likely secret values

Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
2020-12-08 11:29:57 -06:00
Kyle Spearrin 8cb5a9f505
hkdf crypto functions (#190)
* hkdf crypto functions

* comment to spec
2020-10-29 15:52:12 -04:00
Kyle Spearrin 2045e7047a add support for md5 hash crypto function 2018-07-30 23:29:30 -04:00
Kyle Spearrin 1a2b8684e2 30 secon timeout on keypair tests 2018-07-12 10:05:32 -04:00
Kyle Spearrin 3454d93fef generate keypair on registration 2018-07-03 11:41:55 -04:00
Kyle Spearrin 2bc7ae0da2 extract public from private key 2018-07-02 23:53:44 -04:00
Kyle Spearrin e614cffffb remove some crypto functions 2018-05-07 12:14:40 -04:00
Kyle Spearrin dfcde8a29a new tests for node 2018-05-07 12:08:22 -04:00
Kyle Spearrin de4494e1b3 fast decrypt 2018-05-07 09:00:49 -04:00
Kyle Spearrin ac22a4f4c1 test all node crypto functions 2018-04-25 16:33:58 -04:00
Kyle Spearrin e7735f2d80 test pbkdf2 node function 2018-04-25 16:30:47 -04:00
Kyle Spearrin d73012efc8 rsa encrypt and decrypt tests 2018-04-20 15:32:25 -04:00
Kyle Spearrin 3b2b48dd8d misc utils for browser and node 2018-04-20 10:59:55 -04:00
Kyle Spearrin e8824c2c8b lint spec dir 2018-04-18 13:43:42 -04:00
Kyle Spearrin 9b4069cb19 node vs web testing with jasmine 2018-04-18 12:59:48 -04:00