mounting an encrypted partition, and more ...
I have an encrypted partition that works fine, but I have a few Q': Suse v8.2 During boot, if I don't get to the computer fast enough, the log in key prompt fails, and the boot continues. Hw do I "mount" an encrypted partition, once the computer is booted. This is not referenced in the suse manual on cd. When I copy text from a encrypted partition to a plaintext partition, it is no longer encrypted. How do I encrypt a file from the command line? I am primarily interested in encrypting my backup cd's, as now I have to use dos with an encryption program. Does decrypting with the wrong key fail, or does it hopelessly re-encrypt your data with an unknown key due to a typo? --- John Sowden American Sentry Systems. Inc. 1221 Andersen Drive San Rafael, CA 94901 U.L. Listed Central Station Alarm Service Serving the San Francisco Bay Area Since 1967 mail@americansentry.net http://www.americansentry.net
The Tuesday 2005-05-10 at 20:13 -0700, John Sowden wrote:
I have an encrypted partition that works fine, but I have a few Q': Suse v8.2
During boot, if I don't get to the computer fast enough, the log in key prompt fails, and the boot continues. Hw do I "mount" an encrypted partition, once the computer is booted. This is not referenced in the suse manual on cd.
/etc/init.d/boot.crypto start As root. It should be 'rccrypto start', but it doesn't exixt.
When I copy text from a encrypted partition to a plaintext partition, it is no longer encrypted.
Right.
How do I encrypt a file from the command line?
With gpg, for example.
I am primarily interested in encrypting my backup cd's, as now I have to use dos with an encryption program.
Me too, I'm interested in a good solution for that. I might think it over and come with something, if I have a bit of time. Remind me in a week or two, if nothing comes up first.
Does decrypting with the wrong key fail, or does it hopelessly re-encrypt your data with an unknown key due to a typo?
It fails. -- Cheers, Carlos Robinson
Hi, On Wednesday 11 May 2005 16:36, Carlos E. R. wrote:
/etc/init.d/boot.crypto start
As root. It should be 'rccrypto start', but it doesn't exixt.
It's only a missing symlink and that can be helped: ln -s /etc/init.d/boot.crypto /sbin/rcboot.crypto I did that because I sometimes mistype the password for my encrypted home partition. Greetings from Stuhr hartmut
On Wed, 2005-05-11 at 16:36 +0200, Carlos E. R. wrote:
The Tuesday 2005-05-10 at 20:13 -0700, John Sowden wrote:
I have an encrypted partition that works fine, but I have a few Q': Suse v8.2
During boot, if I don't get to the computer fast enough, the log in key prompt fails, and the boot continues. Hw do I "mount" an encrypted partition, once the computer is booted. This is not referenced in the suse manual on cd.
/etc/init.d/boot.crypto start
As root. It should be 'rccrypto start', but it doesn't exixt.
When I copy text from a encrypted partition to a plaintext partition, it is no longer encrypted.
Right.
How do I encrypt a file from the command line?
Try mcrypt, you may have to install from your CD/DVD. NAME mcrypt, mdecrypt - encrypt or decrypt files DESCRIPTION Mcrypt is a simple crypting program, a replacement for the old unix crypt(1). When encrypting or decrypting a file, a new file is created with the extension .nc and mode 0600. The new file keeps the modification date of the original. The original file may be deleted by specifying the -u parameter. If no files are specified, the standard input is encrypted to the standard out‐ put. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998 "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners." -Ernst Jan Plugge
On Tuesday 10 May 2005 22:13, John Sowden wrote:
Hw do I "mount" an encrypted partition, once the computer is booted. This is not referenced in the suse manual on cd.
To do it "by hand": modprobe loop_fish2 (or whatever crypto engine you used) losetup -e twofish (as above) /dev/loop0 /dev/[crypted partition] mount /dev/loop0 [mountpoint] -- ====================================================== Glenn Holmer (Linux registered user #16682) ====================================================== "Greater coherence cannot be achieved. Not even the Netherlanders have managed this." -Anton Webern ======================================================
participants (5)
-
Carlos E. R.
-
Glenn Holmer
-
Hartmut Meyer
-
John Sowden
-
Ken Schneider