mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-25 00:18:51 -05:00
Fix key sharing
This commit is contained in:
parent
e33e5b0003
commit
fa25265e79
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user