DimensionDev / TesserPG-iOS

Encryption Made Mobile.
https://tesserpg.com
GNU Affero General Public License v3.0
41 stars 5 forks source link

Cannot import secret subkeys #108

Open xuan-w opened 4 years ago

xuan-w commented 4 years ago

The best practice of GPG key management is widely regarded as using an offline master key and several subkeys. This seems not supported by Tessercube. Trying to import secret subkeys without secret master key will lead to "invalid password" error.

I am using TesserCube iOS latest version 1.3.2

Test case: Create a master key with RSA 2048. Create two subkeys with RSA 2048, one signing key one encryption key. All keys are password protected. gpg (GnuPG) 2.2.17 libgcrypt 1.8.4

Export subkeys with command gpg --export-secret-subkeys -a 4AAB3EF8954DE9C07299901E5E7EF51C7AEF4AA6 >test3.txt

The master key is not exported because it should stay offline.

I am attaching the secret subkeys. Password: 12345678 test3.txt

neruthes commented 4 years ago

Yes, this feature is not implemented yet.

Currently, we are maintaining the OpenPGP part of this project on debug-only level, and prefer not to add features aggressively.

When we have additional man-month budget, this feature will have a high priority. May the day come soon.

([I:b])

troilus commented 2 years ago

When will we have the next update😊 @neruthes