Weblog for dkg – HOWTO prep for migration off of SHA-1 in OpenPGP

In a nutshell:

Either, enter the following into a terminal…,

cat >>~/.gnupg/gpg.conf <<EOF
personal-digest-preferences SHA256
cert-digest-algo SHA256
default-preference-list SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed

…or open gpg.conf in any text editor of your choice.

And then…,

## As I am on windows these days,
#  gpg4win
## I had to open a cmd, and use gpg2 instead of just gpg.
gpg --edit-key $YourKeyID
# To show your prefs.
# To set your new prefs.
setpref SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed

Tada, and Bob’s your uncle. 🙂

via Weblog for dkg – HOWTO prep for migration off of SHA-1 in OpenPGP.

Better late, than never. 😉

How to install Linux Mint via USB — Part II.

 — Get it here.

*smallish update*

↑ Yesterday I wondered what had happened to my screenshots, and scribbles I thought I had placed them on my /home/me drive, but apparently I forgot that ecryptfs works “ transparently. ” That is, when I’m logged into my box it overlays my regular home, with a ‘ secretive ’ one. 😀 Anyway, there you go, and may the screenshots be of use to anyone out there ?

After much deliberation, I have decided to forego my intent to install LMDE, as I hinted at in my previous post. Why, you might ask ? Well …, because of this.

The Installer States:

You have selected to partition your partitions manually, this feature is for ADVANCED USERS ONLY. ← “ advanced ”should bet taken, with a grain of salt. 😉

Before continuing, please mount your target filesystem(s) at /target. ← I did that !

Do NOT mount virtual devices such as /dev, /proc, /sys, /etc on /target. ← Quite possibly the reason for my update-initramfs -u failure — during my first try ‽

During the install, you will be given time to chroot into /target and install any packages that will be needed to boot your new system.

During the install, you will be required to write your own /etc/fstab. ← No big deal. 😉

If you aren’t sure what any of this means, please go back and deselect manual partition management.

↑ This very much looks like the installer telling you : I want your disk all to myself, because fuck you that’s why. 😀 ← Not gonna happen though, not anytime soon. 😉

I did some googling, and came upon this post, which is quite self-explanatory. Though my needs differ quite from the author’s. 😉

Anyway !

While in my live-session, I did the fix installer bug, as suggested.

##  Around line 1860 ‽
gksudo /usr/lib/live-installer/frontend/gtk_interface.py

And changed :


Into this :

##  Mind the indentation. ; )

Next, I fired up the installer, and from thereon end everything is pretty much straightforward. That is, until … You come to the actual manual partitioning section — Over the years, I’ve done many alternate-installs — it doesn’t quite look like the way I’m used to do things. 😉 I ended up, doing the partitioning first. Setup everything as required (mounting them all at /target), and then let the installer use the paved road to do its dirty work. ← It all seemed to have worked though, no errors, and such ‽

I’d love to tell you how I succeeded, and that I’m writing you this post, from that install … Unfortunately, it apparently wasn’t meant to be. I’ll spare you the update-initramfs -u “ saga ” (during my first try, and yes I actually got it to boot, and ask for my passphrase!), and I’ll spare you the apt-get -f install story, that happened during my second run.

Which is why — to finish up this ( “ lament ” ) post — that I’ve decided to go the Debian way. At least one good thing came out of it. The LMDE live-image, is exactly that : A good, and decent image ! 😉

Target : Self.