cmd/tailscale,com/tailscale/ipn: delete unused constant, reformat

Signed-off-by: Elias Naur <mail@eliasnaur.com>
split-dns-1695
Elias Naur 4 years ago
parent 206f2bb4e7
commit 633d81287a

@ -90,11 +90,11 @@ public class App extends Application {
.build(); .build();
return EncryptedSharedPreferences.create( return EncryptedSharedPreferences.create(
this, this,
"secret_shared_prefs", "secret_shared_prefs",
key, key,
EncryptedSharedPreferences.PrefKeyEncryptionScheme.AES256_SIV, EncryptedSharedPreferences.PrefKeyEncryptionScheme.AES256_SIV,
EncryptedSharedPreferences.PrefValueEncryptionScheme.AES256_GCM EncryptedSharedPreferences.PrefValueEncryptionScheme.AES256_GCM
); );
} }

@ -128,8 +128,6 @@ type (
// by GoogleSignInOptions.Builder.requestIdToken. // by GoogleSignInOptions.Builder.requestIdToken.
const serverOAuthID = "744055068597-hv4opg0h7vskq1hv37nq3u26t8c15qk0.apps.googleusercontent.com" const serverOAuthID = "744055068597-hv4opg0h7vskq1hv37nq3u26t8c15qk0.apps.googleusercontent.com"
const enabledKey = "ipn_enabled"
// releaseCertFingerprint is the SHA-1 fingerprint of the Google Play Store signing key. // releaseCertFingerprint is the SHA-1 fingerprint of the Google Play Store signing key.
// It is used to check whether the app is signed for release. // It is used to check whether the app is signed for release.
const releaseCertFingerprint = "86:9D:11:8B:63:1E:F8:35:C6:D9:C2:66:53:BC:28:22:2F:B8:C1:AE" const releaseCertFingerprint = "86:9D:11:8B:63:1E:F8:35:C6:D9:C2:66:53:BC:28:22:2F:B8:C1:AE"

Loading…
Cancel
Save