-
-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Import of existing PGP keys #98
Comments
In general, Delta Chat should support "common" private key formats, however, it is unlikely that we will support 100% of all private keys of any sources. This is also not the main focus of Delta Chat (if fact, the large majority of the Delta Chat users will not have any key before they start using Delta). However, we try to support private keys from other sources as good as possible. And of course, we do not want bugs here. I have a concrete private key that does not work at the moment, I will check this key these days - maybe this key has the same issue as your key. In any case it may help if you can reproduce the behavior with another private key that you can post here. This would help us massively in testing. |
See also: deltachat/deltachat-core#27 |
With a very good chance, the problem is that you key is encrypted and/or uses an password. Such keys are not supported by Delta Chat. Please remove the encryption and the password and try the import again. |
Thank you! The encryption will be the reason for it but i don't want to store my personal mail pgp key unencrypted on my phone, so i will use the auto-generated key |
Hi again, i've tried once again to import my 2048bit key created with enigmail without sucess. To avoid problems with the password, i've tried and also with the asc armor option It sill does not accept the key:
Any advices or ideas? Thanks in advance |
@Caliandroid i am not sure if the given command removes the password from the key; a quick duckduckgo-search shows options as "export-reset-subkey-passwd", see https://duckduckgo.com/?q=gpg+remove+password However, even if you are really sure you have no password in the key, to fix this issue, we would need reproducible steps to create a key with similar problems. |
Thank you.
enter existing passphrase DeltaChat was now able to import the key i've set a new passphrase afterwards to lock my key on the desktop computer again. |
maybe we should add this to the faq somewhere, i've created an issue so that this won't get forgotten :) deltachat/deltachat-pages#68 Moreover, we should print a more concrete warning when a password-protected key could not be imported: deltachat/deltachat-core#144 |
If i try to import my existing set of pgp key, i receive the following message over adb:
Are there limitations for existing keys?
I was only able to re-import my auto-generated delta chat pgp keys
The text was updated successfully, but these errors were encountered: