About 450,000 results
Open links in new tab
  1. Best way to encrypt a file with just password (no keypairs) that is ...

    Jun 25, 2023 · I need to encrypt a file, which is a tarred/zipped directory containing important files that I am actively working on. It is crucial for me to ensure their safety by keeping multiple backups, inclu...

  2. 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 …

  3. 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 …

  4. 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 …

  5. 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

  6. 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 …

  7. 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 …

  8. 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 …

  9. 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. …

  10. shell script - gpg asks for password even with --passphrase - Unix ...

    I expect the following command to extract the gpg file without asking for password: gpg --passphrase 1234 file.gpg But it asks for the password. Why? This also have the same behavior: gpg --