kGPG "migration" between OS installs

What I’ve been doing for some time is to simply copy the “.gnupg” directory between installations of OpenSuSE, then when I first start kgpg, I tell it to use that directory - and this moves my keys to the new installation of OpenSuSE… Is this dangerous?

Thanks In Advance,
PattiMichelle

That is perfectly fine.
Also, you should back it up separately. Don’t dump with normal backup. This is because your private key is very important (if you are using encryption seriously) and should be kept confidential.