Re: BOF Vim 8 - EncryptLine

2007-01-29 Thread Charles E Campbell Jr
Matthew Winn wrote: Text editors don't do encryption and never should. How else would you ensure that you can have encrypted text _without_ the need to temporarily store a plaintext copy of the file? Pipe the text through to an external encryption tool, such as pgp. Assuming your

Re: BOF Vim 8 - EncryptLine

2007-01-22 Thread John Beckett
Robert Lee wrote: What is wrong with SCP/SFTP? If these are not available, externally encrypt the file. You can even make a vim macro to do the job IIRC. Text editors don't do encryption and never should. I promise to stop posting when everyone else does! SCP etc just encrypts the traffic

Re: BOF Vim 8 - EncryptLine

2007-01-21 Thread Marc Weber
On Thu, Jan 18, 2007 at 02:15:36PM +1100, John Beckett wrote: Suggested new feature: Make an easy way to encrypt a secret within a line. Then you can have a simple text file to document stuff, with embedded secrets. On reading, you only need to enter a key if you want to see a secret. I

Re: BOF Vim 8 - EncryptLine

2007-01-21 Thread John Beckett
Marc Weber wrote: Make an easy way to encrypt a secret within a line. Then you can have a simple text file to document stuff, with embedded secrets. On reading, you only need to enter a key if you want to see a secret. I don't think this should be a general vim feature either. Yet another idea

Re: BOF Vim 8 - EncryptLine

2007-01-21 Thread Robert Lee
John Beckett wrote: Marc Weber wrote: Make an easy way to encrypt a secret within a line. Then you can have a simple text file to document stuff, with embedded secrets. On reading, you only need to enter a key if you want to see a secret. I don't think this should be a general vim feature

Re: BOF Vim 8 - EncryptLine

2007-01-19 Thread John Beckett
Nikolai Weibull wrote: Make an easy way to encrypt a secret within a line. [Really complex scheme to implement this.] Why is it not enough to simply implement a function that encrypts/decrypts a range of text, much like g? ROT13s a range of text? Because the scheme needs to be simple to

Re: BOF Vim 8 - EncryptLine

2007-01-19 Thread John Beckett
Bram Moolenaar wwrote: Suggested new feature: Make an easy way to encrypt a secret within a line. This is very a specific feature. You should implement this in a script, this doesn't sound like something Vim should support internally. OK. I just thought I would mention the concept because

Re: BOF Vim 8 - EncryptLine

2007-01-19 Thread John Beckett
Nikolai Weibull wrote: 2. Don't write down passwords at all - use phrases that you remember instead 3. Don't write down passwords where other people might walk by and see what you're typing Let's not start a religious war, but FWIW many authorities have changed their mind and no longer

Re: BOF Vim 8 - EncryptLine

2007-01-19 Thread Nikolai Weibull
On 1/19/07, John Beckett [EMAIL PROTECTED] wrote: Nikolai Weibull wrote: 2. Don't write down passwords at all - use phrases that you remember instead 3. Don't write down passwords where other people might walk by and see what you're typing Let's not start a religious war, but FWIW many

Re: BOF Vim 8 - EncryptLine

2007-01-19 Thread Kazuo Teramoto
On 1/19/07, Nikolai Weibull [EMAIL PROTECTED] wrote: Which defeats the whole point of having multiple passwords, as if someone figures out the master password then the other passwords will also be available. So it's better to use one good password/passphrase and stick with it. No, is not.

Re: BOF Vim 8 - EncryptLine

2007-01-19 Thread Matthew Winn
On Thu, 18 Jan 2007 11:04:00 +0100, Nicolas Weber [EMAIL PROTECTED] wrote: You are correct, I was thinking of this the other way around. My suggestion would only be security in the sense that someone reading over your shoulder would be prevented from seeing sensitive content in the

RE: BOF Vim 8 - EncryptLine

2007-01-19 Thread Zdenek Sekera
From: [EMAIL PROTECTED] On 1/19/07, Matthew Winn [EMAIL PROTECTED] wrote: Gung'f ab tbbq. Erny areqf pna ernq ebg13 grkg jvgubhg hfvat fbsgjner. Hm. I don't understand. Is that some sort of encryption you're using? Garbled, typo somewhere or spellchecker goofed! :-) ---Zdenek

Re: BOF Vim 8 - EncryptLine

2007-01-19 Thread John Beckett
Nikolai Weibull wrote: In particular, any network admin simply has to record passwords and other sensitive information - you can't reliably remember more than two or three passwords, particularly when you're not using them often. I don't understand what you're trying to say in the first part

Re: BOF Vim 8 - EncryptLine

2007-01-18 Thread Matthew Winn
John Beckett wrote: Suggested new feature: Make an easy way to encrypt a secret within a line. Then you can have a simple text file to document stuff, with embedded secrets. On reading, you only need to enter a key if you want to see a secret. Example lines before encryption:

Re: BOF Vim 8 - EncryptLine

2007-01-18 Thread Robert Lee
Nicolas Weber wrote: Hi, You are correct, I was thinking of this the other way around. My suggestion would only be security in the sense that someone reading over your shoulder would be prevented from seeing sensitive content in the file (e.g. passwords) and would really only be an extension

Re: BOF Vim 8 - EncryptLine

2007-01-18 Thread Nikolai Weibull
On 1/18/07, Robert Lee [EMAIL PROTECTED] wrote: Also, executing such a command on a password while someone is watching only brings attention to the password, which appears in clear text until the command sequence has been completed (where-as folding can be applied automatically when the file is

Re: BOF Vim 8 - EncryptLine

2007-01-18 Thread Bram Moolenaar
John Beckett wrote: Suggested new feature: Make an easy way to encrypt a secret within a line. Then you can have a simple text file to document stuff, with embedded secrets. On reading, you only need to enter a key if you want to see a secret. Example lines before encryption:

Re: BOF Vim 8 - EncryptLine

2007-01-17 Thread Robert Lee
John Beckett wrote: Suggested new feature: Make an easy way to encrypt a secret within a line. Then you can have a simple text file to document stuff, with embedded secrets. On reading, you only need to enter a key if you want to see a secret. Example lines before encryption: server12 { admin