LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


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

Rep: Reputation: 279Reputation: 279Reputation: 279
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, 09:12 AM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,781
Blog Entries: 14

Original Poster
Rep: Reputation: 279Reputation: 279Reputation: 279
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.
 
  


Reply


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 11:01 AM
byte to byte remote comparison louisJ Linux - Newbie 3 09-21-2007 05:28 PM
CFS problem kenji Linux - Security 0 03-24-2007 02:30 PM
Need help with CFS rjkfsm Linux - Security 1 08-05-2005 11:17 AM
backup byte-for-byte axion0917 Linux - Software 2 12-11-2003 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:16 PM.

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