bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help needed implementing a new store class


From: Trek
Subject: Re: help needed implementing a new store class
Date: Mon, 3 Nov 2003 03:08:59 +0100 (MET)

Thanks to the help received i've done the first running release of the
encrypted store backend with Blowfish encryption only.  It works with
storeio for permanent data and temporary, like a swap partition, with a
random generated key.  I'm very happy to see that the design of Hurd makes
possible to write it in only 12K of code. :-)

To ask the password to the user i've modified the fshelp_start_translator
function, to pass the standard input to the translator.  I don't think
that this is the right way to do it, but it works.
Actually the crypt_validate_name function asks for a password, then close
standard input and output.  This is bugged if the class is called by an
interactive program, but i don't know how to do it in another way.  Any
suggestion?  Should i implement a modified settrans to do it?

The source code is avaiable at
http://www.trek.eu.org/devel/hurd/crypt-trans-0.0.3.tgz

To run it you can use the losetup.sh script shell included.  Make sure to
have the correct LD_LIBRARY_PATH set.


thanks & c-ya!

3               http://www.trek.eu.org/
k               PGPKey: 7016731A57D4A69B 1A8EE5E90EF2608E (since 1995)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]