Re: rsyncrypto
Brought to you by:
thesun
From: Shachar S. <rsy...@sh...> - 2006-01-23 08:34:48
|
Sébastien Papaya wrote: > Hello ! > > I would like to use rsyncrypto to encrypt my files, but I don't know > how to use it. I use rsyncrypto 0.13 which is the version used by > Ubuntu Breezy (My OS). > > My files are in a folder named : > /home/nousdeux/Sebastien/ > > My destination files must be in the following : > /home/nousdeux/Encrypted/ > > I have got a key generated by GnuPG in the following folder : > /home/nousdeux/.gnupg/ > rsyncrypto uses X509 type certificates, not the type used by gnupg. You should use openssl to generate the key for you. Read the openssl man for full details, but here is a command to get you started: openssl req -newkey rsa:1536 -keyout cert.key -nodes -x509 -out cert.crt This will generate a 1536 bit RSA key and certificate based on it (the certificate credentials are unimportant to rsyncrypto). It will create two files. cert.key will be the RSA private key. cert.crt will be the self signed X509 certificate containing the public key. Shachar -- Shachar Shemesh Lingnu Open Source Consulting ltd. Have you backed up today's work? http://www.lingnu.com/backup.html |