Re: [PHP] openssl_sign() & openssl_verify() discrepancy

2012-05-24 Thread jas
On 05/23/2012 02:00 PM, Matijn Woudt wrote: On Wed, May 23, 2012 at 9:42 PM, Jason Gerfen wrote: On 05/23/2012 01:26 PM, Matijn Woudt wrote: On Wed, May 23, 2012 at 9:12 PM, Jason Gerfen wrote: On 05/23/2012 01:05 PM, Matijn Woudt wrote: On Wed, May 23, 2012 at 8:29 PM, jas wrote:

Re: [PHP] openssl_sign() & openssl_verify() discrepancy

2012-05-23 Thread Matijn Woudt
On Wed, May 23, 2012 at 9:42 PM, Jason Gerfen wrote: > On 05/23/2012 01:26 PM, Matijn Woudt wrote: >> >> On Wed, May 23, 2012 at 9:12 PM, Jason Gerfen >>  wrote: >>> >>> On 05/23/2012 01:05 PM, Matijn Woudt wrote: On Wed, May 23, 2012 at 8:29 PM, jas    wrote: > > I have run into

Re: [PHP] openssl_sign() & openssl_verify() discrepancy

2012-05-23 Thread Jason Gerfen
On 05/23/2012 01:26 PM, Matijn Woudt wrote: On Wed, May 23, 2012 at 9:12 PM, Jason Gerfen wrote: On 05/23/2012 01:05 PM, Matijn Woudt wrote: On Wed, May 23, 2012 at 8:29 PM, jaswrote: I have run into a problem that I am altogether unfamiliar with. A scenario. I retrieve a users private k

Re: [PHP] openssl_sign() & openssl_verify() discrepancy

2012-05-23 Thread Matijn Woudt
On Wed, May 23, 2012 at 9:12 PM, Jason Gerfen wrote: > On 05/23/2012 01:05 PM, Matijn Woudt wrote: >> >> On Wed, May 23, 2012 at 8:29 PM, jas  wrote: >>> >>> I have run into a problem that I am altogether unfamiliar with. >>> >>> A scenario. I retrieve a users private key from a database. >>> >>>

Re: [PHP] openssl_sign() & openssl_verify() discrepancy

2012-05-23 Thread Jason Gerfen
On 05/23/2012 01:05 PM, Matijn Woudt wrote: On Wed, May 23, 2012 at 8:29 PM, jas wrote: I have run into a problem that I am altogether unfamiliar with. A scenario. I retrieve a users private key from a database. I then use the openssl_pkey_get_private() function to load it as a resource objec

Re: [PHP] openssl_sign() & openssl_verify() discrepancy

2012-05-23 Thread Matijn Woudt
On Wed, May 23, 2012 at 8:29 PM, jas wrote: > I have run into a problem that I am altogether unfamiliar with. > > A scenario. I retrieve a users private key from a database. > > I then use the openssl_pkey_get_private() function to load it as a resource > object and proceed to call the openssl_sig