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

498 Commits

Author SHA1 Message Date
Kyle Spearrin
61723f74d2 password wallet txt importer 2019-04-26 20:51:53 -04:00
Kyle Spearrin
7ec8d3a3b5 missing await 2019-04-18 09:47:00 -04:00
Kyle Spearrin
30a1e27aa6 fix sync bug 2019-04-17 12:13:04 -04:00
Kyle Spearrin
7b0bc41f88 remove public stamp removal 2019-04-17 11:06:12 -04:00
Kyle Spearrin
7252e7cad0 updates 2019-04-16 23:32:02 -04:00
Kyle Spearrin
d3a2dfe2e8 null checks 2019-04-15 21:15:35 -04:00
Kyle Spearrin
3d958279d2 fix keyhash storage 2019-04-13 21:26:16 -04:00
Kyle Spearrin
45cb346be1 Revert "no need to just search name on edge any longer"
This reverts commit 20fb4d3a39.
2019-04-12 09:56:15 -04:00
Kyle Spearrin
20fb4d3a39 no need to just search name on edge any longer 2019-04-12 09:50:24 -04:00
Kyle Spearrin
aa4f811e9e use clearCache 2019-04-11 16:32:07 -04:00
Kyle Spearrin
2fa1270f0b null check optimizations 2019-04-10 15:40:40 -04:00
Kyle Spearrin
3ec0b7fb5d isJsonResponse helper 2019-04-10 15:39:36 -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
e979dd4f12 make blob first 2019-04-01 14:31:42 -04:00
Kyle Spearrin
593870e936 org upgrade api 2019-03-21 21:38:52 -04:00
Kyle Spearrin
fc1a73c9f2 check if authed before trying to lock 2019-03-19 15:44:48 -04:00
Kyle Spearrin
13a160fb79 move shared CLI items to jslib 2019-03-15 22:33:19 -04:00
Kyle Spearrin
3b3b71d841 apis for org api keys 2019-03-07 10:58:27 -05:00
Kyle Spearrin
cc27f98aae makeKeyFromPin in background context 2019-03-05 16:36:11 -05:00
Kyle Spearrin
62e9c75357 clearPendingClipboard function 2019-02-27 11:56:17 -05:00
Kyle Spearrin
d4fab1c697 clear clipboard setting 2019-02-27 11:06:55 -05:00
Kyle Spearrin
8aa2f0fb18 vlipboard clear timeout is 30 sec 2019-02-27 09:22:14 -05:00
Kyle Spearrin
808437ab06 system service for proc reload and clear clipboard 2019-02-27 09:21:58 -05:00
Kyle Spearrin
dd2be22351 trim slashes 2019-02-26 16:45:26 -05:00
Kyle Spearrin
79c15a1841 reload callback 2019-02-25 16:14:54 -05:00
Kyle Spearrin
9a4611ec5a lock reload 2019-02-25 15:07:19 -05:00
Kyle Spearrin
3362334d2c post bitpay invoice api 2019-02-21 22:45:56 -05:00
Kyle Spearrin
8b411de034 support for new billing and subscription endpoints 2019-02-18 15:24:06 -05:00
Kyle Spearrin
3e996ae9ad not locked 2019-02-17 21:16:49 -05:00
Kyle Spearrin
c37a52be85 trim env urls 2019-02-15 16:53:01 -05:00
Kyle Spearrin
43872f82cc cant be pin locked without key 2019-02-13 22:08:55 -05:00
Kyle Spearrin
0bdbfd7984 soft locking with protected pin 2019-02-13 21:36:36 -05:00
Kyle Spearrin
76c53bc641 remembeat csv importer 2019-02-13 15:32:25 -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
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
Kyle Spearrin
9e97b1e656 add each token as a search term 2019-01-28 11:06:28 -05:00
Kyle Spearrin
d79865fce2 added kaspersky importer 2019-01-28 09:20:51 -05:00
Kyle Spearrin
d9f68b35a6 escape $ 2019-01-26 21:30:53 -05:00
Kyle Spearrin
b01709240e init view properties 2019-01-25 09:30:21 -05:00
Kyle Spearrin
6dc44c0885 generic broadcaster service 2019-01-22 16:12:34 -05:00
Kyle Spearrin
7cd8b63b94 use getHibpBreach proxy 2019-01-17 10:46:24 -05:00
Kyle Spearrin
2e9ce15715 default match detection setting 2019-01-09 11:59:11 -05:00
Kyle Spearrin
91bebbbd62 f secure key importer, setCardExpiration helper 2019-01-03 09:58:37 -05:00
Kyle Spearrin
af4e01c238 avast passwords csv importer 2018-12-31 12:39:59 -05:00
Kyle Spearrin
4d57f44a69 bitwarden json importer 2018-12-17 13:21:06 -05:00
Kyle Spearrin
3b22df15e8 fix for org export 2018-12-17 10:54:03 -05:00
Kyle Spearrin
e7b5868aad export to json 2018-12-17 10:32:02 -05:00
Kyle Spearrin
e10523cc61 getAll ciphers FromApiForOrganization 2018-12-14 13:55:44 -05:00
Kyle Spearrin
e64fdf4e21 enpass json importer 2018-12-13 14:34:37 -05:00
Kyle Spearrin
18ac2db323 normalize boolean type values for custom fields 2018-12-13 10:58:48 -05:00
Kyle Spearrin
6a958afd16 length check on userInputs 2018-12-12 19:37:06 -05:00
Kyle Spearrin
ed74f73a8c dashlane json importer 2018-12-12 17:06:13 -05:00
Kyle Spearrin
9283a29d35 Domain match blacklist 2018-12-07 15:41:43 -05:00
Kyle Spearrin
64a6015a67 RSA HMAC cipher string types are deprecated 2018-11-26 15:29:54 -05:00
Kyle Spearrin
0ae636aa53 use digits for steam 2018-11-26 08:26:36 -05:00
Kyle Spearrin
5b59f888e0 SteamChars to regular string 2018-11-26 08:23:31 -05:00
Kyle Spearrin
4b85172b52 clean up totp service 2018-11-26 08:22:17 -05:00
h44z
46ad445951 Add support for Steam TOTP (#20) 2018-11-26 08:12:39 -05:00
Kyle Spearrin
1536f161f7 dont show card/identities constants 2018-11-21 14:29:54 -05:00
Kyle Spearrin
be080f4f17 only use shareAttachmentWithServer for old attachments 2018-11-15 08:55:29 -05:00
Kyle Spearrin
f514e2bb67 autoConfirmFingerprints constant 2018-11-14 23:13:34 -05:00
Kyle Spearrin
17e7ee4838 support for new attachment keys 2018-11-13 20:43:45 -05:00
Kyle Spearrin
aa16fb2a9e password strength function with zxcvbn 2018-11-12 22:54:18 -05:00
Kyle Spearrin
786fa02b90 added collpase/expand functions to groupings 2018-11-09 17:44: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
6fa3538cbc copy org id too 2018-11-05 14:48:07 -05:00
Kyle Spearrin
2c4005d4c7 index organizationid for search 2018-10-30 11:03:41 -04:00
Kyle Spearrin
aa0b274f8f store parent node 2018-10-26 16:08:48 -04:00
Kyle Spearrin
d4b3a16fd1 getNested tree object by node id 2018-10-26 10:48:06 -04:00
Kyle Spearrin
59f0549072 getAllNested for collections too. added treenodeobject interface 2018-10-25 12:09:22 -04:00
Kyle Spearrin
6aba4550a4 Nested folders 2018-10-25 09:38:37 -04:00
Kyle Spearrin
4165a78277 move attachment sharing logic to service 2018-10-23 22:10:08 -04:00
Kyle Spearrin
43c0cbce45 save share response 2018-10-23 16:16:59 -04:00
Kyle Spearrin
194374ea73 support org/collection selection on cipher add 2018-10-19 11:20:04 -04:00
Kyle Spearrin
b1ead78e34 throw error if trying to edit cipher with collection ids 2018-10-19 09:15:42 -04:00
Kyle Spearrin
bf48b45010 apis for new create with collections 2018-10-19 09:14:11 -04:00
Kyle Spearrin
d1f7a97011 group user apis 2018-10-17 22:56:28 -04:00
Kyle Spearrin
2b8ffea494 put collection users apis 2018-10-17 22:18:28 -04:00
Kyle Spearrin
d49182597e new collection user api endpoint 2018-10-17 17:31:13 -04:00
Kyle Spearrin
0d8e09b3f1 add API for user collections 2018-10-17 11:18:12 -04:00
Kyle Spearrin
ad97afc590 move getDomain to jslib Utils 2018-10-13 22:21:54 -04:00
Kyle Spearrin
7c3e0cba34 overload defaults on options get 2018-10-10 09:59:09 -04:00
Kyle Spearrin
dcef50bd8f just use adapter 2018-10-09 15:31:52 -04:00
Kyle Spearrin
2870b7472b re-write data file if malformed json 2018-10-09 15:18:25 -04:00
Kyle Spearrin
a867c14b2a pass gen fixes. word sep option 2018-10-08 22:06:06 -04:00
Kyle Spearrin
d5f86747bf passphrase cleanup 2018-10-08 17:54:54 -04:00
Martin Trigaux
c4da05dbb0 Add a passphrase generation mechanism (#12)
Based on EFF's wordlist
The wordlist was selected based on arguments mentionned in
https://www.eff.org/deeplinks/2016/07/new-wordlists-random-passphrases
over Arnold Reinhold's Diceware list from 1995 such as avoid short,
deused or diffcult to pronounce words
2018-10-08 17:26:13 -04:00
ServiusHack
30a5257671 Add importer for Passman (#13)
* Add importer for Passman

The importer reads JSON files generated by the Nextcloud app Passman.

The first tag is used as the folder name. This works well if passwords
have no or only one tag. If no username is set then the email address is
used as the username.

Files are not being imported.

* Fix indentation

* Remove unsettable revision date

* Fix tslint findings

* Add email to notes when there is also a username

If a username is set, that will become the username. Otherwise the email
will become the username.

If a username and an email is set the email will be added to the notes.
2018-10-08 15:41:32 -04:00
Kyle Spearrin
4b7962dc8f add support for u2f setup apis 2018-10-08 14:21:53 -04:00
Kyle Spearrin
c3f67dbe26 rename domain to domainBase for weird nativescript issue 2018-10-04 14:38:15 -04:00
Kyle Spearrin
1f36c5fee6 dont await void methods 2018-10-04 12:05:21 -04:00
Kyle Spearrin
fc1bcb34a0 null check 2018-09-27 08:32:48 -04:00
Kyle Spearrin
d1847690f2 purge org vault apis 2018-09-25 09:12:11 -04:00
Kyle Spearrin
d81273c44f passpack importer 2018-09-21 13:54:06 -04:00
Kyle Spearrin
d9808250c6 lowercase fields 2018-09-14 09:22:35 -04:00
Kyle Spearrin
2fadcb8d04 is safari check 2018-09-14 08:07:55 -04:00
Kyle Spearrin
7dc14a0d18 strip asterisk from subtitle of cards 2018-09-12 10:27:21 -04:00
Kyle Spearrin
cf795bc39c dont index asterisk on card last4 2018-09-12 10:22:46 -04:00
Kyle Spearrin
04f6b44d54 use regualar fetch for hibp apis 2018-09-11 15:54:18 -04:00
Kyle Spearrin
ffa7b35494 is old safari check on pbkdf2 2018-09-10 16:28:35 -04: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
2d612b07de no key safety check for orgs 2018-09-10 08:22:10 -04:00
Kyle Spearrin
773c51901f trim email also 2018-09-08 08:13:33 -04:00
Kyle Spearrin
eb48abbcf6 update lunr for leading wildcard searches 2018-09-03 21:51:19 -04:00
Kyle Spearrin
26625a58d0 spread out reconnects between 2 and 5 min 2018-08-31 23:24:43 -04:00
Kyle Spearrin
852b4571b3 check last sync before revision date 2018-08-31 17:22:38 -04:00
Kyle Spearrin
82bf646a77 check enabled too 2018-08-29 13:44:55 -04:00
Kyle Spearrin
81c21418ec user canAccessPremium checks 2018-08-28 23:17:30 -04:00
Kyle Spearrin
a72843af3e ensure that message is for proper logged in user 2018-08-28 08:47:06 -04:00
Kyle Spearrin
45da8aa9eb support for logout notification 2018-08-28 08:38:19 -04:00
Kyle Spearrin
3c43265878 change to 700 perms 2018-08-27 22:59:50 -04:00
Kyle Spearrin
0f68f0507e use string mode 2018-08-27 22:54:51 -04:00
Kyle Spearrin
13e0cf0c47 rename all to PBKDF2_SHA256 2018-08-27 19:58:49 -04:00
Kyle Spearrin
ae54094fcd kdf apis 2018-08-27 19:55:05 -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
c0fd5f71f8 always set inactive state first 2018-08-24 15:21:28 -04:00
Kyle Spearrin
bc198c60d1 message pack protocol for signalr 2018-08-23 21:43:40 -04:00
Kyle Spearrin
2dc77b6143 disable notifications server url with https://- 2018-08-23 09:25:39 -04:00
Kyle Spearrin
db1a632c65 sync on reconnect 2018-08-23 08:56:23 -04:00
Kyle Spearrin
a360cd8e61 refresh notification token if needed. authed and unlocked required 2018-08-22 21:46:34 -04:00
Kyle Spearrin
d37fa836da activity connect/disconnect events 2018-08-22 21:09:58 -04:00
Kyle Spearrin
74b31daf14 short arrow functions 2018-08-22 13:48:51 -04:00
Kyle Spearrin
ebf6aee542 try to reconnect when connection closed 2018-08-22 13:46:35 -04:00
Kyle Spearrin
a67ea2422f polyfill sha512 hmac on ie 2018-08-22 08:53:52 -04:00
Kyle Spearrin
46e35a9b84 delete cipher on sync if it 404s 2018-08-21 23:10:12 -04:00
Kyle Spearrin
953970498e update notification sync logic for collectionids 2018-08-21 09:25:16 -04:00
Kyle Spearrin
75d4db81f7 trailing wildcard search on split uris 2018-08-21 09:04:52 -04:00
Kyle Spearrin
9cfd693576 only sync on edit if they already have the item/folder 2018-08-21 08:20:43 -04:00
Kyle Spearrin
50666a761d refresh token and reconnect on org key change 2018-08-20 22:20:04 -04:00
Kyle Spearrin
21e0953589 null check notificationsService 2018-08-20 17:08:19 -04:00
Kyle Spearrin
7cae08a55b reinit notifications after setting urls 2018-08-20 17:00:39 -04:00
Kyle Spearrin
d0c51bacfd sync folders and ciphers. fix dates 2018-08-20 16:01:26 -04:00
Kyle Spearrin
ddee5908f1 notification service 2018-08-20 13:45:32 -04:00
Kyle Spearrin
b64757132f index login.uris_split 2018-08-20 08:41:12 -04:00
Kyle Spearrin
1f9fbe43d7 trim lunr query after > 2018-08-17 11:07:50 -04:00
Kyle Spearrin
bdbba8c493 switch to only trailing wildcard searches 2018-08-17 11:05:06 -04:00
Kyle Spearrin
9ba3c17626 allow ciphers to be passed into search service 2018-08-16 23:32:37 -04:00
Kyle Spearrin
f16fc58d70 allow original cipher to be passed during encrypt 2018-08-15 11:43:52 -04:00
Kyle Spearrin
d56c5ff4f1 just check statusCode 2018-08-15 09:01:00 -04:00
Kyle Spearrin
9f26f9f377 support for prelogin kdf info 2018-08-14 15:12:10 -04:00
Kyle Spearrin
8448b48cd7 dont sort search results 2018-08-13 16:03:24 -04:00
Kyle Spearrin
2efe788d96 joined fields and attachments indexing 2018-08-13 16:00:21 -04:00
Kyle Spearrin
bdb2efd770 searchCiphersBasic 2018-08-13 14:28:10 -04:00
Kyle Spearrin
364192b27a clear search index on lock 2018-08-13 14:09:10 -04:00