I have a file that I need to sign with a sig key that I got from a site.
I was able to convert the sig file to .txt
and to .asc
but could not use it to sign.
Now it is to my understanding that sig files could be created when decrypting a file as a stand alone key for verifying the integrity of that file, but is there no way to use it (or the converted one or the key in the .txt
file) to sign it with ?
note: when trying to import the sig file I get the error "no valid openpgp data found"
any help or explanation is greatly appreciated, as i have little knowledge in Linux
.
edit: as for what format was the .sig
key in, I don't have an idea and don't know how to know that. I was able to convert it to .txt
using gpg --armor
command and got the following :
-----BEGIN PGP ARMORED FILE-----
Comment: Use "gpg --dearmor" for unpacking
AFKsfPJNZWlOU4y39MRt1ivJOryGT9EpeB9J4C2k9hWdAprq7rERe3BoNq5eb6YV 0PZOMexcPg3YiH82KSEKD5PqFKxb+FGRxSIJZWkILXA9ujd/kTEUgkWcYjyEGDrd jMxsmoVW0QxtP6DpapLMJW0SXmiPfjDBGZCgnpG0N+8==CO0K
-----END PGP ARMORED FILE-----
can't I use the text I got to somehow sign the file ? the main reason I need to do this is to sign a .zip
file that I'll next import into a program which will only extract it if it was correctly signed.
I hope that I'm making sense.