doron-cohen / antidot

Cleans up your $HOME from those pesky dotfiles
MIT License
309 stars 18 forks source link

FYI about .gnupg after migration #85

Open sunhasgothishaton opened 3 years ago

sunhasgothishaton commented 3 years ago

This will only happen on some linux distrobutions, not all (so I have read). I don't think anything can be done about it.

After migrating .gnupg, upon reboot it will create a new $HOME/.gnupg directory which has one empty directy in it, though continue to use $XDG_CONFIG_HOME/gnupg when using the gpg command.

I get this with Xubuntu 18.04.5

doron-cohen commented 3 years ago

Interesting. I will add a note about that if more users report this issue. Is this a known bug in gnupg?

sunhasgothishaton commented 3 years ago

I don't know if its a known issue to the gnupg developers.

The only page I read it on is https://superuser.com/questions/874901/what-are-the-step-to-move-all-your-dotfiles-into-xdg-directories It mentions the problem in Fedora 21 which was released December 2014, I don't know what version of gnupg they were using on Fedora 21

I'm using Xubuntu 18.04.5 (which this happens to), I also have Opensuse Tumbleweed installed for testing out and I just checked this and it doesn't happen on Tumbleweed.

I'm upgrading my setup to Ubuntu 20.04 soon, I will check for this when I upgrade. Perhaps its been fixed and a problem with the version I'm using.

sunhasgothishaton commented 3 years ago

After I updated to Xubuntu 20.04, I deleted the empty $HOME/.gnupg and it all worked ok. No new empty $HOME/.gnupg was created.

Xubuntu 18.04 uses gnupg 2.2.4 Xubuntu 20.04 uses gnupg 2.2.19

So it seems it must have been fixed between those versions