Kyle Spearrin
e240085351
expose decrypt to bytes
2018-09-10 12:13:30 -04:00
Kyle Spearrin
3bc81ca450
clear org key cache when setting
2018-09-10 09:41:53 -04:00
Kyle Spearrin
13e0cf0c47
rename all to PBKDF2_SHA256
2018-08-27 19:58:49 -04:00
Kyle Spearrin
00562d083b
remakeEncKey
2018-08-27 19:06:36 -04:00
Kyle Spearrin
1454aff46c
enable key stretching on makeEncKey
2018-08-27 16:47:19 -04:00
Kyle Spearrin
9f26f9f377
support for prelogin kdf info
2018-08-14 15:12:10 -04:00
Kyle Spearrin
2fcc3c51b8
dont need to check storage for lock options on get
2018-07-27 21:52:09 -04:00
Kyle Spearrin
61d2040518
sequentialize updates
2018-07-23 15:12:32 -04:00
Kyle Spearrin
003c730eb1
sequentialize updates
2018-07-23 14:42:37 -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
cc6f732a14
hasEncKey checks
2018-07-12 17:07:06 -04:00
Kyle Spearrin
d7f3f9425e
user public key apis
2018-07-11 13:30:06 -04:00
Kyle Spearrin
3454d93fef
generate keypair on registration
2018-07-03 11:41:55 -04:00
Kyle Spearrin
269b59210c
use rsaExtractPublicKey for getting public key
2018-07-02 23:57:22 -04:00
Kyle Spearrin
e22915818c
added public key and share key to crypto service
2018-07-02 17:09:45 -04:00
Kyle Spearrin
6e89b503f2
hmac directly into array
2018-06-13 22:47:40 -04:00
Kyle Spearrin
eda99e4f12
hasKey helper
2018-06-13 17:10:52 -04:00
Kyle Spearrin
6aa922f380
fix unreachable code
2018-06-13 17:06:09 -04:00
Kyle Spearrin
0429c0557b
hkdf key stretching for pbkdf2 key
2018-06-13 16:48:00 -04:00
Kyle Spearrin
12b01e1894
remove forge import from crypto service
2018-05-16 16:02:05 -04:00
Kyle Spearrin
7112911cb8
2fa adjustments in auth services
2018-05-15 21:11:20 -04:00
Kyle Spearrin
29556c5d3b
rename some crypto terms
2018-05-09 16:00:15 -04:00
Kyle Spearrin
e614cffffb
remove some crypto functions
2018-05-07 12:14:40 -04:00
Kyle Spearrin
de4494e1b3
fast decrypt
2018-05-07 09:00:49 -04:00
Kyle Spearrin
0fa9fc58eb
refactor utils service to utils
2018-04-23 13:03:47 -04:00
Kyle Spearrin
5e7115f78d
implement crypto functions in more places
2018-04-21 23:55:21 -04:00
Kyle Spearrin
fc1114a6bd
refactor crypto service to use crypto functions
2018-04-21 23:14:04 -04:00
Kyle Spearrin
5608f11925
formatting fixes
2018-04-13 23:55:07 -04:00
Kyle Spearrin
e3b3e444db
formatting cleanup
2018-02-28 11:09:10 -05:00
Oscar Hinton
1aabb42e47
AuditService ( #2 )
...
* Add AuditService.
* Change sha1 to use Webcrypto.
* Add interface for AuditService.
* Move PwnedPasswodsApi constant outside class.
* Change FromBufferToHex implementation to simpler code.
* Use correct string to array function.
* Change auditService interface to abstract class. Add missing type to utils.
2018-02-28 10:52:35 -05:00
Kyle Spearrin
166ed44392
Revert "reference barrels"
...
This reverts commit 2d9f53fbed
.
2018-02-19 13:07:19 -05:00
Kyle Spearrin
2d9f53fbed
reference barrels
2018-02-19 12:33:32 -05:00
Kyle Spearrin
11755e409a
defining more abstractions
2018-01-25 14:26:09 -05:00
Kyle Spearrin
8636033159
resolve link warning on missing mac
2018-01-18 12:14:30 -05:00
Kyle Spearrin
0bbb118691
use random bytes for each HMAC comparison
2018-01-18 09:59:40 -05:00
Kyle Spearrin
335c94e24c
macBytes must exist if key has macKey
2018-01-18 09:03:27 -05:00
Kyle Spearrin
59f2fc0e73
add b64 output encoding option for decrypt
2018-01-18 00:08:10 -05:00
Kyle Spearrin
7c848edf3c
added models, crypto, and constants services
2018-01-08 14:11:28 -05:00
Kyle Spearrin
bbfe69eea0
clean out old models/services
2018-01-04 23:51:02 -05:00
Kyle Spearrin
a95632294f
copy common ts code over from browser repo
2018-01-03 21:20:41 -05:00