henrinormak / Heimdall

Heimdall is a wrapper around the Security framework for simple encryption/decryption operations.
MIT License
402 stars 68 forks source link

Error -9809 when decrtyp data from another device #38

Closed thangk48cc closed 8 years ago

thangk48cc commented 8 years ago

i created a Heimall and got X509 key. i share it for another device. another device get it and create another Heimall with X509 key. next from another device encrypt 1 message and send it to first device. on this device decrypt and get err

errSSLCrypto -9809 An underlying cryptographic error was encountered.

why? can you help me?

henrinormak commented 8 years ago

Any chance of getting a minimal implementation that reproduces this? A public key might also help (i.e the data that you get from one device to use with the other). Otherwise it is really difficult to diagnose.

thangk48cc commented 8 years ago

thanks you

i have resolved it. error when create key. encrypt and decrypt.

closed issue