Fix key sharing
This commit is contained in:
@@ -1128,9 +1128,7 @@ public class ProviderHelper {
|
|||||||
|
|
||||||
ByteArrayOutputStream bos = new ByteArrayOutputStream();
|
ByteArrayOutputStream bos = new ByteArrayOutputStream();
|
||||||
String version = PgpHelper.getVersionForHeader(mContext);
|
String version = PgpHelper.getVersionForHeader(mContext);
|
||||||
if (version != null) {
|
keyRing.encodeArmored(bos, version);
|
||||||
keyRing.encodeArmored(bos, version);
|
|
||||||
}
|
|
||||||
String armoredKey = bos.toString("UTF-8");
|
String armoredKey = bos.toString("UTF-8");
|
||||||
|
|
||||||
Log.d(Constants.TAG, "armoredKey:" + armoredKey);
|
Log.d(Constants.TAG, "armoredKey:" + armoredKey);
|
||||||
|
|||||||
Reference in New Issue
Block a user