Skip to content
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

Can't create a 25519 key for encryption #189

Open
NearestWater262 opened this issue Dec 21, 2024 · 3 comments
Open

Can't create a 25519 key for encryption #189

NearestWater262 opened this issue Dec 21, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@NearestWater262
Copy link

In Kleopatra, it will let me create a 25519 key for use in Encryption, but in GPGF this option during key creation is greyed out. Why is this?

@saturneric
Copy link
Owner

saturneric commented Dec 21, 2024

The difference lies in the design philosophy of Kleopatra and GpgFrontend. In Kleopatra, key generation typically creates both a primary key and a subkey automatically. The primary key is often Ed25519 for signing, and the subkey is Cv25519 for encryption. This approach simplifies the process for users who prefer an automated setup.

In contrast, GpgFrontend is designed to give users full control over their key structure. It allows them to explicitly choose the algorithm for both the primary key and any subkeys, without enforcing defaults or automatically generating subkeys. This means users can create a primary key of any supported type, such as Ed25519, and then manually add subkeys as needed.

grafik

@NearestWater262
Copy link
Author

NearestWater262 commented Dec 24, 2024

Thank you very much for this explanation. Now I will know what to do.

However I think for an average user, this would simply present frustration. Can you please make a shortcut like Kleopatra does? Mostly people using GPG will be making keys so they can perform encryption. I think rarely would someone would not want to have this.

Perhaps you can have a checkbox that is checked (or unchecked) by default that says something like "Create subkey for encryption?"

@saturneric
Copy link
Owner

I understand your concern, and I agree that for most users, creating keys should be a smooth and straightforward experience. I’m planning to add a simplified wizard, similar to Kleopatra, to provide convenient key generation options for common primary and subkey combinations. This should make it easier for users to quickly generate keys without having to configure every detail manually.

@saturneric saturneric added the enhancement New feature or request label Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants