Commit Graph

42 Commits

Author SHA1 Message Date
mtgto d6c9acdf6f
Add noImplicitAny to tsc compiler options (#86) 2020-03-11 09:00:14 -04:00
Kyle Spearrin 76f60dd99e fix lastpass importer tests 2020-02-06 15:28:17 -05:00
Reese eecd774b13
fix lastpass import credit card expiration (#65)
* Fix import of expiration date from LastPass

Signed-off-by: Felipe Santos <felipecassiors@gmail.com>

* handle empty cc exp from lastpass, add test

* check for month/year null/whitespace

* check for empty expiration from lp import

Co-authored-by: Felipe Santos <felipecassiors@gmail.com>
2020-02-06 11:24:18 -05:00
jgfaust c91ab626c2 The domain of data URLs should be null. (#59) 2020-01-25 07:52:51 -05:00
Kyle Spearrin a0a1142f1f Revert "dont sequentialize in throttle spec"
This reverts commit 8edc99dfd1.
2019-04-19 19:46:48 -04:00
Kyle Spearrin 8edc99dfd1 dont sequentialize in throttle spec 2019-04-19 17:41:33 -04:00
Kyle Spearrin f39bdc4269 fix lint issues 2019-03-27 14:46:34 -04:00
Kyle Spearrin 58c34b896c sort and limit password history parsing 2019-03-25 09:10:33 -04:00
Robert Wachs 8ed27eeeec 1password 1pif: import password history (#33)
* 1password 1pif import password history

* 1password 1pif importer: process windows password history

* linter fix
2019-03-24 10:50:49 -04:00
Kyle Spearrin df429fe178 country is now upper 2019-03-23 22:49:22 -04:00
Robert Wachs 2bd47a19df 1password 1pif importer: create identity records (#34)
* 1password 1pif importer: create identity records

* importer: do not store empty strings

replace them with null instead
2019-03-23 22:21:43 -04:00
Kyle Spearrin c17e8b458c use single quote 2019-03-23 12:31:52 -04:00
Robert Wachs f874ec253d 1password 1pif importer: create hidden fields (#32)
* allow base importer to receive custom field type

* 1password importer uses hidden field type

for custom fields marked as 'concealed'

* 1password 1pif importer specs

* remove 'focus' from specs

* change field type logic into simple one liner
2019-03-23 12:27:50 -04:00
Kyle Spearrin 93244b5c90 use jsdom for DOMParser 2019-02-07 16:55:49 -05:00
Fred Cox db37a831e4 Throttle calls to HIBP api (#25)
Randomly failing to check by passwords, I'm pretty sure its because ~2000 connections are made at the same time.
2019-02-02 10:17:44 -05:00
Fred Cox e7f4dccfc3 Clear sequentialize cache when empty to remove chance of memory leaks (#26) 2019-02-02 09:23:16 -05:00
Kyle Spearrin ad97afc590 move getDomain to jslib Utils 2018-10-13 22:21:54 -04:00
Kyle Spearrin 64be82d5cc remove unused import 2018-09-19 09:57:17 -04:00
Kyle Spearrin 85587e0672 isSafari mock 2018-09-14 13:36:03 -04:00
Kyle Spearrin d0ad865060 add getDevice to mocked utils service 2018-09-10 16:44:50 -04:00
Kyle Spearrin 2045e7047a add support for md5 hash crypto function 2018-07-30 23:29:30 -04:00
Kyle Spearrin d07ee4c01b fix sequentialize tests 2018-07-23 15:32:22 -04:00
Fred Cox 04014a8e78 Add sequentialize to prevent parralel loading of cipher keys (#7)
* Add sequentialize to prevent parralel loading of cipher keys

Massively improves start up performance of extensions

* Add tests for sequentialize

* Fix sequentialize as it was caching calls for all instances together

* Add sequentialize to the functions that have internal caches

* Adding sequentialize to getOrgKeys makes big performance difference

* Update cipher.service.ts

* Update collection.service.ts

* Update folder.service.ts
2018-07-23 14:23:30 -04:00
Kyle Spearrin 1a2b8684e2 30 secon timeout on keypair tests 2018-07-12 10:05:32 -04:00
Kyle Spearrin 236c00475d remove 4096 test 2018-07-03 23:46:04 -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 bfaebb6b92 fix test 2018-06-07 23:58:19 -04:00
Kyle Spearrin 4614b4a185 No edge on appveyor 2018-05-07 12:37:36 -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 87ac298af9 web crypto testing. more test browsers 2018-05-07 11:43:14 -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 0fa9fc58eb refactor utils service to utils 2018-04-23 13:03:47 -04:00
Kyle Spearrin cda2814192 typemock lib for mocking services 2018-04-21 12:57:29 -04:00
Kyle Spearrin d73012efc8 rsa encrypt and decrypt tests 2018-04-20 15:32:25 -04:00
Kyle Spearrin 44f5d1c267 include misc in karma 2018-04-20 11:02:46 -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