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

SAP PGP-Module: Could not extract private key

$
0
0

I'm trying to use the SAP PGP-Module localejbs/PGPEncryption.

I generated public and private keys in some different ways but it does not work.

 

I also tried to use this How-To:

http://wiki.sdn.sap.com/wiki/display/XI/Generating+ASCII+Armored+PGP+Key+Pairs

 

The audit log always shows this:

06.03.2013 12:48:48.360InformationenPGP Encryption Module: Reading public key at /usr/sap/E96/sst/ftp-test/bin/pubring.pkr
06.03.2013 12:48:48.364InformationenPGP Encryption Module: Reading private key at /usr/sap/E96/sst/ftp-test/bin/secring.skr
06.03.2013 12:48:48.371FehlerMP: exception caught with cause org.bouncycastle.openpgp.PGPException: Exception creating cipher
06.03.2013 12:48:48.371FehlerPGP Encryption Module: Could not extract private key (org.bouncycastle.openpgp.PGPException: Exception creating cipher)
06.03.2013 12:48:48.379FehlerAusnahme aufgetreten beim Adapter-Framework: Exception creating cipher

 

My configuration:

PGPapplyCompressionnone
PGPapplyEncryptiontrue
PGPapplySignaturetrue
PGPasciiArmoredfalse
PGPdynamicFileNametrue
PGPdynamicNamespacetrue
PGPencryptionAlgoAES_128
PGPformatbinary
PGPkeyRootPath/usr/sap/E96/sst/ftp-test/bin/
PGPownPrivateKeysecring.skr
PGPpartnerPublicKeypubring.pkr
PGPpwdOwnPrivateKey****
PGPsigningAlgoRIPEMD160

 

Note: I also used ASCII-keys - no difference.

 

1. Any ideas were the problem could be?

2. Do I have to use a special signing or encryption Algo???

3. I also wonder which "user-id" ist used for encrypting, because there can be more than one key in a key ring. But there is no parameter for specifying the receiver or sender.


Viewing all articles
Browse latest Browse all 7030

Trending Articles



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