
Best way to encrypt a file with just password (no keypairs) that is ...
Jun 25, 2023 · It's not an archiver, but it does encrypt and decrypt files, including those created by archivers like tar or zip. While GnuPG can encrypt/decrypt with key pairs, the --symmetric or -c …
Encrypting file only with SSH -priv-key? - Unix & Linux Stack Exchange
Apr 13, 2017 · You're right that an SSH key is an asymmetric key, not suitable for encrypting a file. And as a consequence, the commands you provide at the end won't work. You're attempting to encrypt a …
openssl file encryption (private encrypted RSA key and public key ...
Feb 27, 2025 · However when using following commands to encrypt and decrypt it actually works: Encrypt: openssl pkeyutl -encrypt -pubin -inkey key_public.pem -in open.txt -out open_encrypted.txt …
How to encrypt a string with my SSH pubkey? - Unix & Linux Stack …
Dec 7, 2016 · 3 If I only have an SSH pubkey, how can I encrypt an ex.: IP address (so a short string), only using the ssh pubkey? For decryption, the other party would have the pair of the pubkey, so the …
How can I encrypt a file? - Unix & Linux Stack Exchange
Oct 19, 2014 · The communication seems to be encrypted, however I would like also to encrypt the file itself (as a 2nd step security or something like that). My server is a RasPi running Raspbian. My …
Encrypt with GPG using a key passed as CLI argument
Dec 14, 2016 · As a solution I decided to encrypt them with GPG. The issue is that I can't find any clues on how to encrypt a particular file with a passphrase passed as a CLI argument to a gpg -c …
Encrypt multiple files at once - Unix & Linux Stack Exchange
Apr 16, 2017 · Ran a Bash script asking gpg2 to read each file name in a loop and into a memory variable, and in the same loop to encrypt it using my signing key and specifying that it was for …
How to encrypt a file with private key - Unix & Linux Stack Exchange
Jul 19, 2016 · 6 I want to encrypt a file with a private key and decrypt it with a public key. A public key will be embedded in my app. So I want to have a guarantee that the file was created by me. How can …
How to encrypt file with gpg and a passphrase only?
May 3, 2019 · How to encrypt file with gpg and a passphrase only? Ask Question Asked 6 years, 7 months ago Modified 1 year, 11 months ago
How to zip directory with encryption for file names?
Jun 16, 2016 · [Directory.zip] Directory/sensitive-file-name-3 password: password incorrect--reenter: password incorrect--reenter: skipping: Directory/sensitive-file-name-3 incorrect password and so on. …