mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 23:57:32 +00:00
Fix for Android PRNG bug.
There is apparently an Android vulnerability with the PRNG it provides through the JCE. This uses their suggested code to patch the PRNG, and provides the option to regenerate identity keys. http://android-developers.blogspot.com/2013/08/some-securerandom-thoughts.html
This commit is contained in:
BIN
res/drawable-hdpi/refresh.png
Normal file
BIN
res/drawable-hdpi/refresh.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
BIN
res/drawable-mdpi/refresh.png
Normal file
BIN
res/drawable-mdpi/refresh.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
BIN
res/drawable-xhdpi/refresh.png
Normal file
BIN
res/drawable-xhdpi/refresh.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.1 KiB |
7
res/menu/local_identity.xml
Normal file
7
res/menu/local_identity.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:title="@string/local_identity__regenerate_key"
|
||||
android:id="@+id/menu_regenerate_key"
|
||||
android:icon="@drawable/refresh"/>
|
||||
</menu>
|
@@ -257,6 +257,22 @@
|
||||
<string name="MessageNotifier_mark_all_as_read">Mark all as read</string>
|
||||
<string name="MessageNotifier_mark_as_read">Mark as read</string>
|
||||
|
||||
<!-- ViewLocalIdentityActivity -->
|
||||
<string name="ViewLocalIdentityActivity_regenerating">Regenerating...</string>
|
||||
<string name="ViewLocalIdentityActivity_regenerating_identity_key">Regenerating identity
|
||||
key...
|
||||
</string>
|
||||
<string name="ViewLocalIdentityActivity_regenerated">Regenerated!</string>
|
||||
<string name="ViewLocalIdentityActivity_reset_identity_key">Reset Identity Key?</string>
|
||||
<string name="ViewLocalIdentityActivity_by_regenerating_your_identity_key_your_existing_contacts_will_receive_warnings">
|
||||
Caution! By regenerating your identity key, your current identity key will be permanently lost,
|
||||
and your existing contacts will receive warnings when establishing new secure sessions with you.
|
||||
Are you sure you would like to continue?
|
||||
</string>
|
||||
<string name="ViewLocalIdentityActivity_cancel">Cancel</string>
|
||||
<string name="ViewLocalIdentityActivity_continue">Continue</string>
|
||||
|
||||
|
||||
<!-- SmsReceiver -->
|
||||
<string name="SmsReceiver_currently_unable_to_send_your_sms_message">Currently unable to send your SMS message. It will be sent once service becomes available.</string>
|
||||
|
||||
@@ -332,6 +348,7 @@
|
||||
<string name="import_fragment__import_a_plaintext_backup_file">
|
||||
Import a plaintext backup file. Compatible with \'SMSBackup And Restore.\'</string>
|
||||
|
||||
<string name="local_identity__regenerate_key">Regenerate Key</string>
|
||||
|
||||
<!-- prompt_passphrase_activity -->
|
||||
<string name="prompt_passphrase_activity__textsecure_passphrase">TEXTSECURE PASSPHRASE</string>
|
||||
@@ -455,6 +472,7 @@
|
||||
<string name="preferences__appearance">Appearance</string>
|
||||
<string name="preferences__theme">Theme</string>
|
||||
<string name="preferences__default">Default</string>
|
||||
<string name="preferences__language">Language</string>
|
||||
|
||||
<!-- **************************************** -->
|
||||
<!-- menus -->
|
||||
@@ -521,7 +539,6 @@
|
||||
|
||||
<!-- verify_keys -->
|
||||
<string name="verify_keys__menu_verified">Verified</string>
|
||||
<string name="preferences__language">Language</string>
|
||||
<!-- EOF -->
|
||||
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user