Support for choosing between encryption mechanisms

Currently supports GPG or keybase.