Destroying Civil Liberties and National Security, The 2012 National Defense Authorization Act

UPDATE: The bill has been passed by the Senate.
Yesterday, November 30 2011, I read about the bill currently in the Senate, the 2012 National Defense Authorization Act, S1867. This bill came to my attention because of Section 1031 within it, which states
"In General- Congress affirms that the authority of the President to use all necessary and appropriate force pursuant to the Authorization for Use of Military Force (Public Law 107-40) includes the authority for the Armed Forces of the United States to detain covered persons (as defined in subsection (b)) pending disposition under the law of war.".
A covered person according to the bill is anyone who had anything to do with the 9/11 attacks or has anything to do with forces engaged in the hostilities against the United States.
In the next paragraph, paragraph C of Section 1031 the what happens to those detained by the military is defined.
There are four options that can be taken once the military has detained you. Number 1: "Detention under the law of war without trial until the end of the hostilities authorized by the Authorization for Use of Military Force."

Stop.

The military can now arrest anyone who is believed to be associated with terrorism in any manner. And by anyone we mean, Canadian citizen, British citizen, French, South African, Australian, whomever. And let's not forget Americans. If this bill becomes law, the American military can arrest an American citizen for terrorism and hold them until a war against an enemy that is not clearly defined is won. Given that terrorism itself cannot be defeated until every as long as a single extremist of any group or ideology is alive and free, this effectively is a life sentence handed down without ever a trial to prove your innocence. In other words, this is the end of due process in any case in which the president feels you are a terrorist.

Focus Follows Mouse in Gnome Shell

Having recently moved my desktop to Fedora 15 I am now using Gnome Shell (more on this later). However, as with many of the configuration settings for Gnome, having focus follow mouse is no longer something you can set using installed graphical programs.
Fortunately, a one line command can rectify this for those of us who have become accustomed to using focus follows mouse (if you've never tried out focus follows, you should give it a shot for a week or so - you might be suprised out how nice it is).

Linux Filesystem and No Space With 150 Gigabytes Left

You read that right. Today I had a partition with over 150 gigabytes of space left on it and a drive error reporting that said partition was full. Not only that, but this was an important partition for me, the one that I keep in a mirrored RAID because it stores the main copy of all my school work, programming and more, so I was very concerned about disk errors.

Google Plus - My First Few Minutes

For some time I've considered social netwoking, having up to this point avoided joining any social networking sites. That's right - I'm not a Luddite, yet I don't use Facebook. However, today I was invited to join Google Plus. And so, I decided to take the plunge, and jack into the Matrix.

Reset a Terminal in Linux

Sometimes when you are working in your Bash terminal, something goes wrong.
It might have been a program that output strange symbols, or maybe you ran the cat command on a binary file. But, no matter how it happened, it can make your terminal essentially useless until you restart it.
Fortunately, these problems were anticipated by the creators of Bash, and a command exists to set the terminal right.
Simply run reset and all should be well once more, returning you to the joy of the command line interface.

Privacy on Android: Importing a Public Key from a Keyserver with APG

Now that you've set up APG and K9 to allow you to send and receive encrypted and signed emails from your Android phone, you've probably found that you need to import OpenPGP keys. Fortunately, if the keys you need can be found on keyservers, APG can download and import them for you.

Privacy on Android: Using the K9 Email Client with Encryption

This post is the second in the series on using OpenPG to sign and/or encrypt emails on Android.
This guide covers the setup of the K9 email client on Android for use with APG in order to encrypt and sign emails with OpenPGP. It also covers other basic options in K9, such as setting email signatures for outgoing messages, and how to send emails.
This guide requires that the steps in Installing and Configuring APG be implemented on your phone first.

Updated to include picutures

How To Remotely Decrypt LUKS Encypted Partition Over SSH

Some Linux distributions allow you to install all of your partitions, save the boot partition, onto encrypted partitions. Doing this can be a big increase to the security of your data, should your computer be stolen, but can be an inconvenience when installed on a server that has no input devices connected. Fortunately, initramfs, the same program allowing you to boot an encrypted root partition in the first place, can also be configure to allow ssh connections.

Set a Static IP in Initramfs

Initramfs (wikipedia) is a temporary filesystem that can boot a Linux system. Using initramfs allows you to use complex file partition schemes for your root directory, such as storing your root on a raid array, or on an encrypted partition.
Because it is designed to do such complex tasks, it allows for a number of utilities to be installed, including a basic shell (Busybox), and an ssh server (dropbox).
In some cases, this may mean that you need to be able to set a static IP address for initramfs; for instance this would allow you to remotely decrypt an encrypted root partition.

Privacy on Android: Installing and Configuring APG

This post is the first in the series on use OpenPG to sign and/or encrypt emails on Android.
In this post, the OpenPGP key manager for Android, APG, is installed and configured.
To follow all of the steps in this guide, you need to have a public and private OpenPGP key.. The steps doing so can be found at here under the Setting Up GPG heading.

Now updated to include screenshots of the installation.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer