1. encrypt a file using bcrypt from the command line
(even James Bond could manage that without editing skills)
the command is bcrypt [name of file] from the CLI
that is built into Puppy
I use the name pkf (for Puppy Key File)
For most people this will create a second file called pkf.bfe
with a login password and blowfish [ . . . ahem . . . or Blofeld . . .
. . . no blowfish] encryption

2. On a floppy disk
(tsk. . . tsk . . . didn't you know real agents use ye olde
technology - not gadgetery which says Property of Her Majs Govt on it)
- anyway on a floppy disk place pkf.bfe and keypup.sh (that is the above piece of code)

3. Mount your floppy drive

3. activate the script by typing ./keypup.sh

4. keep an eye on the tmp directory (this is the first problem - Linux seems to have a read and write - anytime you like - policy) Eventually the file pkf.bfe turns up

This is the part of the code copying to the tmp folder

Code:

cp -i /mnt/floppy/pkf.bfe /tmp/pkf.bfe

So you have to wait before continuing

5 Next you must use your secret login code
- now we have the situation of the blowfish decyption - if it is a big file
this takes time and writing and altering pkf.bfe to pkf will be up to a couple of minutes - it you open the leafpad file too soon nothing will be there and you have an empty file (thus thwarting your enemies and saving the location of Atlantis) . . . however not what you expected

the bcrypt code is neat - typing in bycrypt [name of file]
encrypts it - giving it the extension .bfe
running it like so

Code:

bcrypt /tmp/pkf.bfe

it realises that the .bfe is encoded and decodes it . . .

Now Puppys pay careful attention. As the world owned (or bought) by MicroSoft Redhat enters a new era - simplicity and portability is quite important

A keyfile could be stored and retrieved on floppy, keydrive, A multi-session Puppy or (with FTP facilities) any web space.

Now this is only my third script attempt - so I need to know
1. Is tmp the best place to expand (and delete files from)?
2. Can the write to disk be forced or speeded up?
3. Do I have to read ALL of the Rute guide?

All comments welcome

I am starting to read the files created for dotpup and all of Barrys scripts in /etc/sbin (I think it is)