TheLocehiliosan / yadm

Yet Another Dotfiles Manager
https://yadm.io/
GNU General Public License v3.0
4.94k stars 178 forks source link

hook for decrypt #381

Closed maxisam closed 2 years ago

maxisam commented 2 years ago

Describe the solution you'd like

It would be nice to have a hook after decrypt, so it can import gpg key right away.

Thanks for the great project

TheLocehiliosan commented 2 years ago

@maxisam - I just double-checked, and pre_encrypt, post_encrypt, pre_decrypt, post_decrypt should work today. Can you explain the trouble you're having with them? Have you made sure the hooks are in the right directory and are executable?

maxisam commented 2 years ago

sorry, i think somehow i missed there is a post_decrypt. thanks for answering.