1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-12 10:14:10 +01:00
Commit Graph

376 Commits

Author SHA1 Message Date
Kyle Spearrin
16098a1743 support user encryption key 2017-06-02 00:10:29 -04:00
Kyle Spearrin
038e95dbdf only get keys if private key returns null 2017-05-22 09:28:11 -04:00
Kyle Spearrin
81101f2890 reject referred instead of throwing exceptions 2017-05-22 09:03:59 -04:00
Kyle Spearrin
cd07f58535 choose auth scheme based on token issuer 2017-05-05 23:19:38 -04:00
Kyle Spearrin
0e30362173 move to new identity domain and auth scheme 2017-05-05 21:54:49 -04:00
Kyle Spearrin
f6952177ed comment update 2017-04-27 12:13:55 -04:00
Kyle Spearrin
585a603cf6 protect mac comparisons from timing attacks 2017-04-27 12:01:22 -04:00
Kyle Spearrin
1ce4b5443b bug fixes around fetching keys for org sync 2017-04-26 11:59:31 -04:00
Kyle Spearrin
154427a0f3 get private key if not available during sync 2017-04-25 16:25:22 -04:00
Kyle Spearrin
f04908058f add more api environments 2017-04-25 13:19:34 -04:00
Kyle Spearrin
9bf77ec1c3 encrypt login with org key 2017-04-24 14:16:12 -04:00
Kyle Spearrin
17b6061f40 sync org keys and folders 2017-04-24 11:08:32 -04:00
Kyle Spearrin
0ea89bf9da only clear memory org keys when locked 2017-04-24 10:53:23 -04:00
Kyle Spearrin
8c38480db8 private keys, rsa dec, org keys w/ login dec 2017-04-24 10:39:05 -04:00
Kyle Spearrin
2be7d1a242 rename CryptoKey to SymmetricCryptoKey 2017-04-22 14:38:41 -04:00
Kyle Spearrin
863cfbad4a refactor for enc type header and CryptoKey 2017-04-22 10:58:32 -04:00
Kyle Spearrin
9e6c0f79ef Added export vault function to tools. 2017-04-12 08:45:31 -04:00
Kyle Spearrin
45d6c6f341 better domain parsing with tldjs backup 2017-03-28 22:11:47 -04:00
Kyle Spearrin
02dc3609b4 remove old sync code 2017-03-23 10:53:33 -04:00
Kyle Spearrin
123fe19ee3 Logging around api logout 2017-03-15 19:26:16 -04:00
Kyle Spearrin
ec08efdcd7 setLastSync whenever account revision check determines that nothing has changed 2017-03-14 22:51:47 -04:00
byron jones
84821fd67d Add option to disable content menu integation (#99)
* Add option to disable content menu integation

Fixes issue #98

* pass tab to contextMenuReady
2017-03-03 22:33:17 -05:00
byron jones
0298c19e13 Fix password generation's handling of the ambiguous option. (#100)
* Fix password generation's handling of the ambiguous option.

Fixes #97

* Invert options.ambiguous's value in the UI.

options.ambiguous means "allow ambiguous characters", however the
checkbox is labeled "avoid ambiguous characters".  inverse the value at
display time to reflect to reflect reality.
2017-03-01 22:55:37 -05:00
Kyle Spearrin
df3893722c various bug fixes #92 #84 2017-02-23 19:31:29 -05:00
Kyle Spearrin
8a2510bcb1 utf8 encode params for key derivation 2017-02-15 19:02:55 -05:00
Kyle Spearrin
a9be800f9e logout on token error only if its a 400 2017-02-10 19:21:18 -05:00
Kyle Spearrin
e3bc6443dd null check on lastSync 2017-02-07 21:45:29 -05:00
Kyle Spearrin
88b2d1270a cache _decodedToken 2017-02-04 21:58:16 -05:00
Kyle Spearrin
cf7e7a04da remove old code from token service 2017-01-28 16:48:23 -05:00
Kyle Spearrin
4df99d2d50 added device registraiton to token migration 2017-01-25 22:57:32 -05:00
Kyle Spearrin
4be033df71 Added device registration information during authentication 2017-01-25 20:42:09 -05:00
Kyle Spearrin
5a20f9de01 react to TwoFactorProviders 2017-01-25 00:34:57 -05:00
Kyle Spearrin
6c8f2d526c adjusted token service gets for new claims 2017-01-24 22:57:21 -05:00
Kyle Spearrin
a55a70564f set last sync on sync service 2017-01-24 00:30:45 -05:00
Kyle Spearrin
b0a7b88585 user can be authenticated when under old auth bearer token 2017-01-23 23:51:12 -05:00
Kyle Spearrin
a9fbc92943 pass phony username/pass. do syncing steps synchronously. 2017-01-21 23:34:12 -05:00
Kyle Spearrin
ca6de7d9ec pass self to helper 2017-01-21 22:07:08 -05:00
Kyle Spearrin
4968a00dcf handle traferring old auth bearer 2017-01-21 22:00:02 -05:00
Kyle Spearrin
e1ed7587dc pass logout function to api service rather than relying on messaging 2017-01-21 20:00:25 -05:00
Kyle Spearrin
8dbb2ece42 autofill fixes 2017-01-21 12:38:52 -05:00
Kyle Spearrin
33ce9be01c added easy comment switching of prod/local api endpoints 2017-01-19 19:21:22 -05:00
Kyle Spearrin
0bd77352b0 Added refresh token check for each API call. refactored logout messaging from authService 2017-01-19 00:21:20 -05:00
Kyle Spearrin
0b63eb58ba Added two factor flow into identity login 2017-01-18 22:14:51 -05:00
Kyle Spearrin
6bb6c7074b convert to identityserver auth 2017-01-17 23:07:46 -05:00
Kyle Spearrin
f84bfcb19a fix sync bugs on login/logout 2017-01-17 21:43:26 -05:00
Kyle Spearrin
80945bd3bc push original domain if it doesnt belong to any eqiv groups 2017-01-14 17:58:22 -05:00
Kyle Spearrin
54119e1e94 Checking for equivalent domains from settings 2017-01-14 13:43:59 -05:00
Kyle Spearrin
bb56f9ee47 poll new revision date instead of full sync each time 2017-01-14 12:47:11 -05:00
Kyle Spearrin
c18cdd6206 sync domains 2017-01-14 11:20:44 -05:00
Kyle Spearrin
65d822716e fix computeMac 2017-01-13 00:22:42 -05:00
Kyle Spearrin
3728cd8e1d convert cryptoservice from sjcl to forge 2017-01-12 23:57:56 -05:00
Kyle Spearrin
fb486003b5 Refactored rename of Sites => Logins 2017-01-03 18:40:07 -05:00
Kyle Spearrin
53cd3d7848 Feature settings. i18n of notification bar. 2016-12-30 20:55:59 -05:00
Kyle Spearrin
2310f5ebdf Add new login with save from notification bar 2016-12-30 14:26:22 -05:00
Kyle Spearrin
4bd34598b1 detect login form submitted and show notification 2016-12-30 02:09:54 -05:00
Kyle Spearrin
3b78c0c3ed datatype text when no body response 2016-12-29 16:09:28 -05:00
Kyle Spearrin
6af283b947 Do not set datatype on API calls where there is no response. causes jqeury to error. (revert fb94764) 2016-12-26 21:40:21 -05:00
Kyle Spearrin
588652b721 i18n fixes 2016-12-23 23:57:18 -05:00
Kyle Spearrin
fb94764d7a explicitly set data types for all ajax calls 2016-12-19 09:46:39 -05:00
Kyle Spearrin
70ded7f57b Added encrypt-then-mac support to cryptoService 2016-12-10 10:33:58 -05:00
Kyle Spearrin
4476eb7389 Added new page for viewing sites within a folder 2016-12-06 23:54:03 -05:00
Kyle Spearrin
4741eb91dd few fixes to analytics, checkboxes, and sweetalerts 2016-12-02 00:05:57 -05:00
Kyle Spearrin
9bf2c4f54c comment updates 2016-11-26 14:41:08 -05:00
Kyle Spearrin
3e2663e9d4 autofill improvements to fallback when no "viewable" password/username fields are detected. 2016-11-26 12:06:39 -05:00
Kyle Spearrin
1968dd2d08 use es6 Proxy for i18n service so we don't have to define properties for every string 2016-11-19 00:21:47 -05:00
Kyle Spearrin
dfba31121c autofill fixes #20 2016-11-11 22:40:09 -05:00
Kyle Spearrin
e4c5ab88fb update icon when vault is locked/unlocked 2016-10-25 23:17:46 -04:00
Kyle Spearrin
124ac06419 Fixed issues where onReplaced and onUpdated are called multiple times 2016-10-25 23:03:21 -04:00
Kyle Spearrin
c982667338 Added lock timer and adjusted context menus and badge appropriately 2016-10-25 00:23:21 -04:00
Kyle Spearrin
80ed37ada6 Added setting to not store key via lock options, only keeping it in memory. Fixed some i18n and created constants service 2016-10-24 22:16:47 -04:00
Kyle Spearrin
25fef2d826 key not required in order to be considered logged in 2016-10-21 23:00:12 -04:00
Kyle Spearrin
0b0af8f755 i18n disable google analytics 2016-10-18 20:19:17 -04:00
Kyle Spearrin
42830e5793 replaced double quotes with single quotes in i18n service 2016-10-18 19:04:31 -04:00
Kyle Spearrin
03e614e58b applied i18n to background context menus 2016-10-18 19:03:40 -04:00
Kyle Spearrin
bfe2edcdea moved i18nService out to global services 2016-10-18 18:56:40 -04:00
Kyle Spearrin
56bd98fa43 move google analytics to measurements protocol so that we can get rid of custom CSP 2016-10-17 22:26:04 -04:00
Kyle Spearrin
3ac9196c98 adjust password generator tool to use cryptographically secure RNG 2016-10-15 00:37:57 -04:00
Kyle Spearrin
9e2b64d0c4 Adjust autofill to handle sites with no username/password 2016-10-14 00:20:16 -04:00
Kyle Spearrin
1426719406 set prng paranoia to 10 2016-10-10 21:28:57 -04:00
Kyle Spearrin
5d269884d4 autofill updates to support multiple forms on same page 2016-10-03 23:54:03 -04:00
Kyle Spearrin
ddd76357cd cache analytics id in utils service 2016-10-02 00:34:19 -04:00
Kyle Spearrin
f328c38cff refactored autofill parsing to handle multiple login forms 2016-09-29 22:21:12 -04:00
Kyle Spearrin
0b8ff4499f pass angular to initListSectionItemListeners util 2016-09-29 17:57:56 -04:00
Kyle Spearrin
5996f038a2 remove anonymous app id since not needed for analytics 2016-09-27 23:51:26 -04:00
Kyle Spearrin
d49f0fcac3 move sync upon login to vault controller initiated via state params. 2016-09-26 20:29:23 -04:00
Kyle Spearrin
a59f7a4afc moved popup utils to utilsService 2016-09-26 18:41:20 -04:00
Kyle Spearrin
ffa8b5024b appId service and removed unnecessary permissions from manifest 2016-09-22 23:00:22 -04:00
Kyle Spearrin
c3d1d4101e show loading while syncing on vault list 2016-09-22 19:26:20 -04:00
Kyle Spearrin
3f95c3a7ea logout issues with cache fixed. updated chrome store images 2016-09-22 17:00:56 -04:00
Kyle Spearrin
95ab611595 Delete site/folder 2016-09-22 14:16:24 -04:00
Kyle Spearrin
f28b690a2a formatting 2016-09-22 13:15:42 -04:00
Kyle Spearrin
7d2a16c1f4 fixes 2016-09-21 15:21:50 -04:00
Kyle Spearrin
8a3a981ac1 two step login page 2016-09-21 11:35:24 -04:00
Kyle Spearrin
32d459159c getBrowser cache 2016-09-21 11:11:36 -04:00
Kyle Spearrin
5b1172b8d0 utils service. added browser detection method to utils 2016-09-21 01:17:46 -04:00
Kyle Spearrin
9a19acef22 add none folder from service layer 2016-09-21 00:43:29 -04:00
Kyle Spearrin
8d458d1762 poll full sync on interval. broadcast messages from background 2016-09-21 00:26:23 -04:00
Kyle Spearrin
2e56a956db clear vault upon logout. full sync vault upon login. 2016-09-21 00:04:59 -04:00
Kyle Spearrin
8b76668f1f persist user profile information 2016-09-20 23:30:16 -04:00
Kyle Spearrin
ee4548a84a registration 2016-09-20 19:57:24 -04:00
Kyle Spearrin
0219068bb6 password hint 2016-09-20 17:47:21 -04:00
Kyle Spearrin
350d671c26 Generate andcopy passwords. Save password options 2016-09-17 22:57:51 -04:00
Kyle Spearrin
4105d2b5ad password generation service 2016-09-17 18:30:57 -04:00
Kyle Spearrin
36b580d60a smarter username field selection for no form condition 2016-09-17 13:47:17 -04:00
Kyle Spearrin
790d705d40 handle autofill for pages with no forms, but still has fields 2016-09-17 09:35:54 -04:00
Kyle Spearrin
78ec69a9c8 move autofill script building method to service 2016-09-17 00:00:17 -04:00
Kyle Spearrin
69ea468716 purge cache when local changes happen 2016-09-16 23:52:50 -04:00
Kyle Spearrin
ac4d5836b2 refactoring with promises throughout 2016-09-16 23:47:50 -04:00
Kyle Spearrin
6f142c3682 Moved vault to cached folders/sites 2016-09-15 21:09:56 -04:00
Kyle Spearrin
16a59f8d09 added q promise library. moving cipher service functions out into application services and domain models. 2016-09-15 00:09:48 -04:00
Kyle Spearrin
d78dfac43c Form and field directives, form loading spinner 2016-09-10 17:13:29 -04:00
Kyle Spearrin
4092e2ecc3 fix sync and vault listing bugs 2016-09-06 23:30:49 -04:00
Kyle Spearrin
5a39d4c73e Created sync service and supported folder/site service methods 2016-09-06 20:41:17 -04:00
Kyle Spearrin
27667a3086 decrypt and list sites 2016-09-05 22:27:32 -04:00
Kyle Spearrin
a7c8dec730 adjustments to site getall 2016-09-05 11:05:27 -04:00
Kyle Spearrin
abb6f37af2 tuneing up mdoels and services for site add 2016-09-05 01:49:44 -04:00
Kyle Spearrin
cc67d12c57 hashpassword with callback 2016-09-05 00:03:49 -04:00
Kyle Spearrin
8f0a24b1b9 more services and async callthroughs for vault list/add 2016-09-04 00:34:24 -04:00
Kyle Spearrin
79860da28c move api services to background page. wire up log in and log out. 2016-09-03 15:44:32 -04:00
Kyle Spearrin
c3053ea3a7 setting up more models and services 2016-09-03 12:07:30 -04:00
Kyle Spearrin
c39aab4ee7 api models and services 2016-09-03 01:13:09 -04:00
Kyle Spearrin
8fa3caaa3e api service and get profile 2016-09-03 00:38:27 -04:00
Kyle Spearrin
4c29b61189 replace jwthelper 2016-09-03 00:11:57 -04:00
Kyle Spearrin
e322c77725 setup various pages and services 2016-09-03 00:03:13 -04:00
Kyle Spearrin
8fafe2bd6d Few fixes to services and login 2016-09-02 01:20:41 -04:00
Kyle Spearrin
88c1c4b3dd setup various services and login page 2016-09-02 00:50:57 -04:00