How do I sign a string with my PGP private key?? Tearing my hair out can't figure it out!

Alright I'll make this fast. Sorry to bother y'all, but I've run up against a brick wall and I'm not sure how to go any further. I've been using the DNMs for years, but this is the first time I've encountered something like this.

One of the sites I am trying to sign up for asks me to "sign the following string with your PGP private key", and then gives an encrypted (I think) string of numbers/letters/etc. I'm usually pretty savvy with things like this but I've tried every possible way I could think of and did a hell of a lot of googling and got squat, so here I am.

Anyone know how to do this? I use GPG4win/Kleopatra as my PGP program on my (windows) computer. Thanks in advance!


Comments


[1 Points] lol_mate_674:

Stop using windows and life will miraculously become far easier. Using a linux distro, of course for tor I suggest tails.

If using tails its super easy, highlight the string with your mouse in the top right corner will be a clipboard click it and pick "sign clipboard contents" and now when you paste it'll be the signed string.

OF course make sure you have persistance setup with your gpg data so you don't loose it boot to boot.

Generic instructions for gpg:

make a key in a shell type

gpg --gen-key

complete this interactive key generator

gpg -a -s

It'll now wait for you to type the string to be signed

then press CTRL and d to send a end of file

and gpg will output the signature.

example

a@laptop$ gpg -as

this is the string <here I pressed control and d as in CTRL+D>

-----BEGIN PGP MESSAGE----- Version: GnuPG v1

owEBSQG2/pANAwACAWGzdSrDWpC5AcsZYgBWX3LXdGhpcyBpcyB0aGUgc3RyaW5n CokBHAQAAQIABgUCVl9y1wAKCRBhs3Uqw1qQuUQhB/9dbZkLSYDSvQYPlX5RxUlz EZIDwCaHOyZ/PSa/L1gEAue3L9lKK6c6xiGdmqkHxb1htbKgzYeB9nj4Y6ZpEcWr geH1GkZlOubQdv0M0JGkYJkNzQ1upS0wMWlQfOYNYNXgDBvRS77OIsEuofHW+zL5 ASRfONGPanBkVmhy3b99g84Fx/vrHwbQsSLXrhxoTocBkGCNtyx10LQ/2PO0EKwN xidysvubN+I/ijlXpwWt42sDO18ImHra+Zn6Ak/q0KPTLrGIsdkGa7LlxCiCbQN9 SnvE1zjEJc7hj5CzjVypV+MbiObpl5b+2MOHNQtTVYivPNk05uppN/PVQz7mgRMw =AGcZ -----END PGP MESSAGE-----


[1 Points] DinoNeedsMe:

  1. Take the string of characters you were given and copy them to your clipboard.

  2. Right click Kleopatra in your task bar and choose "Clipboard", followed by "OpenPGP-Sign..."

  3. Select the certificate that you own (ie your public key), click "Next"

  4. Enter the password to your cert

  5. Done. Your signed message is now in your clipboard

  6. Get Tails on a live USB and stop using Windows for DNM activities (unnecessary but very much recommended)


[1 Points] aboutthednm:

Using kleopatra copy the text you wish to sign, select the clipboard function, select sign message, select the key, and done. Your signed message is now in the clipboard ready to be pasted.


[1 Points] BlackLabelBF:

Adding to this problem, what if I have created my Key in GPG, does this need to be exported and saved onto the USB which boots Tails? Setup a few accounts using a VPN and Tor whilst i wasnt too worried about security but decided to use tails and run VPN off router and now i'm stuck!