[ic] Order route expandable PGP Key
Mike Heins
interchange-users@icdevgroup.org
Thu Aug 22 17:54:03 2002
Quoting Nick Hall (NickHall@flashmail.com):
> When orders are placed, I need the credit card number encrypted
> with a key looked up in a database. I've set the pgp_key in the
> order route to try both the scratch and data tags, along with
> setting expandable to 1 in the master route. The tmp/pgp.xxxx.err
> pgp error file always reports that it can't find the key
> "[scratch encryptPGPKey]" or whatever I want it to encrypt
> to -- Interchange isn't interpreting the ITL. Note that if I
> replace the ITL with one of the actual keys, the credit card
> encryption happens properly. I looked through Order.pm and it
> looked like the pgp path can't have ITL in it but I didn't see
> any reason why the pgp key can't. Has anyone done dynamic pgp/gpg
> keys and has some clues? I've tried with IC 4.8.5 and 4.8.6.
> Thanks,
>
This is done with RouteDatabase.
RouteDatabase route
Route main dynamic_routes 1
Then in the route table, you would have:
code pgp_key email
main 0x5433445 orders@somevendor.net
--
Perusion -- Expert Interchange Consulting http://perusion.com
phone +1.513.523.7621 <mike@perusion.com>
Being against torture ought to be sort of a bipartisan thing.
-- Karl Lehenbauer