r10s
April 30, 2024, 10:05am
2
in general, Delta Chat is strict in which keys are supported. eg. OpenPGP packets must match Autocrypt Level 1: Enabling encryption, avoiding annoyances — Autocrypt 1.1.0 documentation , cypher should be Ed25519 plus Cv25519, or RSA
iirc (i am not deep in that topic), this format is used by many todays PGP implementations.
supporting arbitrary, maybe legacy, secret keys is not a primary goal and is always weighted carefully - eg. a larger codebase also means more security risk here. not to speak about implementation and maintenance effort.
some links to - maybe helpful - similar topics:
There is a related issue on GitHub:
I closed it as not planned, Delta Chat does not support importing a subkey without primary key.
Maybe we should export both private and public key to a single file. Selecting a file on Android and similarly sandboxed platforms like Flatpak seems to be much less error-prone than selecting a folder, there are no failures like “granted access to the folder but not the files inside of it” possible.
gpg itself does not allow to use both --export and --export-secret-keys though, so having such file with both keys concatenated is probably not common.
Maybe it is possible to drop the public key …
opened 09:59AM - 10 Jul 22 UTC
closed 01:15PM - 20 Apr 24 UTC
<!--
This is a bug report tracker. New features are discussed in the forum: htt… ps://support.delta.chat
Please fill out as much of this form as you can (leaving out stuff that is not applicable is ok).
-->
- Device:
- iOS version:
- Delta Chat version:
- Expected behavior:
- Actual behavior:
- Steps to reproduce the problem:
- Screenshots:
- Logs:
<!--
Debug logs can be accessed from within the Delta Chat app
at "Settings / Advanced / View log / Console" and "Custom variables";
alternatively, use Xcode.
Logs may contain private data
which shall be removed or anonymised prior to posting.
-->