aboutsummaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAgeFilesLines
* version: bump1.0.20200401Jason A. Donenfeld2020-04-032-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: libwg-go: use deterministic verdef nameJason A. Donenfeld2020-04-031-1/+1
| | | | | | | | | | | | | | | | | From the ld.gold source: const char* name = parameters->options().soname(); if (name == NULL) name = parameters->options().output_file_name(); That means by default it uses `-o {output}` as the verdef aux name, which is random every time due to Go's build system. By passing in `--soname={somethingexplicit}` we can instead have a deterministic verdef. This commit makes wireguard-android reproducible. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* gradle: upgrade to 6.3Jason A. Donenfeld2020-04-031-1/+1
| | | | | | | | It looks like F-Droid finally updated. This reverts commit cd43444d1f10f7d6655abd08d945070ee24176f3. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* gradle: downgrade to 6.2.1 to deal with f-droid organizational mismanagementJason A. Donenfeld2020-04-011-1/+1
| | | | | | | | | | | | | | | | The fdroidserver repo hardcodes hashes of all gradle versions that are allowed to be used. This is currently up to date, having 6.3. However, the f-droid build server is not up to date, because it is controlled by the founder of f-droid, who is generally unavailable and does not update it. Meanwhile other members of the project would like to stand up their own build server instance, but this seems potentially arduous and there's still the question of the signing key. At least that's the story I was able to glean from asking around. So, in order to work around this organizational brokeness, we just downgrade to 6.2.1. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ObservableTunnel: do not cache keyJason A. Donenfeld2020-04-011-1/+2
| | | | | Reported-by: Reza Island's <rezza.aji.ras@gmail.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: libwg-go: remove -x option from flockJason A. Donenfeld2020-04-012-2/+4
| | | | | | It's already the default and the macOS port of flock doesn't support it. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* build: update fragment to 1.2.4Harsh Shandilya2020-04-012-1/+9
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: update agp to 3.6.2Jason A. Donenfeld2020-04-011-1/+2
| | | | | | Harsh likes to be first in line. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: disable LongLogTag lintHarsh Shandilya2020-03-311-0/+3
| | | | | | We know what we're doing Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* TunnelEditorFragment: don't show bioauth if already visibleJason A. Donenfeld2020-03-301-0/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bump1.0.20200329Jason A. Donenfeld2020-03-301-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: sync translationsHarsh Shandilya2020-03-305-13/+19
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* global: cleanup code styleJason A. Donenfeld2020-03-3018-57/+69
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: update proguard rules to keep crash logs readableHarsh Shandilya2020-03-301-0/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* LogViewerActivity: don't crash if pipe closesJason A. Donenfeld2020-03-301-1/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelDetail: set singleLine=true for API <=23Jason A. Donenfeld2020-03-302-0/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* BiometricAuthenticator: rework logic and bugsJason A. Donenfeld2020-03-303-15/+39
| | | | | | | Otherwise there's a frameworks bug that causes the fragment's activity to become null. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* BiometricAuthenticator: implement biometric authentication for sensitive operationsHarsh Shandilya2020-03-306-18/+127
| | | | | | | | When biometric hardware is available, it will be used to authenticate the user before private keys are shown on screen or when zip exports are executed. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ObservableTunnel: Don't cache configAsyncHarsh Shandilya2020-03-301-4/+5
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* ui: replace generate icon with 'sync' instead of 'toys'Jason A. Donenfeld2020-03-301-2/+2
| | | | | | | I dislike this change, but Harsh thinks the toys icon is utterly insane and maybe he's right. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* BindingAdapters: use sleeker lambdaJason A. Donenfeld2020-03-301-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelEditorFragment: add hooks for biometric authJason A. Donenfeld2020-03-305-11/+51
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: update Italian translationVincenzo Reale2020-03-291-14/+37
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* README: mention translationsJason A. Donenfeld2020-03-291-0/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: remove unused stream supportJason A. Donenfeld2020-03-291-1/+0
| | | | | | | The tunnel/ module still uses it and exposes it as an "api", but nothing inside of ui/ should be using it now. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: Sync German translationsHarsh Shandilya2020-03-291-0/+194
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* tunnel: libwg-go: check sha256 of downloaded tarballJason A. Donenfeld2020-03-291-1/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: libwg-go: stick go tarball in gradle cacheJason A. Donenfeld2020-03-293-7/+18
| | | | | | This way we don't have to build over and over. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* strings: fix positional specifier in russian translationJason A. Donenfeld2020-03-291-4/+4
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: libwg-go: prevent parallel downloadsJason A. Donenfeld2020-03-291-3/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* tunnel: fix package name being passed through to cmakeJason A. Donenfeld2020-03-292-10/+16
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* AddTunnelsSheet: Make behaviour nullableHarsh Shandilya2020-03-291-3/+3
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* build: Improve R8 rules and enable aggressive optimization modesHarsh Shandilya2020-03-293-1/+51
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* global: hardcode tags so that minification doesn't ruin the logJason A. Donenfeld2020-03-2815-15/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* version: bump0.0.20200328Jason A. Donenfeld2020-03-281-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* LogViewerActivity: only scroll every quarter for the first 2.5 seconds of dumpingJason A. Donenfeld2020-03-281-4/+17
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: Remove unnecessary non-null assertion in TAG fieldsHarsh Shandilya2020-03-2810-10/+10
| | | | Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* Fix tunnel editor themingHarsh Shandilya2020-03-285-12/+8
| | | | | | Also set textInputStyle in the base theme to avoid setting styles to all elements Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
* MonkeyedTextInputEditText: make more robustJason A. Donenfeld2020-03-281-3/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ui: use kotlin class instead of java class for tagJason A. Donenfeld2020-03-2810-10/+10
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* ObservableTunnel: do not cache statsJason A. Donenfeld2020-03-281-4/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelEditor: fix up allowedips marginsJason A. Donenfeld2020-03-281-4/+3
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelEditor: get rid of weird gravity on add peer buttonJason A. Donenfeld2020-03-281-14/+15
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelEditor: move generate button to inside boxJason A. Donenfeld2020-03-2810-25/+16
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelEditor: subdue section fontJason A. Donenfeld2020-03-281-1/+1
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelEditor: abstract out section fontJason A. Donenfeld2020-03-285-4/+5
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelEditor: properly align mtu and listen portJason A. Donenfeld2020-03-281-2/+2
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelEditor: move hint to label and add discouraged optionalJason A. Donenfeld2020-03-283-8/+9
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* TunnelEditor: clean up xmlJason A. Donenfeld2020-03-282-51/+52
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
* MonkeyedTextInputEditText: introduce a new horrorJason A. Donenfeld2020-03-284-13/+48
| | | | Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>