From d3bc28c1c38e51a642331973b10edfb49ec026b3 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Sun, 25 Apr 2021 14:47:40 +0530 Subject: Do not ASCII armor files when encrypting (#1396) --- .../main/java/dev/msfjarvis/aps/ui/crypto/PasswordCreationActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main') diff --git a/app/src/main/java/dev/msfjarvis/aps/ui/crypto/PasswordCreationActivity.kt b/app/src/main/java/dev/msfjarvis/aps/ui/crypto/PasswordCreationActivity.kt index 462dc388..23409460 100644 --- a/app/src/main/java/dev/msfjarvis/aps/ui/crypto/PasswordCreationActivity.kt +++ b/app/src/main/java/dev/msfjarvis/aps/ui/crypto/PasswordCreationActivity.kt @@ -366,7 +366,7 @@ class PasswordCreationActivity : BasePgpActivity(), OpenPgpServiceConnection.OnB encryptionIntent.putExtra(OpenPgpApi.EXTRA_USER_IDS, userIds) } - encryptionIntent.putExtra(OpenPgpApi.EXTRA_REQUEST_ASCII_ARMOR, true) + encryptionIntent.putExtra(OpenPgpApi.EXTRA_REQUEST_ASCII_ARMOR, false) val content = "$editPass\n$editExtra" val inputStream = ByteArrayInputStream(content.toByteArray()) -- cgit v1.2.3