[p4] scripting with ticket-based authentication?

Ken.Williams at thomson.com Ken.Williams at thomson.com
Thu Oct 6 14:54:48 PDT 2005


 

> -----Original Message-----
> From: perforce-user-bounces at perforce.com 
> [mailto:perforce-user-bounces at perforce.com] On Behalf Of 
> John.Davis at sophos.com
> Sent: Thursday, October 06, 2005 8:21 AM
> To: perforce-user at perforce.com
> Cc: Amanda.Culver at sophos.com
> Subject: [p4] scripting with ticket-based authentication?
> 
> We have several automated scripts, though, and I can't figure 
> out the best way to run these without hitting problems with 
> ticket expiry. Is it possible to write scripts which can 
> login automatically? Obviously I'd rather not have plain text 
> passwords in scripts, or anything obviously insecure.
> How do you guys manage this sort of thing?

I typically put the password in a dedicated file only readable by that
user, and have the script suck it in somehow.  

Don't bother with encryption or anything like that, since you'd still
need to have the unencryption *key* in the script's plain view
somewhere, rendering the encryption useless.





More information about the perforce-user mailing list