https://avatars.githubusercontent.com/u/6058558

程式狂想筆記

PGP 筆記

第一次使用 PGP加密筆記,原本看到 GPG 跟 Git 做簽章 想說GPG 跟 PGP 應該沒甚麼關係 但是後來爬文一下,GPG(GunPG)是產生和管理 PGP 金鑰軟體 看來有空順便來研究 GIT 簽章 測線上加密網站 https://github.com/Gaff/pgp.help pgp.help - Modern javascript client-side PGP encryption and decryption tool SmartNinja Online PGP 5 Online PGP Encryption Websites Free to Encrypt Email, Text PGPTool - use this tool to encrypt and decrypt PGP files. OpenPGP compatible 測試 pgp 加解密 簡單來講,就次把private key 和 public key 匯入到 gpg 然後使用 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 gpg --import {private/public key} # 加密: # recipient指定接收者的公鑰ID gpg --recipient {keyid/uid} --output encrypt.

Raspberry Pi 調整 swap 虛擬記憶體

最近用 prometheus 設定兩台樹莓派
Swap 吃到99%~100%
樹莓派預設都是設定100MB
目前曾經 transmission 有因為記憶體不足關係
有中斷過…,因為記憶體關係

在 Raspberry Pi 建置 V2ray

最近想讓樹莓派做 VPN
後來有找到這個
不同VPN使用方法,這個有點像做代理
後來選這個是因為做 https 可以用 traefik 做更新憑證
這樣我就可以省一步