Matt Gibson
8d5614cd7b
Port send jslib to mobile ( #1219 )
...
* Expand Hkdf crypto functions
* Add tests for hkdf crypto functions
Took the testing infrastructure from bitwarden/server
* Move Hkdf to cryptoFunctionService
* Port changes from bitwarden/jslib#192
* Port changes from bitwarden/jslib#205
* Make Send Expiration Optional implement changes from bitwarden/jslib#242
* Bug fixes found by testing
* Test helpers
* Test conversion between model types
* Test SendService
These are mostly happy-path tests to ensure a reasonably correct
implementation
* Add run tests step to GitHub Actions
* Test send decryption
* Test Request generation from Send
* Constructor dependencies on separate lines
* Remove unused testing infrastructure
* Rename to match class name
* Move fat arrows to previous lines
* Handle exceptions in App layer
* PR review cleanups
* Throw when attempting to save an unkown Send Type
I think it's best to only throw on unknown send types here.
I don't think we want to throw whenever we encounter one since that would
do bad things like lock up Sync if clients get out of date relative to
servers. Instead, keep the client from ruining saved data by complaining
last minute that it doesn't know what it's doing.
2021-01-25 14:27:38 -06:00
Matt Portune
0b7e07ebab
clear cipher cache when replacing ios autofill identities ( #1112 )
...
* clear cipher cache when replacing ios autofill identities
* changed to be service-centric
* support for multiple cache keys
* async suffix
* added cache keys for android
2020-10-13 15:39:36 -04:00
Kyle Spearrin
29e443ed76
base64 url encode/decode heleprs ( #1038 )
2020-08-14 10:08:50 -04:00
Kyle Spearrin
24547e67bf
check for empty string on malformed URL ( #944 )
...
* treat empty string host as null
* use `string.IsNullOrEmpty`
2020-06-01 14:46:37 -04:00
Vincent Salucci
4c3df2e1e1
[Auto Logout] Final review of feature ( #932 )
...
* Initial commit of LockService name refactor (#831 )
* [Auto-Logout] Update Service layer logic (#835 )
* Initial commit of service logic update
* Added default value for action
* Updated ToggleTokensAsync conditional
* Removed unused variables, updated action conditional
* Initial commit: lockOption/lock refactor app layer (#840 )
* [Auto-Logout] Settings Refactor - Application Layer Part 2 (#844 )
* Initial commit of app layer part 2
* Updated biometrics position
* Reverted resource name refactor
* LockOptions refactor revert
* Updated method casing :: Removed VaultTimeout prefix for timeouts
* Fixed dupe string resource (#854 )
* Updated dependency to use VaultTimeoutService (#896 )
* [Auto Logout] Xamarin Forms in AutoFill flow (iOS) (#902 )
* fix typo in PINRequireMasterPasswordRestart (#900 )
* initial commit for xf usage in autofill
* Fixed databinding for hint button
* Updated Two Factor page launch - removed unused imports
* First pass at broadcast/messenger implentation for autofill
* setting theme in extension using theme manager
* extension app resources
* App resources from main app
* fix ref to twoFactorPage
* apply resources to page
* load empty app for sytling in extension
* move ios renderers to ios core
* static ref to resources and GetResourceColor helper
* fix method ref
* move application.current.resources refs to helper
* switch login page alerts to device action dialogs
* run on main thread
* showDialog with device action service
* abstract action sheet to device action service
* add support for yubikey
* add yubikey iimages to extension
* support close button action
* add support to action extension
* remove empty lines
Co-authored-by: Jonas Kittner <54631600+theendlessriver13@users.noreply.github.com>
Co-authored-by: Kyle Spearrin <kyle.spearrin@gmail.com>
* [Auto Logout] Update lock option to be default value (#929 )
* Initial commit - make lock action default
* Removed extra whitespace
Co-authored-by: Jonas Kittner <54631600+theendlessriver13@users.noreply.github.com>
Co-authored-by: Kyle Spearrin <kyle.spearrin@gmail.com>
Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
2020-05-29 12:26:36 -04:00
Kyle Spearrin
0b29c6e5a4
Dispost of LiteDatabase instance ( #928 )
2020-05-28 15:44:27 -04:00
Matt Portune
36cdc7dd1c
Additional URI parsing fix ( #865 )
...
* Additional URI parsing fix
* name cleanup
2020-04-30 16:47:29 -04:00
Matt Portune
9d27f111bf
Additional uri parsing intelligence ( #861 )
2020-04-29 13:09:46 -04:00
Matt Portune
69e0906491
Fixes to uri parsing ( #860 )
2020-04-29 11:04:50 -04:00
Chad Scharf
3c18fd7636
Changed all C# control flow block statements to include space between keyword and open paren ( #800 )
2020-03-28 09:16:28 -04:00
Matt Portune
f78f303a79
Password generator policy enforcement ( #741 )
...
* Password generator policy enforcement
* Formatting
* Changed to simple cast (double unboxing for int64/long)
* Added ui indication of active policy on password generator page and fixed issue with switch enable logic
2020-02-27 19:53:02 -05:00
Matt Portune
387dc2f59c
Beginning of policy support ( #736 )
...
* Model & service support for policies
* Formatting
* Changes to match existing service and model patterns
2020-02-21 10:23:38 -05:00
Matt Portune
33df456cfd
In-app vault export support ( #729 )
...
* First pass at vault export UI
* Password validation via cryptoService
* Export service framework
* support for constructing json export data
* Support for constructing csv export data
* Cleanup and simplification
* Completion of vault export feature
* Formatting and simplification
* Use dialog instead of toast for invalid master password entry
2020-02-14 16:10:58 -05:00
Kyle Spearrin
5fdf8e6045
set fingerprint lock prop on login
2019-11-05 09:03:48 -05:00
Kyle Spearrin
e1983a7d66
fix error when login token expires
2019-10-22 16:30:28 -04:00
Kyle Spearrin
2507f3301b
device user agent
2019-09-04 11:52:32 -04:00
Kyle Spearrin
431804ea80
loop on reset with range instead of clear
2019-07-29 22:35:53 -04:00
Kyle Spearrin
df2af5459e
register event service with container
2019-07-12 15:51:47 -04:00
Kyle Spearrin
fac9ae4b6c
only init hockeyapp once
2019-07-03 16:50:12 -04:00
Kyle Spearrin
b308b4c54f
move some json dependencies out of extension project
2019-07-02 14:03:59 -04:00
Kyle Spearrin
9145fa1c48
improvement to lock screen
2019-06-28 11:47:04 -04:00
Kyle Spearrin
79746efa2d
action extension project
2019-06-26 20:28:23 -04:00
Kyle Spearrin
c50dee479a
android http client handler
2019-06-15 18:44:08 -04:00
Kyle Spearrin
4d54c8f1d1
resolve some todos
2019-06-05 08:58:11 -04:00
Kyle Spearrin
ac6f3a6bb6
fix ip address matching on getdomain
2019-05-31 08:30:18 -04:00
Kyle Spearrin
67970afc1e
log out on stamp mismatch when syncing
2019-05-29 23:41:43 -04:00
Kyle Spearrin
1c08901698
remove some todos
2019-05-29 23:37:25 -04:00
Kyle Spearrin
6218c65ec6
prime expensive tasks
2019-05-28 17:18:27 -04:00
Kyle Spearrin
25d02cec25
load EEFLongWordList from file
2019-05-28 17:06:57 -04:00
Kyle Spearrin
5cf2092576
register lock service
2019-05-15 14:26:23 -04:00
Kyle Spearrin
bb0ee239b4
pickers
2019-05-08 14:37:12 -04:00
Kyle Spearrin
baf77eb3a3
view page login info with copy buttons
2019-04-26 00:26:09 -04:00
Kyle Spearrin
003092a55b
re-use groupings page for ciphers listing
2019-04-24 16:50:34 -04:00
Kyle Spearrin
3d50133fa8
search service
2019-04-24 14:52:26 -04:00
Kyle Spearrin
fff32e8086
register environment service
2019-04-18 12:21:35 -04:00
Kyle Spearrin
b94485be75
register services on android
2019-04-18 10:40:57 -04:00
Kyle Spearrin
f48aa24129
totp service
2019-04-17 16:01:07 -04:00
Kyle Spearrin
f46151bb71
password generation service
2019-04-17 15:23:26 -04:00
Kyle Spearrin
18f04af051
tree node traversal for folder
2019-04-17 08:46:51 -04:00
Kyle Spearrin
2fa3d214e5
make regex helpers public
2019-04-16 07:44:05 -04:00
Kyle Spearrin
40598721f1
Url helpers
2019-04-15 18:17:19 -04:00
Kyle Spearrin
576f44a924
DomainName helper class for getting base domain
2019-04-15 16:16:53 -04:00
Kyle Spearrin
b9838ecc4e
service container
2019-04-11 14:14:34 -04:00
Kyle Spearrin
929727ba41
token service
2019-04-09 10:35:21 -04:00
Kyle Spearrin
a1c853d7fc
cipher view cell control
2019-03-29 16:52:57 -04:00
Kyle Spearrin
69ac98b2f6
vault groupings page list view stubbed
2019-03-29 12:52:57 -04:00