-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added proxy functionality #440
Conversation
app/src/main/java/ee/ria/DigiDoc/android/main/settings/proxy/SettingsProxyView.java
Fixed
Show fixed
Hide fixed
app/src/main/java/ee/ria/DigiDoc/android/main/settings/SettingsDataStore.java
Fixed
Show fixed
Hide fixed
throw new CentralConfigurationException("Something went wrong during fetching configuration", e); | ||
if (httpClient != null) { | ||
CompletableFuture.runAsync(() -> { | ||
Call call = httpClient.newCall(request); |
Check warning
Code scanning / CodeQL
Android missing certificate pinning Medium
if (encryptedPreferences != null) { | ||
SharedPreferences.Editor editor = encryptedPreferences.edit(); | ||
editor.putString(resources.getString(R.string.main_settings_proxy_password_key), password); | ||
editor.commit(); |
Check failure
Code scanning / CodeQL
Cleartext storage of sensitive information using `SharedPreferences` on Android High
edit(...)
sensitive data
was set as a shared preference
This stores the 'SharedPreferences' class
edit(...)
sensitive data
was set as a shared preference
This stores the 'SharedPreferences' class
edit(...)
sensitive data
was set as a shared preference
This stores the 'SharedPreferences' class
edit(...)
sensitive data
was set as a shared preference
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed using EncryptedSharedPreferences ( https://developer.android.com/reference/androidx/security/crypto/EncryptedSharedPreferences )
3b26979
to
91ab175
Compare
21ddef2
to
bb6cb1e
Compare
3b62a6e
to
328b673
Compare
328b673
to
217fa75
Compare
4a1eb0a
to
6cacfd5
Compare
Signed-off-by: Marten Rebane [email protected]