i3wm@debian-testing, Spacemacs for Org+Magit, VSCode for the rest.
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Frieder Schlesier 59b1672804 add org-publish latex/koma letter 1 year ago
.config/kitty updates and cleanup 2 years ago
.i3 bunch of updates 2 years ago
.ssh add ssh config template 7 years ago
bin updates and cleanup 2 years ago
etc symcthing: add systemd autostart on login 3 years ago
scripts bunch of updates 2 years ago
sway mostly happy with sway setup, not decided on status bar 2 years ago
wireguard updates and cleanup 2 years ago
.Xdefaults updates. colors, urxvt, font-size script 8 years ago
.Xresources adjust font for urxvt 5 years ago
.aliases bunch of updates 2 years ago
.bashrc bashrc: eval starship 1 year ago
.dircolors finally fix dircolors 6 years ago
.dockerfunc even more updates 2 years ago
.gitconfig on my own machines, all git dirs should be safe 2 years ago
.gitignore ignore private stuff 8 years ago
.path updates 2 years ago
.profile move tower to archlinux 2 years ago
.spacemacs add org-publish latex/koma letter 1 year ago
.vimrc dirty update 6 years ago
.xsessionrc moar cleanup 8 years ago
20-thinkpad.conf more updates 8 years ago
LICENSE.md updates and cleanup 2 years ago
Makefile fix some typos 6 years ago
README.org update README 2 years ago
publish.el add org-publish latex/koma letter 1 year ago
restic-cheatsheet.org updates 2 years ago
spacemacs-custom.el add org-publish latex/koma letter 1 year ago
userChrome.css reduce font size for thunderbird+firefox 5 years ago

README.org

fschl dotfiles

Things that make my linux life more comfortable, portable and secure. For debian, or debian-based distros. using i3wm.org on the desktop.

Questions this repos tries to answer

  • How long does it take for you to set up a machine?
  • Do you have backups?
  • Are you using a password manager?
  • How do you transport your secrets?
  • Can you get things done without your computer?

    • Rescue+Recover friends laptops/computers
    • panic-ops using a friends laptop

Firefox/Thunderbird customization

  • goto .mozilla/firefox/<user-profile>/
  • mkdir chrome/ && cp ~/dotfiles/userChrome.css ./chrome/
  • open Firefox: about:config and set toolkit.legacyUserProfileCustomizations.stylesheets to true

Security

SSH key generation
  # ED25519 keys are favored over RSA keys when backward compatibility ''is not required''.
  # This is only compatible with OpenSSH 6.5+ and fixed-size (256 bytes).
  $ ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519_host_$(date +%Y-%m-%d) -C "Key to HOST for user-xyz"

  # Fallback for really old systems (why do you still have those??)
  # RSA keys are favored over ECDSA keys when backward compatibility ''is required'',
  # thus, newly generated keys are always either ED25519 or RSA (NOT ECDSA or DSA).
  $ ssh-keygen -t rsa -b 8192 -f ~/.ssh/id_rsa_host_$(date +%Y-%m-%d) -C "Key to HOST for user-xyz"

  $ ssh-copy-id -i ~/.ssh/<file>.pub -p 22 user@host
GnuPG

~/.gnupg/gpg.conf:

personal-digest-preferences SHA512 SHA384
cert-digest-algo SHA256
default-preference-list SHA512 SHA384 AES256 ZLIB BZIP2 ZIP Uncompressed
keyid-format 0xlong
Managing logins & passphrases
  • use a secure, cross-platform, cloudless password manager, e.g keepassXC
Backup Secure Keys

Nowadays it's mere chance to find a USB thumb drive with less than 4GB storage. Though, you want a dedicated drive to transport your password database, ssh keys and GPG keys. Those don't require more than a couple MB. So what to do with the remaining space?

Scenarios:

  • You visit friends, only have your keys with you and you have to check your mails, assist a colleague in some network/ops emergency or just securely look up some confidential information.
  • A family member calls: their HDD just died and you are asked to quickly help out on recovery.

Boot into a safe environment, having all your credentials available in a secure manner. Have a bootable forensics toolbox around to quickly get going in a familiar setup.

Solution: multi-boot!

Thumb Drive Setup

3 partitions: boot+isos, luks encrypted, unencrypted partition for non-sensitive data

TODO [0/5]

  • explain setup, ideas, practises
  • add HOWTO
  • Check new bootable USB solution: https://ventoy.net/en/index.html
  • move to ansible for easier modularization of setup
  • OR: give GUIX a shot

Moving to Arch