1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-19 07:35:48 +02:00
Commit Graph

54 Commits

Author SHA1 Message Date
Oscar Hinton
c62f5287cd
Desktop biometrics support (#119)
* Initial work on windows hello support

* Switch to use windows.security.credentials.ui UserConsentVerifier

* Fix linting warnings

* Remove unessesary supportsBiometric from lock screen

* Rename biometric.main to windows.biometric.main. Add abstraction for biometric.

* Add support for dynamic biometric text.

* Add untested darwin implementation

* Rename fingerprintUnlock to biometric

* Add new functions to cliPlatformUtils.service.ts.

* Hide login if biometric is not supported

* Export default for biometric.*.main.ts

* Remove @nodert-win10-rs4/windows.security.credentials

* Add build requirements to readme

* Auto prompt biometric when starting the application.

* Ensure we support biometric before trying to auto prompt.

* Fix review comments and linting errors
2020-07-23 13:32:20 -04:00
Vincent Salucci
64c54cfb86
[Auto-Logout] Refactor LockService and Update Dependencies (#91)
* initial commit for lockService name refactor

* Reverted ConstantsService vault timeout key to legacy string value

Co-authored-by: Vincent Salucci <vsalucci@bitwarden.com>
2020-03-27 09:03:27 -05:00
Kyle Spearrin
b74ee7b3ee memory stored pinProtectedKey 2019-08-29 09:40:50 -04:00
Kyle Spearrin
3d958279d2 fix keyhash storage 2019-04-13 21:26:16 -04:00
Kyle Spearrin
bb6c194eab crypto service update 2019-04-09 09:06:05 -04:00
Kyle Spearrin
0b0245b90f cache keyHash, proper param order for cipherString 2019-04-03 14:18:55 -04:00
Kyle Spearrin
cc27f98aae makeKeyFromPin in background context 2019-03-05 16:36:11 -05:00
Kyle Spearrin
53260a5be8 use user kdf settings for making PIN key 2019-02-13 00:04:31 -05:00
Kyle Spearrin
7a1e7b5474 support for unlocking with PIN code 2019-02-12 23:52:50 -05:00
Kyle Spearrin
64a6015a67 RSA HMAC cipher string types are deprecated 2018-11-26 15:29:54 -05:00
Kyle Spearrin
17e7ee4838 support for new attachment keys 2018-11-13 20:43:45 -05:00
Kyle Spearrin
b4fad203b9 pbkdf2 not needed for hash phrase 2018-11-09 08:20:54 -05:00
Kyle Spearrin
1e6b3b4aae allow userId and pub key to be passed in 2018-11-07 23:12:45 -05:00
Kyle Spearrin
ed07c8d01f get fingerprint crypto method 2018-11-07 22:54:56 -05:00
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