Skip to content

Instantly share code, notes, and snippets.

@azcoigreach
azcoigreach / Keybase PGP
Created Sep 19, 2021
Keybase PGP Key Import
View Keybase PGP
```keybase pgp export --query <RSA ID> | gpg --import
keybase pgp export -s | gpg --allow-secret-key-import --import```
```gpg -k```
```gpg --edit-key <RSA ID>
gpg> trust
Please decide how far you trust this user to correctly verify other users' keys
@azcoigreach
azcoigreach / Keybase-Pi0.md
Last active Sep 18, 2021
Installing Keybase on Raspberry/Banana Pi Zero
View Keybase-Pi0.md

Installing Keybase

For Raspberry Pi Zero W & Banana Pi Zero M2

Operating System

  • KALI Linux - Re4son kernel (RPi)
  • Armbian - Bullseye (BPi)
$ uname -rv
4.14.80-Re4son+ #1 Thu Feb 6 15:03:43 CET 2020 # KALI
@azcoigreach
azcoigreach / tasker_keybase_sign.sh
Last active Aug 27, 2019
Receive message from Tasker. Sign with Keybase PGP. Return signature.
View tasker_keybase_sign.sh
#!/usr/bin/expect -f
#am broadcast --user 0 -a net.dinglish.tasker.[task name] -e [variable name] "[value]" > /dev/null
#Send passphrase as argument to keybase for PGP SIGN from pgp_input.txt to pgp_output.txt
#Uses Tasker, Termux and Keybase
set timeout -1
set PGP_PASS [lindex $argv 0];
spawn keybase --standalone pgp sign -c -o pgp_output.txt -i /data/data/com.termux/files/home/storage/shared/pgp_input.txt
expect {
"re:" {
@azcoigreach
azcoigreach / .tmux.conf
Created Jan 4, 2019
holocron tmux conf
View .tmux.conf
# Install tmux plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sidebar'
set -g @plugin 'tmux-plugins/tmux-net-speed'
set -g @plugin 'tmux-plugins/tmux-online-status'
set -g @plugin 'tmux-plugins/tmux-cpu'
set -g @plugin 'tmux-plugins/tmux-prefix-highlight'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
View keybase.md

Keybase proof

I hereby claim:

  • I am azcoigreach on github.
  • I am azcoigreach (https://keybase.io/azcoigreach) on keybase.
  • I have a public key ASCNjEFpVW7u1W7e3fvoT4vaZKV-fQ8oGZi_xRv7Z2mh2Qo

To claim this, I am signing this object: