1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-03 13:33:32 +01:00
Commit Graph

263 Commits

Author SHA1 Message Date
Kyle Spearrin
6e89b503f2 hmac directly into array 2018-06-13 22:47:40 -04:00
Kyle Spearrin
4bce071498 expose api service urls 2018-06-13 22:12:23 -04:00
Kyle Spearrin
755f8f93ec apiBaseUrl and make some props private 2018-06-13 22:09:47 -04:00
Kyle Spearrin
3303e60b40 implement hasKey helper 2018-06-13 17:14:26 -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
4dea46f1ad prod urls for web client 2018-06-13 14:08:43 -04:00
Kyle Spearrin
cfad521ea8 bulk share apis 2018-06-13 00:02:15 -04:00
Kyle Spearrin
7a5a4e654a bulk move/delete apis 2018-06-12 17:12:27 -04:00
Kyle Spearrin
1021f23277 cipher collection apis 2018-06-12 13:07:06 -04:00
Kyle Spearrin
b3f71ed8e4 api support for sharing 2018-06-12 11:45:02 -04:00
Kyle Spearrin
cd3c2ddff1 allow static lock timeout definition 2018-06-09 14:50:18 -04:00
Kyle Spearrin
f40451ecc5 ie fixes 2018-06-07 23:36:39 -04:00
Kyle Spearrin
c5fbea2341 getCredentials conditions 2018-06-05 15:45:19 -04:00
Kyle Spearrin
476d21e9f0 alloe cache on lowdb 2018-06-05 14:44:13 -04:00
Kyle Spearrin
22c12cf5c4 always read before writing 2018-06-04 12:05:43 -04:00
Kyle Spearrin
9b3fddbd33 always read from source 2018-06-01 12:33:38 -04:00
Kyle Spearrin
c512b9b3ce return null for undefined storage key 2018-06-01 11:51:48 -04:00
Kyle Spearrin
f618c0b5ee replace electron store with lowdb 2018-05-31 09:07:56 -04:00
Kyle Spearrin
e0190f14be catch invalid regex 2018-05-30 23:19:12 -04:00
Kyle Spearrin
49dece7983 theme key 2018-05-29 23:16:50 -04:00
Kyle Spearrin
c71b9703f3 credentials: 'include' 2018-05-29 14:36:20 -04:00
yxzzx
4c8f9c6b7c make src/services/api.service.ts work with https servers requiring client certificates. (#4) 2018-05-29 14:34:32 -04:00
Kyle Spearrin
d3f3f47286 switch to filepath 2018-05-25 08:39:48 -04:00
Kyle Spearrin
43ac05d1fc switch to node crypto for rsa encrypt/decrypt 2018-05-21 09:10:13 -04:00
Kyle Spearrin
bf260819bb sync organizations 2018-05-18 15:26:46 -04:00
Kyle Spearrin
a421f6e64a raw attachment saves with node form data 2018-05-17 15:35:02 -04:00
Kyle Spearrin
ba10d07042 export service 2018-05-17 10:52:06 -04:00
Kyle Spearrin
1fdb694fae dont include search in barrel file 2018-05-16 16:18:00 -04:00
Kyle Spearrin
12b01e1894 remove forge import from crypto service 2018-05-16 16:02:05 -04:00
Kyle Spearrin
cf5bce1ea9 supports duo platform util 2018-05-16 15:30:28 -04:00
Kyle Spearrin
e6fde2e92b move lock service interval to init 2018-05-16 10:18:05 -04:00
Kyle Spearrin
799c90af17 make logout callback async 2018-05-15 23:40:15 -04:00
Kyle Spearrin
7112911cb8 2fa adjustments in auth services 2018-05-15 21:11:20 -04:00
Kyle Spearrin
f173001a41 polyfill fetch globals on nodeapi 2018-05-15 09:02:57 -04:00
Kyle Spearrin
17cf059970 node fetch api 2018-05-14 23:56:27 -04:00
Kyle Spearrin
5850a590ce utils global 2018-05-14 23:41:12 -04:00
Kyle Spearrin
29556c5d3b rename some crypto terms 2018-05-09 16:00:15 -04:00
Kyle Spearrin
22894a6876 cache key meta data for forge decryption 2018-05-09 15:48:17 -04:00
Kyle Spearrin
e614cffffb remove some crypto functions 2018-05-07 12:14:40 -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
c3dad8fd1a add account profile api 2018-05-03 12:46:49 -04:00
Kyle Spearrin
b5db9edc3f adjust collator sorting options 2018-05-02 17:00:24 -04:00
Kyle Spearrin
66bdf442d6 add necessary apis for org directory imports 2018-04-30 17:00:31 -04:00
Kyle Spearrin
e7735f2d80 test pbkdf2 node function 2018-04-25 16:30:47 -04:00
Kyle Spearrin
6e6dc422ac option to not set crypto keys 2018-04-25 12:42:52 -04:00
Kyle Spearrin
0ad2c9d667 make supportedTranslationLocales public 2018-04-25 08:26:02 -04:00
Kyle Spearrin
119a9ba6bc locale key 2018-04-24 23:53:03 -04:00
Kyle Spearrin
768ab7dd0a b64 to utf8 utils 2018-04-23 13:45:40 -04:00
Kyle Spearrin
e5ae1cbb1c remove comment 2018-04-23 13:05:05 -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
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
2c2128a871 lint error 2018-04-19 23:12:06 -04:00
Kyle Spearrin
fae4530564 use TwoFactorProviderType enum for remember me 2018-04-19 14:07:11 -04:00
Kyle Spearrin
97fe01e131 rsaDecrypt implementation 2018-04-19 00:00:53 -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
Kyle Spearrin
172f2de4ff node crypto aes implementations 2018-04-18 08:50:02 -04:00
Kyle Spearrin
866de1278f remove 256 from expectation 2018-04-18 00:25:16 -04:00
Kyle Spearrin
680fbff306 web crypto aes encryption and random bytes 2018-04-18 00:24:17 -04:00
Kyle Spearrin
2e58314759 byteString conversion without b64 2018-04-17 22:35:53 -04:00
Kyle Spearrin
3ca8716fc6 determine length based on alg. fix 512 wc pbkdf2 2018-04-17 21:18:47 -04:00
Kyle Spearrin
81f7bd7b76 hmac implementation for web crypto 2018-04-17 19:02:58 -04:00
Kyle Spearrin
719c8aa70c this.isEdge member 2018-04-17 18:32:08 -04:00
Kyle Spearrin
da473ee1a6 test web crypto hashing 2018-04-17 18:26:02 -04:00
Kyle Spearrin
5ed0edf867 test web crypto pbkdf2 2018-04-17 17:56:41 -04:00
Kyle Spearrin
709e2eb3c0 setup karma testing 2018-04-17 16:15:19 -04:00
Kyle Spearrin
5d085b74f5 crypto function implementations for hash 2018-04-17 15:59:38 -04:00
Kyle Spearrin
d6474aee0e crypto function implementations 2018-04-16 12:07:51 -04:00
Kyle Spearrin
4ad29e25f3 stub out crypto function service with pbkdf2 2018-04-14 23:20:37 -04:00
Kyle Spearrin
759ac04ee9 try catch collator set 2018-04-14 20:26:04 -04:00
Kyle Spearrin
94ca579168 sanitize system language 2018-04-14 20:17:10 -04:00
Kyle Spearrin
831b4cff7b hostname fix 2018-04-14 10:01:40 -04:00
Kyle Spearrin
5608f11925 formatting fixes 2018-04-13 23:55:07 -04:00
Kyle Spearrin
44a9d17dba abstract away loading messages file json 2018-04-11 15:16:17 -04:00
Kyle Spearrin
97be728b31 move base i18nservice out to jslib 2018-04-11 15:07:33 -04:00
Kyle Spearrin
f673bd62d7 move bow-row direct, and selected provider support 2018-04-04 14:18:42 -04:00
Kyle Spearrin
00bb0fdbdf convert appid to abstract class 2018-04-04 08:22:18 -04:00
Kyle Spearrin
167558168c add duo org support to old constants 2018-04-03 15:27:14 -04:00
Kyle Spearrin
bea9e06506 added 2fa support for org duo 2018-04-03 15:11:03 -04:00
Kyle Spearrin
bdbb01317d use client_id from decoded token 2018-03-28 21:54:21 -04:00
Kyle Spearrin
e5fb0fe6c6 refresh clientid 2018-03-28 15:20:11 -04:00
Kyle Spearrin
0b57d8b7f3 platform specific identity client id 2018-03-21 11:19:05 -04:00
Kyle Spearrin
e27df6bc09 null checks on sort function values 2018-03-19 19:42:38 -04:00
Kyle Spearrin
1f2cf2bcdf lock service invokes callback on lock 2018-03-03 23:04:55 -05:00
Kyle Spearrin
913336280a rename enum from basedomain => domain 2018-03-02 13:50:26 -05:00
Kyle Spearrin
0d80216921 add http protocol if none fiven 2018-03-02 12:42:11 -05:00
Kyle Spearrin
f205a9cc9f break from switch 2018-03-02 12:36:53 -05:00
Kyle Spearrin
ad4c81ed84 support for uri matching types to cipher service 2018-03-02 12:03:03 -05:00
Kyle Spearrin
dc0befc9be other types param now typed with CipherType 2018-03-02 08:33:57 -05:00
Kyle Spearrin
20389402fc comment out TODO code 2018-03-02 08:15:31 -05:00
Kyle Spearrin
063bb010db refactor for login uris and response model changes 2018-03-01 23:44:29 -05:00
Kyle Spearrin
52f3ea58d1 add services to index 2018-02-28 21:03:23 -05:00
Kyle Spearrin
6aef18ee7f search service with lunr implementation 2018-02-28 15:15:10 -05:00
Kyle Spearrin
e3b3e444db formatting cleanup 2018-02-28 11:09:10 -05:00
Kyle Spearrin
e1041e9b5b cleanup auditservice 2018-02-28 10:58:34 -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
ab00dfd399 none folder added last 2018-02-27 22:54:38 -05:00
Kyle Spearrin
5b63336347 Revert "collection from domain index"
This reverts commit 36315dae19.
2018-02-19 13:07:37 -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
36315dae19 collection from domain index 2018-02-19 12:04:35 -05:00
Kyle Spearrin
80cd30d7d8 dont init history 2018-02-17 22:51:28 -05:00
Kyle Spearrin
acb7b7b8e3 installedVersionKey constant 2018-02-16 15:50:01 -05:00
Kyle Spearrin
7b3bbd9245 userid null check 2018-02-15 13:39:23 -05:00
Kyle Spearrin
4412708ecb send loggedout message 2018-02-15 13:39:18 -05:00
Kyle Spearrin
56d941a754 state service 2018-02-12 15:06:18 -05:00
Kyle Spearrin
4960fa18c0 setLockOption 2018-02-11 00:38:17 -05:00
Kyle Spearrin
6c3f0a538f convert more service abstractions 2018-02-10 10:53:07 -05:00
Kyle Spearrin
8d4799a0a2 password gen fixes 2018-02-09 12:08:33 -05:00
Kyle Spearrin
28ed4144db abstract services 2018-02-08 12:24:37 -05:00
Kyle Spearrin
9cd74af2df sync service abstraction 2018-02-08 10:49:00 -05:00
Kyle Spearrin
4a3705e675 remove unnecessary fields from 2fa providers 2018-02-02 12:03:05 -05:00
Kyle Spearrin
7c3bed1737 updates for 2fa auth services 2018-02-01 22:55:49 -05:00
Kyle Spearrin
5845291aaf abstract api service 2018-01-31 14:27:11 -05:00
Kyle Spearrin
15f254879f abstract password generation service 2018-01-29 17:59:57 -05:00
Kyle Spearrin
e160b97497 remove static sorting functions 2018-01-26 22:54:02 -05:00
Kyle Spearrin
3e43dd7aac lint fix 2018-01-26 22:38:22 -05:00
Kyle Spearrin
ce4f683b96 added i18n sorting to folders, ciphers, collection 2018-01-26 22:16:35 -05:00
Kyle Spearrin
3869dcaf7b apply collection and folder views 2018-01-25 14:57:42 -05:00
Kyle Spearrin
11755e409a defining more abstractions 2018-01-25 14:26:09 -05:00
Kyle Spearrin
e5c1adedff lib updates for login view on desktop 2018-01-24 23:27:04 -05:00
Kyle Spearrin
9fe0cfb2d8 fix encryptCipherData 2018-01-24 13:27:32 -05:00
Kyle Spearrin
7e1c883f03 view model types 2018-01-24 11:33:15 -05:00
Kyle Spearrin
edc3bd1f81 convert services to abstractions 2018-01-23 17:29:15 -05:00
Kyle Spearrin
6c9e0c4cd3 added auth service 2018-01-23 15:58:13 -05:00
Kyle Spearrin
e753becd33 lazy load history 2018-01-19 14:58:06 -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
229c632c4f never domains key 2018-01-13 10:14:00 -05:00
Kyle Spearrin
583b7c3b15 delay i18n evaluations 2018-01-12 21:56:35 -05:00
Kyle Spearrin
ce628ba1db rename to bitwardenContainerService 2018-01-11 14:00:32 -05:00
Kyle Spearrin
808e74bcfb added missing return types to sync service 2018-01-09 23:34:33 -05:00
Kyle Spearrin
258178dc16 added missing implements 2018-01-09 23:31:09 -05:00
Kyle Spearrin
6be48873cc move sync service to jslib 2018-01-09 23:25:59 -05:00
Kyle Spearrin
f383ee5027 move lock service ti jslib 2018-01-09 23:18:51 -05:00
Kyle Spearrin
8e64181a5d move collection service tio jslib 2018-01-09 23:12:18 -05:00
Kyle Spearrin
6bdc683c0d move cipherService to jslib 2018-01-09 23:01:16 -05:00
Kyle Spearrin
e85eb143bf move settings service to jslib 2018-01-09 22:47:58 -05:00
Kyle Spearrin
4ea1a5f239 move folder service to jslib 2018-01-09 22:39:43 -05:00
Kyle Spearrin
426c536b15 move container service to jslib 2018-01-09 22:28:29 -05:00
Kyle Spearrin
0c7175d1bf instance props reference static 2018-01-09 22:23:38 -05:00
Kyle Spearrin
3220252cb9 convert environment service to jslib 2018-01-09 20:20:54 -05:00