Skip to main content

MyProxy Client

Project description

MyProxy Client Package

This a pure* Python implementation of a client to the MyProxy Credential Management Server (http://grid.ncsa.uiuc.edu/myproxy/). It provides both a Python API and a command line interface.

  • i.e. MyProxy C client libraries are not required for this package.

It uses pyOpenSSL to make an SSL connection to the server following the messaging interface as outlined in: http://grid.ncsa.uiuc.edu/myproxy/protocol/

The code is based on an original program myproxy_logon by Tom Uram of ANL.

Examples

These show how to retrieve a certificate bootstrapping trust in remote service:

API

` >>> from myproxy.client import MyProxyClient >>> myproxy_clnt = MyProxyClient(hostname="myproxy.somewhere.ac.uk") >>> cert, private_key = myproxy_clnt.logon(username, password, bootstrap=True) `

Command line interface

` $ myproxyclient logon -s myproxy.somewhere.ac.uk -l <username> -o creds.pem -b `

Releases

1.4.3

  • Fix for SSL to use TLS instead of SSLv3 to address POODLE vulnerability

  • Fix for SSL verification for PyOpenSSL version 0.14 - v1.3.1 was broken because it passed the call back method to OpenSSL using verification classes’ __call__ method.

Tested on CentOS 6.4.

1.3.1

  • Fix to MyProxyClient.writeProxyFile and MyProxyClient.readProxyFile to correctly pick-up overridden file setting. Thanks to Nicolas Carenton, IPSL.

Tests

Unit test module with test files is in test/. See the README in that directory.

Documentation

Sphinx generated documentation is available in documentation/. run the Makefile to regenerate if required.

Thanks

  • to OMII-UK for funding development of NDG Security (2007-2008)

  • Tom Uram who wrote the myproxy_logon program on which this package is based.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

MyProxyClient-1.4.3.tar.gz (34.0 kB view details)

Uploaded Source

Built Distribution

MyProxyClient-1.4.3-py2.7.egg (67.6 kB view details)

Uploaded Source

File details

Details for the file MyProxyClient-1.4.3.tar.gz.

File metadata

File hashes

Hashes for MyProxyClient-1.4.3.tar.gz
Algorithm Hash digest
SHA256 5b7ad3cc3c3cd71595a9b0278a51c138699e229d47a41f2e2add72fbc12f58cd
MD5 15d1dccae2cde5d24cd8fb082972debc
BLAKE2b-256 8740c461e690422a1c6994630d5f73d74295037793eb5e41f346a7b55b6d5baa

See more details on using hashes here.

File details

Details for the file MyProxyClient-1.4.3-py2.7.egg.

File metadata

File hashes

Hashes for MyProxyClient-1.4.3-py2.7.egg
Algorithm Hash digest
SHA256 fcbcc7fe60d593b1efa223727ec67e627f8f13832cf583e9a66b483cf68441a5
MD5 20c819f22ccb62a791a4495844d07ac4
BLAKE2b-256 90a2f4731b12f0e007f62588fbbe6cadb5972c125b2242a56a7f88a51de53c4a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page