• Very simple file decryption.

    From Folderol@21:1/5 to All on Fri Feb 3 18:37:03 2023
    What I'm after is a *desktop* program that will read a *specific* file and on being given the correct password will decript it, passing it direct to a text editor like kwrite, or better still a text reader that has no write capability.

    The person who this is intended for will not need to do any of the encryption.

    Any ideas?

    --
    Basic

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pancho@21:1/5 to Folderol on Fri Feb 3 22:40:13 2023
    On 2/3/23 18:37, Folderol wrote:
    What I'm after is a *desktop* program that will read a *specific* file and on being given the correct password will decript it, passing it direct to a text editor like kwrite, or better still a text reader that has no write capability.

    The person who this is intended for will not need to do any of the encryption.

    Any ideas?


    In general, LibreOffice Writer allows you to load a text file and export
    it to PDF format with password security.

    My default Linux PDF reader, GNU Document Viewer, will open this password-protected PDF file and prompt for a password, before displaying
    the contents.

    Of course, it all depends on the format and encryption of the *specific*
    file.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Folderol@21:1/5 to Pancho on Fri Feb 3 23:47:04 2023
    On Fri, 3 Feb 2023 22:40:13 +0000
    Pancho <Pancho.Jones@proton.me> wrote:

    On 2/3/23 18:37, Folderol wrote:
    What I'm after is a *desktop* program that will read a *specific* file and on
    being given the correct password will decript it, passing it direct to a text
    editor like kwrite, or better still a text reader that has no write capability.

    The person who this is intended for will not need to do any of the encryption.

    Any ideas?


    In general, LibreOffice Writer allows you to load a text file and export
    it to PDF format with password security.

    My default Linux PDF reader, GNU Document Viewer, will open this >password-protected PDF file and prompt for a password, before displaying
    the contents.

    Of course, it all depends on the format and encryption of the *specific* >file.

    Hadn't thought of a PDF, that looks promising and also enables a reasonable large font size.

    --
    Basic

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Raphael@21:1/5 to Folderol on Thu Aug 31 11:58:33 2023
    On 03/02/2023 18:37, Folderol wrote:
    What I'm after is a *desktop* program that will read a *specific* file and on being given the correct password will decript it, passing it direct to a text editor like kwrite, or better still a text reader that has no write capability.

    The person who this is intended for will not need to do any of the encryption.

    Any ideas?

    I use GPG

    === You ===

    1 Generate a passphrase. I use a (sufficient) number of bytes from
    /dev/random piped into uuencode or base64. Save this in a file (passphrase.txt), and send it to the counterparty.

    2 . Encrypt the file

    gpg --output "some file name" --batch --passphrase-fd 0 \
    -r "receipient's email address" -e "input file name" \
    < passphrase.txt

    3. Export the generated public key

    gpg --export -a "recipient's email address" > public.key

    Send the public key to the counterparty - separately from the passphrase

    4. Send the encrypted file to the counterparty - separately from the
    other two items.

    === Counterparty ===

    5. Save and import public.key

    gpg --import public.key

    6. Decrypt the file using the received file. the saved passphrase and
    the imported public key

    gpg --decrypt --output "some file name" --batch \
    --passphrase-fd 0 -r "recipient's email address" \
    "received data file" < passphrase.txt

    If you have more files to send then only steps 2,4 and 6 are needed.

    The "recipient's email address" is used as an identifier to distinguish
    between vaious key pairs that you might have.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)