Nano Encryption Working

MikiStrange <[email protected]>
Newsgroups gmane.editors.nano.general
Message-ID <CAKCHi3QGWpX=qtNDnDnjETOY7=rh+E_JN3G31bmGYJVfTgTK=A@mail.gmail.com>
I am pleased to say that my routine for encryption with Nano using CLI is
now working.
I have attached a file with the method I am using to test that this works.
I have to say thank you to Benno Schulenberg for supplying the patch to
2.9.2 and for his guidance in applying it, also for other guidance in this
process.
Also thank you to Jalus Bilieyich for his guidance and spotting that I
needed ncurses to make the installation of 2.9.2 work.
Please follow the method if you have time and see if it works for you.
Yours
Mik

-- 
www.mikistrange.com

_______________________________________________
Help-nano mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-nano
dopenc.txt (text/plain, 772 B)
Secure Desktop Encryption

A simple explanation of how to encrypt on the command line.
This method uses Nano, a named pipe and openssl.

1.	Create your named pipe:
		mkfifo pipe
		
2.	Check your new file is working as a pipe with:
		ls -l
		
3. In the same directory as your named pipe open 2 instances of terminal.

4.	In terminal 1 type the following command:
		nano --noread pipe
		
5. In terminal 2 type:
		openssl enc -base64 < pipe (then press return)
		
6.	Return to terminal 1 and press return. Nano will open.

7.	Type a message as normal and write out with:
		^o
		
8.	Nano will ask if you want to save your message with the name 'pipe'. Press return.

9.	Nano will pipe the message through the encryption routine and the result will be displayed in terminal 2.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.