Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

PGP Encryption/Signing issue

$
0
0

Hi Experts,

 

We are working on a scenario to sign the message while sending to client but the message created doesn't seem to be like signed message.

 

The message created is as below

-----------------------------------------------------------------------------------------

-----BEGIN PGP MESSAGE-----

Version: BCPG v1.46

 

kA0DAAIBadYy7HCWZSAByzZiJDMzNDliZmUyLTFiZDctMTFlNC04NzZmLTAwMDAw

MDUwNGNkNlPfhdpTaWduIG1lc3NhZ2WJARwEAAECAAYFAlPfhdoACgkQadYy7HCW

ZSAP7ggAlLy4/itUM4TrzzAwtDXB3FX2VgI/8kztoWNqyLKAzytOudu/KDbfqTNx

PMZQXjEsn62MXWSV39vWW2lJ+OKJXnlZ/tEYqGa3Bn1rBIK8wsqfQR02S28XrpAh

csL6vXCAm8trCxIrxy2aZR2ibmioSVowMVkrVTj/hckiRsW5pconIZjiPqlynwJX

ayp7fkqmJ9ZYOqR4/ygqNOuSN5XTudFvRuvAqHSw23CMQzz4u2PZcODSd1WOsmOJ

3SDgt4H1SxPx/zZ1d08V1iPd+kRf0bsBijG1tLeP+DbeAEPSOOVzmtLpnlEXNhLn

arAe1rqDvTmexoXmDvo1xaYZhIzpvA==

=6Ssh

-----END PGP MESSAGE-----

 

-------------------------------------------------------------------------------------------

 

But as far as I know the signed message looks likes the one below.

----------------------------------------------------------------------------------------------------------------------------------------

 

-----BEGIN PGP SIGNED MESSAGE-----

Hash: SHA1

Example of message signing

-----BEGIN PGP SIGNATURE-----

Version: GnuPG v1.4.6 (MingW32)

 

iD8DBQFFxqRFCMEe9B/8oqERAqA2AJ91Tx4RziVzY4eR4Ms4MFsKAMqOoQCgg7y6

e5AJIRuLUIUikjNWQIW63QE=

=aAhr

-----END PGP SIGNATURE-----

 

-----------------------------------------------------------------

 

We have maintained the module parameter as per the help guide to only sign the message. We do not need encryption.

 

pgpapplyCompressionNone
pgpapplyEncryptionfalse
pgpapplySignaturetrue
pgpasciiArmoredtrue
pgpownPrivateKeytestPrivate_key.gpg
pgppartnerPublicKeytestPublic_Key.asc
pgppwdOwnPrivateKey******
pgpsigningAlgo

SHA1

 

Not sure if some configuration is missing or the signed, encrypted and signed & encrypted messages look same if created using PGPEncryptionModule.

 

Appreciate any help on this.

 

Regards,

Pankaj


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>