Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I use GPG on the terminal, no end user interface.
so far everything is fine but one function I cant seem to figure out.
I want to encrypt the text i write in the terminal and paste it into the browser e-mail page.
if i digit the command gpg at prompt it ask me to write the text but how do i encrypt it in memory and paste it?
KGPG has this function using the clipboard but how do i do it in the terminal?
I use a laptop and the middle button paste function does not work, neither using both buttons.
thanks
max
It may be possible to highlight the text in the terminal, then click in the browser's text box, then hit 'ctrl-v' to paste.
But you should probably try to fix your X config so that middle-clicking will work. Does middle-clicking work to paste in terminals but not in your browser? What browser are you using? There is a setting in Mozilla/Firefox that will disable middle-click pasting. So that may be your trouble.
Give us a little more info to work with and maybe we can get it straightened out.
BTW Just because it's GPG output that you want to paste doesn't really make this a 'security' question ;-)
thanks for the feedback,
first off, im aware that this might be a more general question, yet i though maybe within GPG there would be a command that would do what I need.
I'm using Damn Small Linux 8.1.1 live CD on a Dell Inspiron 4100 laptop.
Browsers, Dillo and Opera.
I have tried to use keys, like Ctrl+C and Ctrl+V or highlight the text and just try to paste it using Ctrl+V.
It seemed odd to me too that it does not work.
I'm trying to set up a small CD with the same funtionality of Knoppix MiB, without using KDE applications.
So far GPG worked wonderfully, just this little thing that bugs me cos the text-to-clipboard function is really cool.
Hope u can gimme some tips.
thanks. Max
Don't forget wxpaste and wxcopy (if you have them installed). Some times they are quite useful for moving stuff in and out of cutbuffers. Just make sure that you use the correct numbered cutbuffer, or you'll end up copying to one and pasteing from another which won't work. If you can write on stdout, you can pipe to wxcopy. wxpaste --cutbuffer 0 dumps the stuff that you enter by highlight & drag with the mouse. This may or may not show up in xclipboard, but it's there. Try experimenting with them a bit and see what you get. There's cutbuffers 0-7; I think those are default. wxcopy & wxpaste I belive come with the WindowMaker window manager for X11.
Hopefully, you can pipe into a cutbuffer with wxcopy, then use your mouse button #2 or the app's paste function to paste.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.