0

I get a public key via form and store it in a temp file. How can I use gpg2 utility to read key from file and add it to keyring?

Qiu
  • 5,651
  • 10
  • 49
  • 56
mandss
  • 91
  • 6

1 Answers1

0

I got it working but not sure if this is the correct way. gpg2 --import' + ' ' + tempFile). Tempfile have public key.

mandss
  • 91
  • 6