this post was submitted on 01 Oct 2024
27 points (86.5% liked)

Linux

48640 readers
1556 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Hi,

I would like to use Gnupg to encrypt, sign... documents.

I've downloaded the Manual, it's quite extensive. So the learning curve is proportional :)

I've tried the GPA GUI, but with it, it seem impossible to generate an ECC key..

So what would be your recommendation to be able to generate ECC keys, be able to encrypt, sign etc.. with or without GUI.

Thanks.

top 12 comments
sorted by: hot top controversial new old
[–] 69420 10 points 2 months ago

Here's a good place to start:

gpg --gen-key

Then follow the prompts.

[–] PushButton 4 points 2 months ago

Not my blog, but you might find this useful.

Cheatsheet: https://devhints.io/gnupg

[–] [email protected] 3 points 2 months ago
[–] [email protected] 2 points 2 months ago

If you use emacs, you can set up gnupg integration for easy encryption and decryption of files.

I would also read up on expiration of keys, and how you can export (backup) and import a key. The latter can also be useful if you want to use the same key on multiple devices.

[–] [email protected] 2 points 2 months ago

possibly one of the most insufferable tasks on Linux, I've never had luck with it

[–] imouto 1 points 2 months ago

Debian wiki has some good stuff, e.g. https://wiki.debian.org/Subkeys

[–] [email protected] 1 points 2 months ago

If you think it's hard to figure out GPG for yourself, well good luck finding and communicating with someone else who has also figured it out.

[–] banshee 1 points 2 months ago (1 children)

For what it's worth, some say that PGP is bad and needs to go away. I found that article pretty interesting when learning sops.

[–] PushButton 1 points 2 months ago (1 children)

TL;DR here.

GnuPGP is bad. It's so bad, it's terrible. Don't use it, it's the worst. You know this GNU? It's bad, terrible.

Use this one instead, it's coded in Rust...

Lol OK.. Thanks I guess...

[–] banshee 1 points 2 months ago (1 children)

You do you man. I'm just trying to share some information that helped me.

[–] PushButton 0 points 2 months ago (1 children)

Don't take it personally.

It's how the guy who wrote the blog sounds like, it's not toward you.

I tend to have a grain of scepticism when someone is declaring high and loud that something widely used us /just the worst/.

Also, it just happens his alternative is just: "use this instead, its made in Rust"

...

[–] banshee 1 points 2 months ago

These remarks could discourage others from reading a useful and well-written article.

I still use GnuPG on occasion, but I've benefited from incorporatingsops and age into repositories. They're pretty slick.