summaryrefslogtreecommitdiffstats
path: root/Debian.md
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-11-08 15:40:45 +0100
committerAhmed Abdelhalim <[email protected]>2025-11-08 15:40:45 +0100
commita1383359e02dd1fed6ebe466e78397abb42c35bc (patch)
treeb2257d70cc65579eb2a3932b5be957dd939f7bca /Debian.md
parentcecf1905fe2dc827ae66955161415bd2a5ae34f4 (diff)
Clean up readmes
Diffstat (limited to 'Debian.md')
-rw-r--r--Debian.md74
1 files changed, 33 insertions, 41 deletions
diff --git a/Debian.md b/Debian.md
index a88f1d3..aa7fdd7 100644
--- a/Debian.md
+++ b/Debian.md
@@ -1,10 +1,8 @@
-# ParrotOS
-```bash
-# Allow ssh into the machine
-curl https://meta.sr.ht/~a14m.keys > ~/.ssh/authorized_keys
-sudo ln -sf ~/.rc/etc/ssh/sshd_config /etc/ssh/sshd_config
-sudo systemctl enable ssh
+# Extras
+
+## ParrotOS
+```bash
# Setup extra PenTools
## SecLists
git clone https://github.com/danielmiessler/SecLists.git ~/SecLists
@@ -27,44 +25,38 @@ sudo apt install ffuf -y
## dotdotpwn.pl
git clone https://github.com/wireghoul/dotdotpwn.git ~/dotdotpwn
sudo mv ~/dotdotpwn /opt/
-
-## Thefuck
-sudo pip3 install thefuck
```
-# Extras :
-## Essentials
-- Add missing dependencies
-```bash
-sudo apt remove neovim -y
-sudo apt update -y
-sudo apt upgrade -y
-sudo reboot
-sudo apt install scdaemon vim htop tmux pass pass-extension-otp git-crypt pinentry-tty -y
-git clone https://git.sr.ht/~a14m/.rc ~/.rc
-ln -sf ~/.rc/.bashrc ~/.bashrc
+## TailsOS
-sudo ln -sf /usr/bin/pinentry-tty /usr/local/bin/pinentry-tty
-sudo ln -sf /usr/bin/pinentry-curses /usr/local/bin/pinentry-curses
-ln -sf ~/.rc/.gnupg/gpg.conf ~/.gnupg/gpg.conf
-```
+## GPG restore smart key
-- Configure rc files
```bash
-ln -sf ~/.rc/.editorconfig ~/.editorconfig
-ln -sf ~/.rc/.inputrc ~/.inputrc
-ln -sf ~/.rc/.screenrc ~/.screenrc
-ln -sf ~/.rc/.tmux.conf ~/.tmux.conf
-
-ln -sf ~/.rc/.gitconfig ~/.gitconfig
-ln -sf ~/.rc/.gitconfig.work.inc ~/.gitconfig.work.inc
-ln -sf ~/.rc/.gitignore_global ~/.gitignore_global
-
-mkdir -p ~/.ssh
-
-mkdir -p ~/.config/htop
-ln -sf ~/.rc/.config/htop/htoprc ~/.config/htop/htoprc
-cd ~/.rc
-git remote remove origin
-git remote add origin [email protected]:~a14m/.rc
+$ zbarcam -1 --raw > key.asc
+$ gpg --import key.asc
+$ gpg --edit-key --expert <key_id>
+gpg> trust
+gpg> keytocard
+Really move the primary key? (y/N) y
+Please select where to store the key:
+ (1) Signature key
+ (3) Authentication key
+Your selection? 1
+...
+gpg> key 1
+gpg> keytocard
+Please select where to store the key:
+ (2) Encryption key
+Your selection? 2
+...
+gpg> key 1
+gpg> key 2
+gpg> keytocard
+Please select where to store the key:
+ (3) Authentication key
+Your selection? 3
+...
+
+gpg> quit
+Save changes? (y/N) y
```