Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-27-2004, 01:08 PM
|
#1
|
LQ Addict
Registered: Dec 2003
Location: Maine, USA
Distribution: Slackware/SuSE/DSL
Posts: 1,320
Rep:
|
encryption with Vim (vim -x)
I just discovered the -x option in vim. It seems like a somewhat useful feature, but I'm not sure how secure or versatile it is.
Opening a crypted file in vim prompts me for the password as I expected, and editing seems to work fine...but there are some things about it that I don't understand:
I attempted to view the file in a browser, and was asked if I wanted to download it. Does encrypting create a binary file? If so, would FTP'ing it as text break it?
Doing "cat file" messed up my terminal (ps1 and all input) with some crypted files, but not with others...does this show evidence of a bug, or is it normal?
Is this a Vim-only feature or does it work with Vi as well?
Just how secure is it?
Thanks for any input.
|
|
|
04-06-2004, 08:32 AM
|
#2
|
Senior Member
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028
Rep:
|
I tested the function and all signs tell me it is a binary file, so when sending over ftp the binary mode should be used.
I would guess it's a Vim feature.
type :help encryption in vim to get more information.
|
|
|
03-07-2007, 10:00 AM
|
#3
|
Member
Registered: Mar 2007
Location: Aus
Distribution: RHEL-4,5,UBUNTU,SUSE,FEDORA-6,7
Posts: 109
Rep:
|
Quote:
Originally Posted by ugge
I tested the function and all signs tell me it is a binary file, so when sending over ftp the binary mode should be used.
I would guess it's a Vim feature.
type :help encryption in vim to get more information.
|
yeh thts right i have minimal installed ,, i also tried with vi but i guess it just works for vim ,, may be because vim is an dvanced feature of vi and vi doesnt contain any encryption features!!!
|
|
|
All times are GMT -5. The time now is 02:25 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|