Re: [Cosign-discuss] Emulate browser w/ a command line utility, access COSIGN protected resource?

2011-11-30 Thread Mark Montague
On November 30, 2011 11:13 , "J.Lance Wilkinson" wrote: > I'm beginning to suspect that my problem now is a scripting issue > -- because when I MANUALLY execute the commands from my script, the > same commands I originally cited in my post, and they coincide with > your 4 steps pre

Re: [Cosign-discuss] Emulate browser w/ a command line utility, access COSIGN protected resource?

2011-11-30 Thread J.Lance Wilkinson
Mark Montague wrote: > On November 29, 2011 16:28 , "J.Lance Wilkinson" wrote: >> I guess I'm confused that something which SEEMS as commonly needed as >> this kind >> of feature would be, that there wouldn't be a cut/paste cookbook to >> implement >> it. Every example in these discussions (and

Re: [Cosign-discuss] Emulate browser w/ a command line utility, access COSIGN protected resource?

2011-11-30 Thread Mark Montague
On November 29, 2011 16:28 , "J.Lance Wilkinson" wrote: > I guess I'm confused that something which SEEMS as commonly needed as this > kind > of feature would be, that there wouldn't be a cut/paste cookbook to implement > it. Every example in these discussions (and I see there are a few) differ

Re: [Cosign-discuss] Emulate browser w/ a command line utility, access COSIGN protected resource?

2011-11-29 Thread J.Lance Wilkinson
OK, trying this again. Still isn't working right. Want to POST to NAGIOS GUI which is COSIGN PROTECTED. Current situation (in pseudo shell code for security, etc.): #!/usr/bin/sh #... lots of preparation nagios="the.protected.nagios.server" cosignHost="https://the.universitys.cosign.server/";

Re: [Cosign-discuss] Emulate browser w/ a command line utility, access COSIGN protected resource?

2011-07-27 Thread J.Lance Wilkinson
Andrew Mortensen wrote: > This came up a few months back: > > > > You'll want to read up on curl's exit codes, so you can test whether > authentication succeeded. > > andrew Looks to be the same model as A

Re: [Cosign-discuss] Emulate browser w/ a command line utility, access COSIGN protected resource?

2011-07-27 Thread J.Lance Wilkinson
Andy Cobaugh wrote: > On 2011-07-27 at 11:00, J.Lance Wilkinson ( jl...@psu.edu ) said: >> I have a need to secure a COSIGN protected resource from a command line >> (download a protected file). ... >> >> Suggestions? Code already available? Where to start with Roll My Own? > > # get your cooki

Re: [Cosign-discuss] Emulate browser w/ a command line utility, access COSIGN protected resource?

2011-07-27 Thread Andrew Mortensen
This came up a few months back: You'll want to read up on curl's exit codes, so you can test whether authentication succeeded. andrew On Jul 27, 2011, at 11:00 AM, J.Lance Wilkinson wrote: > I have a need to sec

Re: [Cosign-discuss] Emulate browser w/ a command line utility, access COSIGN protected resource?

2011-07-27 Thread Andy Cobaugh
On 2011-07-27 at 11:00, J.Lance Wilkinson ( jl...@psu.edu ) said: > I have a need to secure a COSIGN protected resource from a command line > (download a protected file). > > What do I need to do, in WGET or cURL, or whatever, to access a cosign > protected resource from a Unix/Linux command line?

[Cosign-discuss] Emulate browser w/ a command line utility, access COSIGN protected resource?

2011-07-27 Thread J.Lance Wilkinson
I have a need to secure a COSIGN protected resource from a command line (download a protected file). What do I need to do, in WGET or cURL, or whatever, to access a cosign protected resource from a Unix/Linux command line? I would prefer the net effect to be non-interactive, at worst prompting fo