Remote storage: collect email and PIN in preferences

This allows entering / storing the PIN (aka passphrase) for the ssh key.
The email isn't used, yet - this will be used by the automated backend to
create a unique git repository that will turn into the remote storage.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-05-28 12:19:19 -07:00
parent c90635cef2
commit 61c0d0c73d
2 changed files with 18 additions and 0 deletions

2
pref.h
View file

@ -91,6 +91,8 @@ struct preferences {
bool use_default_file;
facebook_prefs_t facebook;
char *passphrase;
char *remote_storage_email;
bool save_PIN_local;
};
enum unit_system_values {
METRIC,