[PHP] PHP with RSA/Java

2001-08-24 Thread Martin Gunther

Hi all,
I need to use a public/private key encryption system for dredit card
details on a site I am developing.  We are not taking Credit Card payments
with an online marchanmt such as NetBanx Sec Pay, etc, etc, but we need to
send the CC details to the Shop Management for putting through a PDQ
machine.  How can I use a Public Private key system to do this from PHP.  I
know Java can support RSA (although never investigated it), and that PHP can
use standard Java classes (is this true?).

Please any help would be great

Martin Gunther



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PHP and RSA/Java (Repost with correct e-mail!)

2001-08-24 Thread Martin Gunther

Hi all,
I need to use a public/private key encryption system for dredit card
details on a site I am developing.  We are not taking Credit Card payments
with an online marchanmt such as NetBanx Sec Pay, etc, etc, but we need to
send the CC details to the Shop Management for putting through a PDQ
machine.  How can I use a Public Private key system to do this from PHP.  I
know Java can support RSA (although never investigated it), and that PHP can
use standard Java classes (is this true?).

Please any help would be great

Martin Gunther




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] PHP and RSA/Java (Repost with correct e-mail!)

2001-08-24 Thread Jon Farmer

PGP would be an ideal solution for this. The webserver would have the public
key and the people operating the PDQ machine the private key. A few things
to remember are.

1. Call PGP using exec()
2. Make sure you read the PGP docs to see how to use a particular keyring.
3. Make sure the keyrings and randseed files are readable by the apache
user.
4. Have fun

I have successfully got this working and if you need any help let me know

Regards

jon

--
Jon Farmer  տլ
Systems Programmer, Entanet www.enta.net
Tel 01952 428969 Mob 07968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]

-Original Message-
From: Martin Gunther [mailto:[EMAIL PROTECTED]]
Sent: 24 August 2001 15:41
To: [EMAIL PROTECTED]
Subject: [PHP] PHP and RSA/Java (Repost with correct e-mail!)


Hi all,
I need to use a public/private key encryption system for dredit card
details on a site I am developing.  We are not taking Credit Card payments
with an online marchanmt such as NetBanx Sec Pay, etc, etc, but we need to
send the CC details to the Shop Management for putting through a PDQ
machine.  How can I use a Public Private key system to do this from PHP.  I
know Java can support RSA (although never investigated it), and that PHP can
use standard Java classes (is this true?).

Please any help would be great

Martin Gunther




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] PHP and RSA/Java (Repost with correct e-mail!)

2001-08-24 Thread Gregor Maier

This would work but I don't think that this was the idea.

You could send encrypted email from to server to another place with this method
but you can't encrypt the date transmitted with an html form. (since php runs
on the server and not on the client machine)

To secure the communication between the web-server and the client's browser you
can't use php. You'll either need SSL for your server or you use a java to
encrypte the data on the client side and then send it to the server.


On 24-Aug-2001 Jon Farmer wrote:
 PGP would be an ideal solution for this. The webserver would have the public
 key and the people operating the PDQ machine the private key. A few things
 to remember are.
 
 1. Call PGP using exec()
 2. Make sure you read the PGP docs to see how to use a particular keyring.
 3. Make sure the keyrings and randseed files are readable by the apache
 user.
 4. Have fun
 
 I have successfully got this working and if you need any help let me know
 
 Regards
 
 jon
 
 
 Hi all,
 I need to use a public/private key encryption system for dredit card
 details on a site I am developing.  We are not taking Credit Card payments
 with an online marchanmt such as NetBanx Sec Pay, etc, etc, but we need to
 send the CC details to the Shop Management for putting through a PDQ
 machine.  How can I use a Public Private key system to do this from PHP.  I
 know Java can support RSA (although never investigated it), and that PHP can
 use standard Java classes (is this true?).
 
 Please any help would be great
 
 Martin Gunther
 
 
 
 
 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]
 

--
E-Mail: Gregor Maier [EMAIL PROTECTED]
Date: 24-Aug-2001
Time: 17:37:41
--

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] PHP and RSA/Java (Repost with correct e-mail!)

2001-08-24 Thread Jon Farmer

I dont think you read the original post correctly. Obviously you would use
SSL to get the info form the browser to server. What the poster was asking
was how does he securely get the information from the server to the people
using the PDQ machine.

Regards


--
Jon Farmer  O?O?
Systems Programmer, Entanet www.enta.net
Tel +44 (0)1952 428969 Mob +44 (0)7968 524175
PGP Key available, send blank email to [EMAIL PROTECTED]

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gregor Maier
Sent: 24 August 2001 16:45
To: [EMAIL PROTECTED]
Subject: RE: [PHP] PHP and RSA/Java (Repost with correct e-mail!)


This would work but I don't think that this was the idea.

You could send encrypted email from to server to another place with this
method
but you can't encrypt the date transmitted with an html form. (since php
runs
on the server and not on the client machine)

To secure the communication between the web-server and the client's browser
you
can't use php. You'll either need SSL for your server or you use a java to
encrypte the data on the client side and then send it to the server.


On 24-Aug-2001 Jon Farmer wrote:
 PGP would be an ideal solution for this. The webserver would have the
public
 key and the people operating the PDQ machine the private key. A few things
 to remember are.

 1. Call PGP using exec()
 2. Make sure you read the PGP docs to see how to use a particular keyring.
 3. Make sure the keyrings and randseed files are readable by the apache
 user.
 4. Have fun

 I have successfully got this working and if you need any help let me know

 Regards

 jon


 Hi all,
 I need to use a public/private key encryption system for dredit card
 details on a site I am developing.  We are not taking Credit Card payments
 with an online marchanmt such as NetBanx Sec Pay, etc, etc, but we need to
 send the CC details to the Shop Management for putting through a PDQ
 machine.  How can I use a Public Private key system to do this from PHP.
I
 know Java can support RSA (although never investigated it), and that PHP
can
 use standard Java classes (is this true?).

 Please any help would be great

 Martin Gunther




 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
E-Mail: Gregor Maier [EMAIL PROTECTED]
Date: 24-Aug-2001
Time: 17:37:41
--

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]