jaxxstorm/unseal

Sane configuration defaults and checking

Closed this issue · 0 comments

Currently, if someone forgets some config details/options, unseal will panic.

We should do some basic sanity checking such as:

  • If GPG is enabled, set a sane default of $HOME/.gnupg/secring.gpg etc
  • Check if the files exist, and log.Fatal if not (only if GPG support is enabled