Re: Using Python To Create An Encrypted Container



Michael Sperlle <sperlle@xxxxxxxxx> wrote:
Is it possible? Bestcrypt can supposedly be set up on linux, but it seems
to need changes to the kernel before it can be installed, and I have no
intention of going through whatever hell that would cause.

If I could create a large file that could be encrypted, and maybe add
files to it by appending them and putting in some kind of delimiter
between files, maybe a homemade version of truecrypt could be constructed.

Any idea what it would take?


you can either use fuse and its python bindings - this is rather trivial
filesystem-wise, of course there are challenges in order to implement
encryption effectively and efficiently (this is what encfs or phonebook
do, but they are written in C)

Or implement encrypted network block device in python - again, this
should not be _that_ hard.

Or implement either nfs or samba server with transparent encrypted
storage - this is what (again in C) cfs does. If you go the samba way,
it would be even cross-platform - but I have no idea how difficult it
would be to implement a samba server in python.

In all the cases, performance is going to be THE issue.

--
-----------------------------------------------------------
| Radovan Garabík http://kassiopeia.juls.savba.sk/~garabik/ |
| __..--^^^--..__ garabik @ kassiopeia.juls.savba.sk |
-----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
.



Relevant Pages

  • Encryption between Python & PHP
    ... forth between a Python HTTP client on Windoze and an Apache/PHP server ... Encryption in PHP uses a wrapper around the mcrypt C library. ... There is a wrapper for mcrypt in Python, ... libraries and you have to encrypt/decrypt with the same library. ...
    (comp.lang.python)
  • Cross-Language Encryption: Python/Java
    ... the server, to work identically in both Python and Java. ... Java encryption suite. ...
    (comp.lang.python)
  • Re: Equivalent of Javascript Bitwise Operators
    ... >a javascript DES encryption routine into python. ... If you want to shift in zeroes from above 32 bits of a possibly negative number, ...
    (comp.lang.python)
  • ANN: ludevit 1 available
    ... ludevít is a simple program translating standard Slovak language ... Python at least version 2.3, ... file .signature infected by signature virus. ...
    (comp.lang.python.announce)
  • Re: Encryption with Python?
    ... I rolled my own for relatively short sequences, like passwords. ... To decrypt use the negative encryption key. ... as it is indistinguishable from a random sequence. ... Subject: Encryption with Python? ...
    (comp.lang.python)