Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 710852 Details for
Bug 922247
PKCS12Decoder.database_import sometimes fails
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
reproducer, use with matching p12 reproduer file
tmp.py (text/plain), 540 bytes, created by
John Dennis
on 2013-03-15 20:44:23 UTC
(
hide
)
Description:
reproducer, use with matching p12 reproduer file
Filename:
MIME Type:
Creator:
John Dennis
Created:
2013-03-15 20:44:23 UTC
Size:
540 bytes
patch
obsolete
>from nss import nss > >db_passwd = 'db_passwd' >certdir = 'pki' > >def password_callback(slot, retry): > return db_passwd > > >nss.nss_init_read_write(certdir) >nss.set_password_callback(password_callback) >pkcs12 = slot = cert = None >try: > slot = nss.get_internal_key_slot() > nss.pkcs12_enable_all_ciphers() > pkcs12 = nss.PKCS12Decoder('HTTP.p12', password='12345678', slot=slot) > print pkcs12 > pkcs12.database_import() >except Exception, e: > print "ERROR %s" % e >finally: > del pkcs12, slot, cert > nss.nss_shutdown()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 922247
: 710852 |
710853
|
742441