Added explicit info about keeping mnemonic seed safe (#92)

This commit is contained in:
m2049r 2017-09-30 09:17:47 +02:00 committed by GitHub
parent 9ebacb8528
commit ccacec9d0b
6 changed files with 95 additions and 6 deletions

View File

@ -8,8 +8,8 @@ android {
applicationId "com.m2049r.xmrwallet"
minSdkVersion 21
targetSdkVersion 25
versionCode 23
versionName "1.0"
versionCode 24
versionName "1.0.1"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
externalNativeBuild {
cmake {

View File

@ -19,9 +19,12 @@ package com.m2049r.xmrwallet;
import android.content.Context;
import android.os.AsyncTask;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.util.Log;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
@ -214,4 +217,15 @@ public class GenerateReviewFragment extends Fragment {
boolean backOk() {
return !type.equals(GenerateReviewFragment.VIEW_TYPE_ACCEPT);
}
}
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setHasOptionsMenu(true);
}
@Override
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
inflater.inflate(R.menu.wallet_details_menu, menu);
}
}

View File

@ -973,6 +973,9 @@ public class LoginActivity extends AppCompatActivity
case R.id.action_create_help:
HelpFragment.displayHelp(getSupportFragmentManager(),R.raw.help_create);
return true;
case R.id.action_details_help:
HelpFragment.displayHelp(getSupportFragmentManager(),R.raw.help_details);
return true;
case R.id.action_lincense_info:
LicensesFragment.displayLicensesFragment(getSupportFragmentManager());
return true;

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/action_details_help"
android:icon="@drawable/ic_help_black_24dp"
android:orderInCategory="100"
android:title="@string/menu_help"
app:showAsAction="always" />
</menu>

View File

@ -15,9 +15,25 @@ In all cases you need to name your wallet and give it a password. The password i
securing your wallet data on the device. Use a strong password - better a passphrase.
<h2>New Address</h2>
You need a new Monero Address.<br/>
No need to enter additional info.
You need a new Monero Address - no need to enter additional info.
<h3>Take Note of your Mnemonic Seed!</h3>
<p>
On the following screen you will find your 25-word "Mnemonic Seed".
This is the only data needed to recover your wallet at a later time
and gain full access to your funds.
Keeping this secure and private is very important, as it gives <em>anyone</em>
full access to your funds!
</p>
<p>
If you loose your wallet password, you can still recover your wallet with the mnemonic seed.
</p>
<p>
There is no way to recover it if it is lost! Your funds would be lost.
The mnemonic seed can also never be changed, and if it is stolen or otherwise compromised,
you will have to move your funds to new wallet (with a new mnemonic seed). Therefore, it is best
that you backup your mnemonic seed by writing it down and storing it in <em>multiple</em> safe
and secure places.
</p>
<h2>Recover from Seed</h2>
You already have a Monero Address and want to recover the transactions from the blockchain.<br/>
Enter your Seed in the field "Mnemonic Seed". If you know the block number of the first

View File

@ -0,0 +1,44 @@
<html>
<head>
<style>body {font-family: sans-serif; font-size: 1em;}</style>
</head>
<body>
<h1>Wallet Details</h1>
Here you see the details of your wallet.
<ul>
<li>Mnemonic Seed</li>
<li>Public Address</li>
<li>View Key</li>
<li>Spend Key</li>
</ul>
<h2>Mnemonic Seed</h2>
<p>
Your 25-word "Mnemonic Seed". This is the only data needed to recover your wallet at a later
time and gain full access to your funds.
Keeping this secure and private is very important, as it gives <em>anyone</em>
full access to your funds!
</p>
<p>
If you loose your wallet password, you can still recover your wallet with the mnemonic seed.
</p>
<p>
There is no way to recover it if it is lost! Your funds would be lost.
The mnemonic seed can also never be changed, and if it is stolen or otherwise compromised,
you will have to move your funds to new wallet (with a new mnemonic seed). Therefore, it is best
that you backup your mnemonic seed by writing it down and storing it in <em>multiple</em> safe
and secure places.
</p>
<h2>Public Address</h2>
This is your account number. You can use it to receive funds. A sender needs to know nothing
more.
<h2>View Key</h2>
This key is required for creating a view-only wallet or for recovering from keys.
<h2>Spend Key</h2>
This is key is required for recovering from keys.
</body>
</html>