Signing macros and documents with gpg key

Hi,

I’d like to sign macros (LO Basic modules) and LO docments with my gpg key. Is this possibile? If yes, how?

Fine. The question is answered… but where is the answer ?