How do I access encrypted files (with known password) from an outside application?

2011-04-12 Thread diyu01
Hi, I am using vim to edit encrypted files and it works great. However, I want to be able to read the (decrypted) file content from a C++ application using cryptopp library. I am willing to embed the password into the application, but how do I access the data? For example, if the data is encrypted

Re: How do I access encrypted files (with known password) from an outside application?

2011-04-12 Thread Yu Di
that describes the format. Thanks. On Tue, Apr 12, 2011 at 11:14 AM, Tony Mechelynck antoine.mechely...@gmail.com wrote: On 12/04/11 17:19, diyu01 wrote: Hi, I am using vim to edit encrypted files and it works great. However, I want to be able to read the (decrypted) file content from a C

Re: How do I access encrypted files (with known password) from an outside application?

2011-04-12 Thread Christian Brabandt
Hi Yu! On Di, 12 Apr 2011, Yu Di wrote: Hi, I do see that the file starts with VimCrypt~01! for pkzip and VimCrypt~02! for blowfish, and the bytes after the header for pkzip encryption does not change (as pkzip encryption does not have an iv), so I think those are the encrypted bytes, but I

Re: How do I access encrypted files (with known password) from an outside application?

2011-04-12 Thread Yu Di
Thanks! Let me check that. On Tue, Apr 12, 2011 at 12:07 PM, Christian Brabandt cbli...@256bit.orgwrote: Hi Yu! On Di, 12 Apr 2011, Yu Di wrote: Hi, I do see that the file starts with VimCrypt~01! for pkzip and VimCrypt~02! for blowfish, and the bytes after the header for pkzip

Re: encrypted files

2011-01-09 Thread eda wizard
Or some such? Or do any of you have something to make sure creating/reading/writing/ vim encrypted files are as secure as possible? vim 7.3 has mostly-transparent blowfish encryption baked-in, see: http://blogs.techrepublic.com.com/security/?p=4870 HTH, Still-learning Stuart -- You

Re: encrypted files

2011-01-09 Thread Benjamin R. Haskell
On Sat, 8 Jan 2011, Robert wrote: Do encrypted files have a type so that something like: autocmd BufReadPre, BufRead * set nobackup nowritebackup viminfo= Or some such? Or do any of you have something to make sure creating/reading/writing/ vim encrypted files are as secure as possible

encrypted files

2011-01-08 Thread Robert
Do encrypted files have a type so that something like: autocmd BufReadPre, BufRead * set nobackup nowritebackup viminfo= Or some such? Or do any of you have something to make sure creating/reading/writing/ vim encrypted files are as secure as possible? -- Robert -- You received