Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 02-01-2010, 03:21 PM   #1
Senior Member
Registered: Jan 2008
Distribution: Arch/Knoppix
Posts: 1,823
Blog Entries: 14

Rep: Reputation: 282Reputation: 282Reputation: 282
cfs/cfsd and 7 byte pvect

This is an obscure one.

Years ago, I used a now obsolete program to encrypt files called cfs written by Matt Blaze. I ran it on kernel 2.0.35 (Slackware 3.5 I think) and mounted it using umsdos. Oi. Well, I got bored and was futzing around and managed to get Slackware 3.5 running under Vmware, ran the program, remembered the password from 10+ years ago after a week or two, and mounted the encrypted directory. Lo the file list, the names, ie. the directory was unencrypted, but the file contents were mush.

cfs (version 1.3.3) uses an initialization vector that points to a value, and the directory is mounted via nfs. The pointing vectors (their names start with "pvect") are all 7 characters. If I make a new file in the old directory and encrypt it now, its pvect is 8 characters, and it unencrypts normally. I can't figure out what could possibly be different causing the change in the pvect length and possibly causing the files to be mush, or why the names of the files should unencrypt but not their contents.

Any ideas would be welcome...
Old 07-16-2016, 10:12 AM   #2
Senior Member
Registered: Jan 2008
Distribution: Arch/Knoppix
Posts: 1,823

Original Poster
Blog Entries: 14

Rep: Reputation: 282Reputation: 282Reputation: 282
In case anyone has a similar problem (unlikely), while I'm not sure of the cause of the problem, I have found a solution. Tedious as it was, I added one digit to the end of the 7 digit pvects. Took at most 10 tries, average of 5, on each file, doing them in groups made it even more efficient.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to copy an entire disk byte-for-byte Pawprint Linux - Software 6 06-16-2011 12:01 PM
byte to byte remote comparison louisJ Linux - Newbie 3 09-21-2007 06:28 PM
CFS problem kenji Linux - Security 0 03-24-2007 03:30 PM
Need help with CFS rjkfsm Linux - Security 1 08-05-2005 12:17 PM
backup byte-for-byte axion0917 Linux - Software 2 12-11-2003 06:01 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:21 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration