updated calcurse hooks and password storage/management
parent
bfa298f1c6
commit
6c685db52b
@ -0,0 +1,3 @@
|
|||||||
|
- link:
|
||||||
|
~/.gnupg: passwords/gnupg
|
||||||
|
~/.password-store: passwords/password-store
|
@ -0,0 +1,2 @@
|
|||||||
|
687085
|
||||||
|
Desktop
|
@ -0,0 +1,2 @@
|
|||||||
|
463945
|
||||||
|
Desktop
|
@ -0,0 +1 @@
|
|||||||
|
v:1:
|
@ -0,0 +1,2 @@
|
|||||||
|
max-cache-ttl 84600
|
||||||
|
default-cache-ttl 84600
|
@ -0,0 +1,37 @@
|
|||||||
|
This is a revocation certificate for the OpenPGP key:
|
||||||
|
|
||||||
|
pub rsa4096 2023-02-22 [S]
|
||||||
|
0BA0EDD5955DEF50547255F19AC1E4C2CC9412F0
|
||||||
|
uid spinach <spinach@spin.ach>
|
||||||
|
|
||||||
|
A revocation certificate is a kind of "kill switch" to publicly
|
||||||
|
declare that a key shall not anymore be used. It is not possible
|
||||||
|
to retract such a revocation certificate once it has been published.
|
||||||
|
|
||||||
|
Use it to revoke this key in case of a compromise or loss of
|
||||||
|
the secret key. However, if the secret key is still accessible,
|
||||||
|
it is better to generate a new revocation certificate and give
|
||||||
|
a reason for the revocation. For details see the description of
|
||||||
|
of the gpg command "--generate-revocation" in the GnuPG manual.
|
||||||
|
|
||||||
|
To avoid an accidental use of this file, a colon has been inserted
|
||||||
|
before the 5 dashes below. Remove this colon with a text editor
|
||||||
|
before importing and publishing this revocation certificate.
|
||||||
|
|
||||||
|
:-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
Comment: This is a revocation certificate
|
||||||
|
|
||||||
|
iQI2BCABCAAgFiEEC6Dt1ZVd71BUclXxmsHkwsyUEvAFAmP2qgwCHQAACgkQmsHk
|
||||||
|
wsyUEvDt4w//Tk5Y6NS0291OLn1atyPqD9QeQN4GorYhXxygBPRqGLCVtd6fYNPi
|
||||||
|
/k2bkiOJy3Wlgos+iLDJ/qIDGm+F1Yf+5ohHv5b8EN2o+kAb69czMhLYNM8OrN5R
|
||||||
|
L2mbwHBfZ/D9u5Bb20DQXND9fdeGyg+N1KXkXqyuA+xXlbeWLT9f/tWKZ3iHwoHn
|
||||||
|
eKTjkrQIuraDxx7y0GdGnZDyN0Z92xTegdiDhDMf1LbzHDyJvQ2O8uv9A2IoZjlf
|
||||||
|
FRdxHoB+oFZnSg0DUrEqgwnrKmwo+M6QzI8dAE/S5RIkpiQq/XawMQp7U0jVQm8j
|
||||||
|
R1ppxtugrv5Hrs71ELxmVM9OAMEI+cLgjB4eUtDjvYzT40fXBlOJB8LBAIBzhcmU
|
||||||
|
4/pwc9i/gS7f06hhihI1xMzHuv8VbZbLXW1raYOAwmYisDMNO+EcXTYN3yl/gVZE
|
||||||
|
vOFs1PcYmalQc8WbYCVpwjGKzEp5GYRm2ll4zoeKcagqg4tbpcb0UBf4NPA8b9oX
|
||||||
|
v3QKMBKv470brNMPVmiUdtMgXzkjP7LE/ksUH/khYBHwAJGlpS3Cl4n5oohzcKI2
|
||||||
|
QvWRfHi7UoNBbD2RLMmF8enp+XZoC1uiPFd4S36JBomMz+XdhPdBHze5951RF51w
|
||||||
|
PYmFSQ8OoeaSri46jOEPMu3cggDBxGdnwNN+tYfFt6Sn2TquhT3+NO4=
|
||||||
|
=MD6+
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
@ -0,0 +1,57 @@
|
|||||||
|
Created: 20230222T234843
|
||||||
|
Key: (protected-private-key (rsa (n #00CF34CB3D28FA931C9B228B07AEB99DBA
|
||||||
|
23676E9ACB5220F2810E3B8B008D1AAC46A0CEA4935CA54B7D8ACAAF9769998D87B374
|
||||||
|
971710FAB210DA72C81F954E5C85D370BF66970E7085CA753EFA5AB8F039C7FF95956B
|
||||||
|
76F3781C6E5AA36FB3B0339305C4769ACD7C72F792E4B938E0EAD7E38E5E012BDE52FB
|
||||||
|
703808B0198D3C9FBA4F21AEC61A283E09677052AEEA6EC3ACF8738AFCD3558123C173
|
||||||
|
3B3BBF8D59BAE4AB58CF8EB7BAFC74DFD587A0C9FDA384C99AB4B695AF6EBCEDBFD875
|
||||||
|
906C7DA7FE2AE1A8ADD9AC15D195351B91F455210A4E143A985C5EAA74B272F6C4948C
|
||||||
|
AA12765A212A500EE05F69328275CF3C41FBFF77B4CA4EC1FBF6B7D91EBD2CD1AA6AFC
|
||||||
|
702DE0D81EDB65AAE3210E4DE3CF0176A015271F6CE78DBEF80719CF7266BC84C749E6
|
||||||
|
4F4AA726674DDEEE06157B514ADE01766071A3CF1D2FCD2E47A1F38197D1B869F30BD2
|
||||||
|
0EBB1A9E60C100DA033076661CC1DD773364FB32DA9093A2797AA576EC017B85008323
|
||||||
|
669A6B5EBA065DBC9AC1EC9FD51F99EC944EF397EEA599EBA385AEE04132F02818017C
|
||||||
|
B1B05A13498FD7DBAA290B02DEB8E27F23BD5010A2AC146EA72D269E3E05A5AF049578
|
||||||
|
260AB1066719C85CDA6F4557493A6B98DBC25692B8FB5156459CA132A8AE75607CEFBB
|
||||||
|
F6FFBC6FD53ECBFE2BC41E6ECE7EEB3C47A1B3DE34E8ED0AFA2E7DA6C1370382CF250E
|
||||||
|
6A522C9DB71D#)(e #010001#)(protected openpgp-s2k3-ocb-aes ((sha1
|
||||||
|
#B1A2253336E7E128# "113742848")#6E76D0FCCCEF82D2D075C341#)#FC581209A7
|
||||||
|
252532CE330643B223ED45AD2E0DBC73F8393E810E362D74867A27070B202848ED1B21
|
||||||
|
3A5836353721E8AF97C303D6299A05310E7D0F0BBBD4C1065EA9EF24F83256F094603D
|
||||||
|
5886499507E67C8DE281E72B7F1C755264FF05A8A3563E163FC2A062FE687764D969D1
|
||||||
|
985DE02E4D62F880E445346E44AFAF32E1CE1EC95DC6C13AB93913FF01C811EC2DDF2F
|
||||||
|
0287FA0E5485C275AA8A99343BE07355F39CAC16FC9CC6E9FC897473051845837BB693
|
||||||
|
2D75324440F77783D61A5B064FD8ACAA80DDF786D8D6DA360428B51741610AC5E8FA05
|
||||||
|
D2802BD863861D2C32CCF418772D6C8AF70B1E65C00AE8F150FD67AEECE4FAC1D5259E
|
||||||
|
6DAC1985ABEBA0708AA05FEB4B1C00BA9116465E79F6DA8A74148470A0E988B9632F49
|
||||||
|
5D63E9C7DEB3D96F1BB093DCFFE86F61A57F8EC241A3A5643248A6E706014AD0A2F92D
|
||||||
|
41280633C82AFB5B03D2D9485B61DD54F989FD13CEE8D6353E98B6329E568385A717D9
|
||||||
|
13615D49FD1FD74CC2D0F4B7BD002746853D9CA3029F95C5DFB50F279BEC9B165B9A5A
|
||||||
|
196F69413FCFDF12F856886A2D5388D9B5B9FA19EEEBA6B82F447AB88DF6E8F82E5BCC
|
||||||
|
791DDBD6BB990EF411CE4EA1AD218EF0DBEA5B8C2E3581B1036EAF974EAD6DFDF5CDC9
|
||||||
|
1E8ADB6F3AF16DDAD020E1B54571277C2872092C217A72D3E1A67E3A2FFE098BE66133
|
||||||
|
CA37055B7D16AC1ED435C5F2F88AE957828A0E4FE071C6FBE1CCF9D03633221BC8E7CC
|
||||||
|
722CB0CDD4980B26EF06CD14945A8097E6B8D5A071062F3C53C443A8923BB1D242B98D
|
||||||
|
C397F3B9CA904B288EA4BCB70405AD644BE1CFBE77D7CD31062AAD8420933CAC2F0156
|
||||||
|
A9925771A1961D5BADCDC6176FCDBC6B7C6045C9CA795EC0CD8E53F72DEE57F2F5033A
|
||||||
|
C503AF988E10AC5ED320AC5819B17494FA6EF7E959EA140D49E3063D3518C494515252
|
||||||
|
EE381AB600A61BCF67AA7979BEFC4B4F1BA6458A3076D0EDE6E17898F52FC3CFA60340
|
||||||
|
BFF7CB9D5D5472F7CF0198D2A3C52D1823EB23C1744417A03A18AEB613314162FF237E
|
||||||
|
D4A708AF76AAE706BECBFA9B1675AFCDD599820CCC328F259B030BDDCF24847C551C6A
|
||||||
|
2C9A24F8C00790D6063EAD562E3C7775343C9E7E347F91BF489A040B827B69F20E9E15
|
||||||
|
9569BAB58703CDB4DBD51ED12AD49BC15DF9540DB3152AAA762C6CF529BD496CE0030B
|
||||||
|
B683194CE7FE5EB6250BA11040065CED4C98A51B247D796476997AE345F082E52D6A41
|
||||||
|
ADF6E9704BE22523E7640E7CC9EE0F17C06AEC622B71686B02462BDFE244CBABCE0E77
|
||||||
|
4E71AA55D7447275A9FF045F79A401E79B716514838A21047C81DA8966D8DF9251FC7F
|
||||||
|
BD90CA48A87D231A04CFB15FF9C8B90C5866F0052B8808E8D84BDC8B4391325C8A74D1
|
||||||
|
B56DA3F9304C3B0415BC815F6D3BD348EB1AF1B3BC88FB2EFB010C5CF2089C232F114E
|
||||||
|
91A3319A5F9004548238DD3656AA99A1290FD8856A36A3EF37016BE085B8371539FD96
|
||||||
|
7BCC324497DBCF2BF69725AF38EF9EE33BCA28DCE4926A02A2F4CE41DC2A76E9CC6B7E
|
||||||
|
1C49E92821599975B04B4E0464176D4ADC82F334AA697F57306049CD044833AEBCF2A5
|
||||||
|
3B44D440E4D428153FC219E7DAE619E59AA84C1D3924B903F4D1AB1BECEA4D966B22F1
|
||||||
|
378574AC5E239EC47675E63B5B8D75DDB418DB82D830A867F2C6E2FCEAA63ED7DEDEDB
|
||||||
|
90E9D7AE7C13450DEBF34DBAD5EE854FF1C46FABC95DBDD1C74937132CF74CACEEBB81
|
||||||
|
D8F3B9CED2630333F87E151430A33421C473AFC63117DA35F82CCA66D6296988BB561B
|
||||||
|
6D967D234835239794034F73AFCC7A5D4B3EA81B8332FD72BF826512FCC6D4317575D2
|
||||||
|
26E137F1BAF7648E60E10EDA607F3E1068FE80F9476D5040125F826C0C318782194336
|
||||||
|
8903A22B#)(protected-at "20230222T234930")))
|
@ -0,0 +1,57 @@
|
|||||||
|
Created: 20230222T234843
|
||||||
|
Key: (protected-private-key (rsa (n #00AFC83282AFC426C0C64D0B8BAF59420B
|
||||||
|
B052E6DC77A873B9B07921995F2026DE1AC9726399EE519E2BCD85AEE737863283CBFB
|
||||||
|
9C11136E12789B2E58BBB55FD7830AA6F5746E1975AAD8FB048CBD8F30E79A3D76EE20
|
||||||
|
496F530C254CCEC5485AEC76EA89AC77E2845F3270B10BCDA4FA3AF4A93B8B4B0263B4
|
||||||
|
70D1584B2D0BD9C60DEEE009124630E9C30F80414F7C1A6D97651997979DAA8F153334
|
||||||
|
DBDD2D1B4B0A3A5B6D88606C64301E841DED09919590E728F96715E900C34EEB05D95C
|
||||||
|
A16253D53DCB61877ADB5F5D1EAC9C0B3D657107F5259365F4AF5E00426C8E54182F41
|
||||||
|
D8345452E399881EDE0BF3B6BEB06B0A0662A624A1E0F62774C7D019D5FA20D6AE7A8C
|
||||||
|
73F5A205885775ECCA3E57CE708F09F1B649DD35634B93CCCA57B3411A199B47D505D3
|
||||||
|
97B42B5486FE7EDFBAED026ADFE84C0D6031B771F5E4560CBFA7FD575FEBBFF5EDFAB7
|
||||||
|
7EB1FE9956BB580535FAF71AB5D0DEEE6DC8748B03A50C52C2A92D40A2FEA8AD3B933D
|
||||||
|
FB87B26B8F25AB5ED6773EE890937C2A02051A9A9D0DF66124D863F1C7A60747A9A6C1
|
||||||
|
6274C34A5F0ED5403CAA0C49D161214821D8FF06AC28D11621D487E8766A10FE4672DE
|
||||||
|
9DA3B014D0DD89AEE71A39463A3D620EF62261359C90295B3CC9E7C15D0F7D3C9F0A92
|
||||||
|
92D6B2D8FCA3E71380EDD411C70379318FD72ED6086C4A028D8F75F28B56EF99746442
|
||||||
|
E33E29C67C77#)(e #010001#)(protected openpgp-s2k3-ocb-aes ((sha1
|
||||||
|
#C9630D194EA0C55C# "113742848")#BE85B085F220C9D45D1F321E#)#13F6B5B0B7
|
||||||
|
64A41AC32DEDC46452B1C41A9841879575C4531F721DFCF0E74D7727A985758C044732
|
||||||
|
CA2531DB7E73993521312D38DBFA2B0143E3599B325A5EA6876FA442B1AF3AD9B100FE
|
||||||
|
64CCE1BB591AD03618D3D30F53A35690A7B3FC54F791A6B5971AD7182AC31118D691CD
|
||||||
|
4BE87A04B0CD49773384FCA5E24E54477FCD149DD72F5370749CC15868F46C03C21D82
|
||||||
|
17017281F15F06CFD49E05DA1CC91056A673874200003CAA9ED840FA5F8F2542D76230
|
||||||
|
D19B40FDBDF520880557D3690EA07E9116F301E7DE0EFFBB0BF52974F2E9056B87C3FF
|
||||||
|
94C9DA2AFDB22C59E81B380F0D056F298F64470680FD8F35123AA021A09BFD20AA5AB9
|
||||||
|
038AED11127181940045ADF0EBBFDE635ABFFAB0CDCE597CF7FFAD0BC6A1FF855D9EA1
|
||||||
|
5B55508AFC7C23EFB5F05C8BE516DA73EF129DB310106B930DF85EAD570BFFD0892632
|
||||||
|
C1CC5D1B9717CE38A1D49F44B16D931ADF785BE9595F6966EADC20B1B37053A498555C
|
||||||
|
70467A1F6E48870AD50A29603689E1A0D4C4D578A859791704E19B44B6773B796A0050
|
||||||
|
A229C8323EBEB1BD0A7144826BE1146D086D1E1FB196EC0B5FEE8CD351234287FC978E
|
||||||
|
2AEEAE8DE0A184E24A18C1FD03EB331896AF5A160C9A0FE984AC3339B1A7992EF63833
|
||||||
|
E2DFB634A038BF225D9206FA565739F408B86E3D0C429D5940D456E092BB0A2C621774
|
||||||
|
A7A0C6F0DB942A974C3CB5FD0FD6612C6FA7E2CBA96230B7FC48E4C692FD03EEC310E9
|
||||||
|
A072CA611D3F9A6FA2CD43CF3B5C969A7769094E615D0871640560CD639FC75D5B6B72
|
||||||
|
6ECE3BDDF4D28399D292816A7EA4B0804B3C62147B064D37B09B4BD32B45EF08256C03
|
||||||
|
41C82DD41839D0305BF526D8383496565DC46BEE51319D4BD15EF93DADB138656AFCF6
|
||||||
|
209E51C0414BE13A4D1E7D31BCB5F0200839C859D0F13F44515973FD362040F1139A13
|
||||||
|
AA8F8FFB0E507B0682E52AD5CA113F717B6E2C343682C398EE4D1513B67B4A1CEB4C2F
|
||||||
|
F4AB930ABD4EE5F291754E98DB059E7F2A42DFA574B6C26D2C4B690C342E5B6EB38802
|
||||||
|
6DFD94103E333999C4A5983647D984F2C7B2F6FFFC67D9F208FDFCE34820A30B5977F6
|
||||||
|
682FADD74D42D84ACF97F7EAB711D12FCEB12744CEB6FA3AEF5EFA3D2902FB9F26B838
|
||||||
|
EA25146962D0A7412D29088D5FB7C5AF8D2BC1C76294B5BCFB202D7C1F6A9854037A22
|
||||||
|
39E25A5B2B12F7CB739995A76F706E71F217342A93790E2C4AD1169201690DBE532C41
|
||||||
|
A3811D82AEFA1099ECBB247DED2E7551DC4F21381C3BF0AA5E06C88B865FF6632140C0
|
||||||
|
9B66AE6BD492470596CFD2DFDB5FD1391B8E5A7F3DDCB8693700C94CE57A226C8C49F4
|
||||||
|
8F4F8EBAFF9CE591C87B39C151EFBDBC3B1063262239EE6FE9B107A864AC57F76D7F06
|
||||||
|
7DD09CAC57F91BBDA645D3B99B481AF7FEEA55C6BF2283A866EA841CC6726638CDDC8D
|
||||||
|
339273D29B784236FA966FA4CAA91DDF6250B281F54A6526B237DE9050AB88DB4D0AE5
|
||||||
|
D35F9AE7BA8FA488EE62B3AAD102D2E53A9ECFBC3BE3CC23D0293CD42A6B776CBACC90
|
||||||
|
59C66D3649D6292981EAB3BAF865806C71F69F01E2432833933E594610CF33A47913A4
|
||||||
|
EE45C7102D1CBD41AA58E6736C034C8215C6279DA95B186CC6F52EE08CD55C1231F006
|
||||||
|
CECC687E006770C8A2FBB36F842EDDD827D230EE1F39C29C99101C88A8EFB017E969F3
|
||||||
|
DF6CD3636000A85A352F98F0F7DFD90A18094A22DE6326A26CC8B5C1577F27007C589C
|
||||||
|
8BA983D03C365A497A6F3FE1272AAB160A0B2FF2C087669166A6C8739933C738108872
|
||||||
|
75AF738FA68D2113DAB2F43E56C767A6EC1352CF09415D02EAA41860CA9D8E84B60EE4
|
||||||
|
B0D28559EF5FF8E7D9D73C56DEC93F61C9431CE5AAD7D4314300B6BAB3478C9766178C
|
||||||
|
18A01F#)(protected-at "20230222T234932")))
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
spinach@spin.ach
|
Binary file not shown.
@ -0,0 +1,27 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# This is an example hook. It does two things whenever you save the data files:
|
||||||
|
#
|
||||||
|
# 1. Make a commit if the calcurse directories contain a Git repository.
|
||||||
|
# 2. Synchronize with a CalDAV server if calcurse-caldav is configured.
|
||||||
|
#
|
||||||
|
# In order to install this hook, copy this file to
|
||||||
|
# $XDG_CONFIG_HOME/calcurse/hooks/ (~/.config/calcurse/hooks/) or
|
||||||
|
# ~/.calcurse/hooks/ if using ~/.calcurse.
|
||||||
|
|
||||||
|
data_dir="$HOME/.local/share/calcurse"
|
||||||
|
config_dir="$HOME/.config/calcurse"
|
||||||
|
|
||||||
|
# Do not do anything when synchronizing with a CalDAV server.
|
||||||
|
[ -f "$data_dir/caldav/lock" ] && exit
|
||||||
|
|
||||||
|
# Optionally run the CalDAV synchronization script in the background.
|
||||||
|
cd "$data_dir" || exit
|
||||||
|
if [ -d caldav ] && command -v calcurse-caldav >/dev/null; then
|
||||||
|
(
|
||||||
|
date="$(date +'%b %d %H:%M:%S')"
|
||||||
|
echo "$date Running calcurse-caldav from the post-save hook..."
|
||||||
|
CALCURSE_CALDAV_PASSWORD=$(pass show cal.keegandeppe.com/kdeppe) calcurse-caldav
|
||||||
|
echo
|
||||||
|
) >>caldav/log 2>&1 &
|
||||||
|
fi
|
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# This is an example hook. It synchronizes calcurse with a CalDAV server before
|
||||||
|
# loading the data files.
|
||||||
|
#
|
||||||
|
# In order to install this hook, copy this file to
|
||||||
|
|
||||||
|
data_dir="$HOME/.local/share/calcurse"
|
||||||
|
|
||||||
|
cd "$data_dir" || exit
|
||||||
|
|
||||||
|
# Do not do anything when synchronizing with a CalDAV server.
|
||||||
|
[ -f caldav/lock ] && exit
|
||||||
|
|
||||||
|
# Run the CalDAV synchronization script in the background.
|
||||||
|
if [ -d caldav ] && command -v calcurse-caldav >/dev/null; then
|
||||||
|
(
|
||||||
|
date="$(date +'%b %d %H:%M:%S')"
|
||||||
|
echo "$date Running calcurse-caldav from the pre-load hook..."
|
||||||
|
CALCURSE_CALDAV_PASSWORD=$(pass show cal.keegandeppe.com/kdeppe) calcurse-caldav
|
||||||
|
echo
|
||||||
|
) >>caldav/log 2>&1 &
|
||||||
|
fi
|
Loading…
Reference in New Issue