Do not ASCII armor files when encrypting (#1396)
This commit is contained in:
parent
77d1a616de
commit
d3bc28c1c3
2 changed files with 2 additions and 1 deletions
|
@ -27,6 +27,7 @@ All notable changes to this project will be documented in this file.
|
||||||
- Accessibility autofill has been removed completely due to being buggy, insecure and lacking in features. Upgrade to Android 8 or preferably later to gain access to our advanced Autofill implementation.
|
- Accessibility autofill has been removed completely due to being buggy, insecure and lacking in features. Upgrade to Android 8 or preferably later to gain access to our advanced Autofill implementation.
|
||||||
- The settings UI has been completely re-done to dramatically improve discoverability and navigation for users
|
- The settings UI has been completely re-done to dramatically improve discoverability and navigation for users
|
||||||
- Using the `git://` protocol in the server URL now presents an explicit discouragement rather than a generic error
|
- Using the `git://` protocol in the server URL now presents an explicit discouragement rather than a generic error
|
||||||
|
- Encrypted data is no longer ASCII armored, bringing it in line with `pass`
|
||||||
|
|
||||||
## [1.13.4] - 2021-03-20
|
## [1.13.4] - 2021-03-20
|
||||||
|
|
||||||
|
|
|
@ -366,7 +366,7 @@ class PasswordCreationActivity : BasePgpActivity(), OpenPgpServiceConnection.OnB
|
||||||
encryptionIntent.putExtra(OpenPgpApi.EXTRA_USER_IDS, userIds)
|
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 content = "$editPass\n$editExtra"
|
||||||
val inputStream = ByteArrayInputStream(content.toByteArray())
|
val inputStream = ByteArrayInputStream(content.toByteArray())
|
||||||
|
|
Loading…
Reference in a new issue