I was just going through the code for vczip that Phong left before leaving
the company and compared it to what was in the most recent AST beta
package and found that while encryption part of vcodex was built in there
was no way to run it from vczip. If you specified the crypt method it
would core dump. I meshed together the code and did my best to follow your
man page conventions.

I still need to take a look at how the file¹s extension is determined. It
seems that using -m causes the file extension to change to .{first letter
of method)z. That was happening before my patch so I¹ll dig up why when I
have time. 

The attached patch was done on the 2014-12-24 beta release of ast-open. It
only affects vczip.c but was created from a common parent tree just in
case.

To test you can just run vczip -m crypt,sum,bwt,mtf,rle.0,huffgroup $FILE

It should create a file name $FILE.vz which is essentially a bzip
compressed file (burrow wheeler, move to front, run length encoding,
huffman) that is then checksumed and encrypted with AES128. The unpatched
version will crash because it doesn¹t know how to prompt for a password. I
also added -P which will you to change how the passphrase is supplied.

I¹m not sure what the patch convention is here as it is my first
submission. You can apply the patch by downloading the
ast-open.2014-12-24.tgz. Untarring it and then running 'patch -p1 -i
../vczip.patch'

ASE

Attachment: vczip.patch
Description: vczip.patch

_______________________________________________
ast-users mailing list
ast-users@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-users

Reply via email to