This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
import struct | |
from Crypto.Cipher import AES | |
def unpad(s): | |
if len(s) % 16 != 0: | |
raise Exception('Bad Padding!') | |
pad_len = s[-1] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The idea is install arch in a SSD and add a HDD disk as an 'extra' folder. | |
# Encript everything with LUKS on LVM | |
# Use UEFI | |
# Use a very simple layout, almost no disk partitioning | |
# select the correct keyboard layout | |
loadkeys la-latin1 # la-latin1 is just an example | |
# get an internet connection |