feat: Add canary creator; Update canary

This commit is contained in:
Myzel394 2024-01-04 14:19:03 +01:00
parent 0d4ad176a4
commit 8c2581a81a
No known key found for this signature in database
GPG Key ID: 79CC92F37B3E1A2B
2 changed files with 81 additions and 6 deletions

View File

@ -1,10 +1,12 @@
-----BEGIN PGP SIGNED MESSAGE----- -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512 Hash: SHA512
# General information about me, Myzel394. # General information about me, Myzel394.
Timestamp: 2023-10-24 18:51 Timestamp: 2024-01-04 14:15
Latest Bitcoin Block: 00000000000000000001598e50200689e5bef61653ae174a708cc1756c18b63e Latest Bitcoin Block: 000000000000000000033f007859636c38029613eb74fbaa880671ee88c675f5
## Contact information ## Contact information
@ -50,10 +52,11 @@ This message has been signed with my key. **Please save it as soon as you see th
The key will expire at 2033-10-21 UTC. **Do not trust this key after this date.** The key will expire at 2033-10-21 UTC. **Do not trust this key after this date.**
Key Fingerprint: `7D05 2F27 347C 2AAC D815 D01D CD13 4742 C1E9 7959` Key Fingerprint: `7D05 2F27 347C 2AAC D815 D01D CD13 4742 C1E9 7959`
-----BEGIN PGP SIGNATURE----- -----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQR9BS8nNHwqrNgV0B3NE0dCwel5WQUCZTf6pwAKCRDNE0dCwel5 iHUEARYKAB0WIQR9BS8nNHwqrNgV0B3NE0dCwel5WQUCZZavhgAKCRDNE0dCwel5
WRy3AP9PZHJk+ZHIIXyiyfw3J7AhwslW+Neh/5TmjobJaxPLuQEAn/zfPpS9uTtx WdqtAP9mfLMyaPuoe8YLxaPlCgYCWmUN4tpbDzbGcaiSloyjZAEAlfZuuzKfLXyi
zOO9A4rbQyEScXOLARgL0LMb5BHU7gc= dm9eUpjhdUGBYSKzFJIYq4XNp4fhPww=
=FtMC =4i4S
-----END PGP SIGNATURE----- -----END PGP SIGNATURE-----

72
create-canary.sh Executable file
View File

@ -0,0 +1,72 @@
#!/bin/bash
LATEST_BLOCK_HASH=$(curl -sSL 'https://mempool.space/api/blocks/tip/hash')
CURRENT_DATE=$(date +'%F %H:%M')
MESSAGE_DYNAMIC="
# General information about me, Myzel394.
Timestamp: $CURRENT_DATE
Latest Bitcoin Block: $LATEST_BLOCK_HASH
"
MESSAGE_STATIC='
## Contact information
* E-Mail: github.7a2op(~at~)simplelogin(~dot~)co
* Matrix: matrix(~dot~)to/#/(~at~)myzel394:matrix.org (sometimes checked)
* Session: 05b8697371802f65887e0ed4d94883d144705e67a32ac6e0498041e8d34778f90c (rarely checked)
## Social Media
* Mastodon: Myzel394(~at~)mastodon.social
* GitHub: github(~dot~)com/Myzel394
* GitLab: gitlab(~dot~)com/Myzel394
* Reddit: www(~dot~)reddit(~dot~)com/user/Myzel394
## Donations
### Crypto
* Bitcoin: `bc1qw054829yj8e2u8glxnfcg3w22dkek577mjt5x6`
* Bitcoin Cash: `qr9s64vfqedvurfef9ykf7szchmt0xyvnga452fc8l`
* Ethereum: `0xbb5E631c03C65334d1d9EfBCD926DC1265CC20D7`
* Tether USD: `0xbb5E631c03C65334d1d9EfBCD926DC1265CC20D7`
* Monero: `83dm5wyuckG4aPbuMREHCEgLNwVn5i7963SKBhECaA7Ueb7DKBTy639R3QfMtb3DsFHMp8u6WGiCFgbdRDBBcz5sLduUtm8`
* Zcash: `t1ZfvNpzfdaW6csT9Kc7iJA7LUU3hmNj2sx`
* Litecoin: `LZayhTosZ9ToRvcbeR1gEDgb76Z7ZA2drN`
* Dash: `XcTkni8CVAXBcuc5VwvHmsYftVK4CPLetU`
* Avalanche: `0xbb5E631c03C65334d1d9EfBCD926DC1265CC20D7`
* XRP: `rNpfDm8UwDTumCebchBadjVW2FEPteFgNg`
* Solana: `2h6CB3hz5Vb2nYS1RQiXZ4aWTzc5frBPR7Sp1b4muFqb`
* ADA: `addr1q8vy2vcp6lacaw8lkc29gufuzajaytc5qc0c2mxlmw5lndxcg5esr4lm36u0lds523cnc9m96gh3gpsls4kdlkaflx6qf6qpvc`
* Dogecoin: `DUA4j7mVoc7Rvezu8YgeRKwxNuMzKeDoxD`
* Tron: `THWVLGhne5wDsGjd1CNenHDKQGzvGzrzLb`
* Polkadot: `1642iaR6AoKyM6qnnMHkfCRfRqRKJ2wC6Cm3UEWEFEz6EtZR`
* Cosmos: `cosmos1vt5z6rfj5sgnkdlddkuu8srw3xupyqxscva9hz`
* Algorand: `QBOQ6VSLMD77QEF33P5J3HKGOM5RZLNO6P5P3FTWCMQM3ORF6QY2W34KUI`
* Tezos: `tz1QUWNYuFqDibGCrwmkdaHSpTx3d6ZdxLMi`
* Litecoin: `LZayhTosZ9ToRvcbeR1gEDgb76Z7ZA2drN`
* Filecoin: `f1j6pm3chzhgadpf6iwmtux33jb5gccj5arkg4dsq`
## GPG Key
This message has been signed with my key. **Please save it as soon as you see this message**.
The key will expire at 2033-10-21 UTC. **Do not trust this key after this date.**
Key Fingerprint: `7D05 2F27 347C 2AAC D815 D01D CD13 4742 C1E9 7959`
'
MESSAGE="$MESSAGE_DYNAMIC$MESSAGE_STATIC"
HASH_STATIC=$(echo "$MESSAGE_STATIC" | sha512sum | cut --fields=1 --delimiter=" ")
echo "The hash of the static value is: $HASH_STATIC - Would you like to continue? [y] "
read continue
if [[ $continue != "y" ]]; then
echo "Not yes; aborting"
exit 1
fi
echo "$MESSAGE" | gpg --clearsign