Thread View: alt.privacy.anon-server
14 messages
14 total messages
Started by Anonymous Remailer (austria)
Fri, 03 Oct 2014 14:01
Ping Zax
Author: Anonymous Remailer (austria)
Date: Fri, 03 Oct 2014 14:01
Date: Fri, 03 Oct 2014 14:01
11 lines
1219 bytes
1219 bytes
Would you please explain in detail how you are handling your mix key on your server. You seemed to have some way of protecting your key from observation and/or confiscation. I was also wondering if mixmaster could be modified to somehow pass the encrypted messages to a remailer back to a local machine for decryption, then it be passed back to mixmaster on the server for remailing.
Re: Ping Zax
Author: Nomen Nescio
Date: Fri, 03 Oct 2014 14:33
Date: Fri, 03 Oct 2014 14:33
12 lines
1341 bytes
1341 bytes
> Would you please explain in detail how you are handling your mix > key on your server. You seemed to have some way of protecting your > key from observation and/or confiscation. > I was also wondering if mixmaster could be modified to somehow > pass the encrypted messages to a remailer back to a local machine > for decryption, then it be passed back to mixmaster on the server > for remailing. Scratch the second statement, you might as well just run a remailer on your local computer.
Re: Ping Zax
Author: Zax
Date: Fri, 03 Oct 2014 18:15
Date: Fri, 03 Oct 2014 18:15
60 lines
3311 bytes
3311 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Fri, 3 Oct 2014 16:01:54 +0200 (CEST), Anonymous Remailer (austria) wrote in
Message-Id: <94a41661f8d42a12efd527385714859f@remailer.privacy.at>:
> Would you please explain in detail how you are handling your mix
> key on your server. You seemed to have some way of protecting your
> key from observation and/or confiscation.
It's just an encrypted filesystem with a randomly generated key.
In /etc/crypttab, put something like this:-
discard /dev/sdx /dev/urandom cipher=aes-xts-plain,size=512
Next time you reboot, the device will be created. This can be verified
(by root) with the command:-
dmsetup ls
Next, format the device:-
mkfs -t ext4 /dev/mapper/discard
and finally mount it:-
mount /dev/mapper/discard /var/local/discard
The last two steps will need to be repeated on each reboot as the
random key is lost, taking the filesystem with it.
The final step is to move your secret keys to this filesystem and
configure mix.cfg with details of their location:-
SECRING /var/local/discard/mix/secring.mix
PGPREMSECRING /var/local/discard/mix/secring.pgp
Don't forget to back these files up to another filesystem before a
reboot or their content (and any messages encrypted to them) will be
lost. Fortunately for me, I probably only reboot on average about once
a year!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJULufKAAoJEIBmv8lxNqHoI0sP/RFnRPTcohD3X9DATyoZy63J
3cp2Boexu+VHK02h7MTnnP2PVJr9tu67bc7MNu/+PNQHxyMrpBmxVPgkmjLWfHtN
EEbMpbwmL58rDYmAC+FL81YptiWSx6YbBSFETvL+ia61y5GMgCQtIzCVA3imEU2I
TudPJ/75Ayd/qd1UcqlDzk+Nl6Jpv74Vjs++1lqlm4VVl+E8lUNxjxMHWfC/QEjo
kbrvyZcriH1tsObDdjmGoMQP+6Kux04ILKs5rVfS2ROb/Hde367WTTRoD4gwL9yU
bsx3JCeDQDVVhXlPZcsxEqZ6wHUBN4jJbClPSLSRC/xF1usFn7bagbyepB49z96d
8eWv5w0qZ/c4V1/73FErOYStSomb4b7MVCcCx9BgrFLk3ei5rF7+l+G+9Q2VEQpG
iPdCwiCj64nkglqZzgetlpBikzYE1vNfpwX1bAp99NO6Sd/lkNzZQo9kf/LT8Duw
6jOWZFQHdnlFqSzgZ0Tit3UG0fQJDJNrOBPgqdFnolQKOohXu9EfZO+cBsmavdvJ
LIqZls126UHyfb01IaCCyYncrbet7jOsa9mmb5PFmwbStofnHuRBnAogbzGUpMQT
1Y1EZMyH0uUB+IsfMko+KWDFcWubcMVZi0DwWCwTw89G8CAQPxLwLj1wdKOfJPIQ
40B/0HttWdjrm3nkP1ve
=p+bf
-----END PGP SIGNATURE-----
--
pub 1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
sub 4096R/4ABF07E3 2012-02-11 [expires: 2013-02-10]
Re: Ping Zax
Author: Dave U. Random
Date: Fri, 03 Oct 2014 19:36
Date: Fri, 03 Oct 2014 19:36
45 lines
2611 bytes
2611 bytes
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > On Fri, 3 Oct 2014 16:01:54 +0200 (CEST), Anonymous Remailer (austria) wrote in > Message-Id: <94a41661f8d42a12efd527385714859f@remailer.privacy.at>: > Would you please explain in detail how you are handling your mix > key on your server. You seemed to have some way of protecting your > key from observation and/or confiscation. > It's just an encrypted filesystem with a randomly generated key. > In /etc/crypttab, put something like this:- > discard /dev/sdx /dev/urandom cipher=aes-xts-plain,size=512 I don't have a crypttab in /etc/, I assume that you are saying to nano crypttab and save the discard... line therein. I don't see how the next reboot will create the device. Does Linux execute anything in /etc/ with an appended 'tab' on the end, or is crypttab some kind of keyword? > Next time you reboot, the device will be created. This can be verified > (by root) with the command:- > dmsetup ls > Next, format the device:- > mkfs -t ext4 /dev/mapper/discard > and finally mount it:- > mount /dev/mapper/discard /var/local/discard > The last two steps will need to be repeated on each reboot as the > random key is lost, taking the filesystem with it. > The final step is to move your secret keys to this filesystem and > configure mix.cfg with details of their location:- > SECRING /var/local/discard/mix/secring.mix > PGPREMSECRING /var/local/discard/mix/secring.pgp > Don't forget to back these files up to another filesystem before a > reboot or their content (and any messages encrypted to them) will be > lost. Fortunately for me, I probably only reboot on average about once > a year!
Re: Ping Zax
Author: Anonymous
Date: Fri, 03 Oct 2014 21:18
Date: Fri, 03 Oct 2014 21:18
68 lines
3849 bytes
3849 bytes
In article <slrnm2tpua.veq.admin@snorky.mixmin.net> Zax <admin@mixmin.net> wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > On Fri, 3 Oct 2014 16:01:54 +0200 (CEST), Anonymous Remailer (austria) wrote in > Message-Id: <94a41661f8d42a12efd527385714859f@remailer.privacy.at>: > > > Would you please explain in detail how you are handling your mix > > key on your server. You seemed to have some way of protecting your > > key from observation and/or confiscation. > > It's just an encrypted filesystem with a randomly generated key. > > In /etc/crypttab, put something like this:- > discard /dev/sdx /dev/urandom cipher=aes-xts-plain,size=512 > > Next time you reboot, the device will be created. This can be verified > (by root) with the command:- > dmsetup ls > > Next, format the device:- > mkfs -t ext4 /dev/mapper/discard > > and finally mount it:- > mount /dev/mapper/discard /var/local/discard > > The last two steps will need to be repeated on each reboot as the > random key is lost, taking the filesystem with it. > > The final step is to move your secret keys to this filesystem and > configure mix.cfg with details of their location:- > SECRING /var/local/discard/mix/secring.mix > PGPREMSECRING /var/local/discard/mix/secring.pgp > > Don't forget to back these files up to another filesystem before a > reboot or their content (and any messages encrypted to them) will be > lost. Fortunately for me, I probably only reboot on average about once > a year! > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2 > > iQIcBAEBCAAGBQJULufKAAoJEIBmv8lxNqHoI0sP/RFnRPTcohD3X9DATyoZy63J > 3cp2Boexu+VHK02h7MTnnP2PVJr9tu67bc7MNu/+PNQHxyMrpBmxVPgkmjLWfHtN > EEbMpbwmL58rDYmAC+FL81YptiWSx6YbBSFETvL+ia61y5GMgCQtIzCVA3imEU2I > TudPJ/75Ayd/qd1UcqlDzk+Nl6Jpv74Vjs++1lqlm4VVl+E8lUNxjxMHWfC/QEjo > kbrvyZcriH1tsObDdjmGoMQP+6Kux04ILKs5rVfS2ROb/Hde367WTTRoD4gwL9yU > bsx3JCeDQDVVhXlPZcsxEqZ6wHUBN4jJbClPSLSRC/xF1usFn7bagbyepB49z96d > 8eWv5w0qZ/c4V1/73FErOYStSomb4b7MVCcCx9BgrFLk3ei5rF7+l+G+9Q2VEQpG > iPdCwiCj64nkglqZzgetlpBikzYE1vNfpwX1bAp99NO6Sd/lkNzZQo9kf/LT8Duw > 6jOWZFQHdnlFqSzgZ0Tit3UG0fQJDJNrOBPgqdFnolQKOohXu9EfZO+cBsmavdvJ > LIqZls126UHyfb01IaCCyYncrbet7jOsa9mmb5PFmwbStofnHuRBnAogbzGUpMQT > 1Y1EZMyH0uUB+IsfMko+KWDFcWubcMVZi0DwWCwTw89G8CAQPxLwLj1wdKOfJPIQ > 40B/0HttWdjrm3nkP1ve > =p+bf > -----END PGP SIGNATURE----- > > -- > pub 1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net> > Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7 > sub 4096R/4ABF07E3 2012-02-11 [expires: 2013-02-10] You people are really pissing off us trolls. How in the hell are we supposed to troll when we don't know what the f***k you're talking about?
Re: Ping Zax
Author: elvis-85503
Date: Fri, 03 Oct 2014 21:57
Date: Fri, 03 Oct 2014 21:57
34 lines
2311 bytes
2311 bytes
> I don't have a crypttab in /etc/, I assume that you are saying to > nano crypttab and save the discard... line therein. I don't see > how the next reboot will create the device. Does Linux execute > anything in /etc/ with an appended 'tab' on the end, or is crypttab > some kind of keyword? It's a file for configuration of encrypted volumes. If you've got a Red Hat related system look at these packages. $ rpm -qf /etc/crypttab initscripts-9.47-1.fc19.x86_64 $ rpm -qi cryptsetup Name : cryptsetup Version : 1.6.4 Release : 1.fc19 Architecture: x86_64 Install Date: Thu 20 Mar 2014 00:12:25 GMT Group : Applications/System Size : 248590 License : GPLv2+ and LGPLv2+ Signature : RSA/SHA256, Thu 27 Feb 2014 19:36:27 GMT, Key ID 07477e65fb4b18e6 Source RPM : cryptsetup-1.6.4-1.fc19.src.rpm Build Date : Thu 27 Feb 2014 15:43:55 GMT Build Host : buildvm-03.phx2.fedoraproject.org Relocations : (not relocatable) Packager : Fedora Project Vendor : Fedora Project URL : http://cryptsetup.googlecode.com/ Summary : A utility for setting up encrypted disks Description : The cryptsetup package contains a utility for setting up disk encryption using dm-crypt kernel module.
Re: Ping Zax
Author: Zax
Date: Sat, 04 Oct 2014 12:04
Date: Sat, 04 Oct 2014 12:04
41 lines
2765 bytes
2765 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Fri, 3 Oct 2014 21:36:43 +0200 (CEST), Dave U Random wrote in
Message-Id: <fe14f1e6b833f62ae98e1403f3dba280@anonymitaet-im-inter.net>:
> I don't have a crypttab in /etc/, I assume that you are saying to
> nano crypttab and save the discard... line therein.
Yes, if the file doesn't exist, you create it and insert that line.
> I don't see
> how the next reboot will create the device. Does Linux execute
> anything in /etc/ with an appended 'tab' on the end, or is crypttab
> some kind of keyword?
All the files in /etc are system or application config files. In the
case of crypttab, it's content is read by cryptsetup which creates the
devices.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJUL+JYAAoJEIBmv8lxNqHoi18P/i/rFeRx7IPESqGsK1IouChF
J987mZ5B8KSHbae+CheWLPiSOPOHnyqECCn01qdyqZJXPBPZcO5keLZBbQWJbLz2
LE4HNKwphdEay0ncbplHSOrCc8XmQb6ihPNCQOJqkXMi///VXTa/tML1VXyaCfqG
8UJO5rULfBVzw0ZaTyXIchTuzuiosTka4LJG9iAw9XUD43c48yDy4XdT0q9hEucE
i8ExeCvn/wDOoAdVDnXtvlmV+44gAPByjYTw77oJA+bmc6GjKVgoCzl6Pnb+OkFU
NLoPddk6+FuSCDQ8cPGhuoHk4vAZf4Kdhka85W2ZktQ6Sjv9yT3VGrrYSARaJlei
M8zdx1QgxAhrGfKNVDVpZ8Fm0OGsEAMMn7Ggx7/Oopg7LwQy7rrugTVCsEPpk4yu
/vDa+H5/6bJQJWYctwriuAGSUJ5GnVTV+BaHjk4bHTXXoHgER/EZO/8FP3jevt5i
ptPpYO2nj8KB47yA3Uu5TwlJfa3tGK20JQh6+2vuADsFF12TjEME9THTWS0Me/qr
JFR34IPTwNu6P29D31USzR+9N4jHtdzqWm9SqiYVe34siQog295KVROB1Mul7B3D
dS0n3WVSIiXyb6rT4BFRl+9/CcKIdQHV8Ts956IvqTtwIDUoJiHw8gTkoMB4Kopt
/2tm7kbqHyYzVXgNLPrJ
=xR91
-----END PGP SIGNATURE-----
--
pub 1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
sub 4096R/4ABF07E3 2012-02-11 [expires: 2013-02-10]
Re: Ping Zax
Author: Anonymous Remailer (austria)
Date: Sat, 04 Oct 2014 13:17
Date: Sat, 04 Oct 2014 13:17
25 lines
1708 bytes
1708 bytes
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > On Fri, 3 Oct 2014 21:36:43 +0200 (CEST), Dave U Random wrote in > Message-Id: <fe14f1e6b833f62ae98e1403f3dba280@anonymitaet-im-inter.net>: > I don't have a crypttab in /etc/, I assume that you are saying to > nano crypttab and save the discard... line therein. > Yes, if the file doesn't exist, you create it and insert that line. > I don't see > how the next reboot will create the device. Does Linux execute > anything in /etc/ with an appended 'tab' on the end, or is crypttab > some kind of keyword? > All the files in /etc are system or application config files. In the > case of crypttab, it's content is read by cryptsetup which creates the > devices. So is running cryptsetup going to encrypt the entire server or only certain files? Can see what is actually happening here.
Re: Ping Zax
Author: Jack Ryan
Date: Sun, 05 Oct 2014 06:00
Date: Sun, 05 Oct 2014 06:00
55 lines
2680 bytes
2680 bytes
The idea of putting remailer keys on a partition with a randomly-generated key is a good one. Rather than using a "real" disk, it is also possible to do this using a ramdisk. Here are a couple of scripts to create and destroy a ramdisk that is encrypted with a randomly-generated key that is different with each boot. Change maxsize=##### in the first line of the script to generate a disk of your desired size. maxsize is in kB, so 50000 corresponds to a 50MB disk (plenty big to store mix keys). Before running the scripts for the first time, you should create a directory /media/rdisk: sudo mkdir /media/rdisk You only need to do this once. Also, replace <your_user_id> with your user id. The first script will create the ramdisk: #!/bin/bash mount -t ramfs none /media/rdisk -o maxsize=50000 chmod 700 /media/rdisk chown -R <your_user_id> /media/rdisk chgrp -R <your_user_id> /media/rdisk dd if=/dev/urandom of=/media/rdisk/cryptainer bs=1M count=500 losetup -f losetup /dev/loop0 /media/rdisk/cryptainer cryptsetup create --cipher aes-xts-plain --key-size 512 cryptramdisk /dev/loop0 -d /dev/urandom badblocks -swt random /dev/mapper/cryptramdisk mkfs.ext2 /dev/mapper/cryptramdisk if [ ! -d /media/ramdisk ]; then mkdir /media/ramdisk fi mount /dev/mapper/cryptramdisk /media/ramdisk chmod 755 /media/ramdisk chown <your_user_id> /media/ramdisk rm -rf /media/ramdisk/lost+found And the second script will destroy the ramdisk (probably not useful for the current discussion, but I'm including it for completeness). #!/bin/bash umount /media/ramdisk rmdir /media/ramdisk cryptsetup remove cryptramdisk losetup -d /dev/loop0 rm /media/rdisk/cryptainer umount /media/rdisk Both scripts should be run as root (using sudo, preferably). The ramdisk will be created at /media/ramdisk. You should be able to see it with the command df -h
Re: Ping Zax
Author: Nomen Nescio
Date: Sun, 05 Oct 2014 12:05
Date: Sun, 05 Oct 2014 12:05
8 lines
1133 bytes
1133 bytes
Jack Ryan <noreply@remailer.cpunk.us> wrote: > The idea of putting remailer keys on a partition with a randomly-generated > key is a good one. That's a terrible idea. New mixmaster keys on every reboot, without warning to the users. That's no reliable setup.
Re: Ping Zax
Author: Anonymous
Date: Sun, 05 Oct 2014 12:28
Date: Sun, 05 Oct 2014 12:28
12 lines
1679 bytes
1679 bytes
On Sun, 5 Oct 2014 14:05:00 +0200 (CEST), Nomen Nescio <nobody@dizum.com> wrote: >Jack Ryan <noreply@remailer.cpunk.us> wrote: > >> The idea of putting remailer keys on a partition with a randomly-generated >> key is a good one. > >That's a terrible idea. New mixmaster keys on every reboot, without warning >to the users. That's no reliable setup. The Mixmaster keys are not being replaced on every boot. They key being used to encrypt the partition is what is being replaced.
Re: Ping Zax
Author: Nomen Nescio
Date: Sun, 05 Oct 2014 12:59
Date: Sun, 05 Oct 2014 12:59
16 lines
1500 bytes
1500 bytes
Anonymous wrote: > On Sun, 5 Oct 2014 14:05:00 +0200 (CEST), Nomen Nescio <nobody@dizum.com> wrote: > > >Jack Ryan <noreply@remailer.cpunk.us> wrote: > > > >> The idea of putting remailer keys on a partition with a randomly-generated > >> key is a good one. > > > >That's a terrible idea. New mixmaster keys on every reboot, without warning > >to the users. That's no reliable setup. > > The Mixmaster keys are not being replaced on every boot. They key being used to encrypt the partition is what is being replaced. Then where do you store them between reboots? I must be missing something here.
Re: Ping Zax
Author: Zax
Date: Sun, 05 Oct 2014 14:07
Date: Sun, 05 Oct 2014 14:07
53 lines
3165 bytes
3165 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Sun, 5 Oct 2014 14:59:16 +0200 (CEST), Nomen Nescio wrote in
Message-Id: <4becc6fef6daa1778768fafb05fad968@dizum.com>:
> Anonymous wrote:
>
>> On Sun, 5 Oct 2014 14:05:00 +0200 (CEST), Nomen Nescio <nobody@dizum.com> wrote:
>>
>> >Jack Ryan <noreply@remailer.cpunk.us> wrote:
>> >
>> >> The idea of putting remailer keys on a partition with a randomly-generated
>> >> key is a good one.
>> >
>> >That's a terrible idea. New mixmaster keys on every reboot, without warning
>> >to the users. That's no reliable setup.
>>
>> The Mixmaster keys are not being replaced on every boot. They key being used to encrypt the partition is what is being replaced.
>
> Then where do you store them between reboots? I must be missing
> something here.
No, I don't think you're missing anything. If the keys aren't backed up
between reboots then they'll be lost forever. The principle is that
stable Linux servers don't require rebooting very often.
For snorky.mixmin.net:-
$ uptime
15:06:32 up 315 days, 22:51, 11 users, load average: 0.27, 0.45, 0.41
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJUMVCvAAoJEIBmv8lxNqHo3ekP/jq0mN0Vnt1Y56FCc2Mnh8Tb
T8e6z5xiZjrNlZm0VBtyIH+CidX9wL2eOcgcS7yaRctapwl1YhZIQbPHONRYWI1b
0wigGlgpzLl0NO7/ggj5XZLBsKSjC9dq+y/32PPTKrypjFauHQtW2K4HPhGjMyoc
Fn4LAGoCNPk568OXsvjbnfLO/kZfaKFO3P4p67nY608bHtHkTQJlc0FyJzefFGy1
GuwjosR5+4IJ5cZJcy9JimiImNDhwMMk57x1MGL4KVKjZS7nDurUsEBuKV7vUePj
P414rFOR5cZtmKpFnoUn9FBBFCzhNh33VhO4NHr3sm8J2ItWUM3d+t9mIRBI2XHm
+eo2QUKuNGRbECsUvE8Dzq/Em3OWh5ojdyNWK1RN8fIn2cpPgIMIxRdp0QuscMoW
Lq9nAJqqUzWxkfgecH5Rjv8qO66Wb14VH3YeFodi1B2YNSdRJ6IZtZSZCk/Q5k9S
srdZLUREoBshoXLDbKp3WtMWiitkfR0LkvEZMyejLGP1o2qzpiDpoPanVXAb+F7V
I/Jc5mRQpoo69MLd6p4qcLX8qj7gN/YTZjTquUzN32WjuKC5/PY+PwJAhatgFfri
rvi7lxMA+/MoGGGMIMJ/O+Hap/o+kG9TXKBxsIZ5oY7tw3qUVZD6eZPv7b8jsj1k
SvgNH7FU0vunyX2kEFgl
=sm99
-----END PGP SIGNATURE-----
--
pub 1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
sub 4096R/4ABF07E3 2012-02-11 [expires: 2013-02-10]
Re: Ping Zax
Author: Anonymous Remailer (austria)
Date: Sun, 05 Oct 2014 14:51
Date: Sun, 05 Oct 2014 14:51
6 lines
1369 bytes
1369 bytes
> Then where do you store them between reboots? I must be missing something here. Someplace else. Could be in encrypted form on the remailer node or another node completely.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads