Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1871458 Details for
Bug 2070977
bring SHA-1 verification blocking option to Fedora
Home
New
Search
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.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
sign_rsa.py from comment 3
sign_rsa.py (text/x-python3), 387 bytes, created by
Clemens Lang
on 2022-04-08 13:47:10 UTC
(
hide
)
Description:
sign_rsa.py from comment 3
Filename:
MIME Type:
Creator:
Clemens Lang
Created:
2022-04-08 13:47:10 UTC
Size:
387 bytes
patch
obsolete
>#!/usr/bin/python3 > >import sys >from pathlib import Path >from M2Crypto import BIO, RSA, EVP > >bio = BIO.MemoryBuffer(Path(sys.argv[1]).read_bytes()) >rsa = RSA.load_key_bio(bio) >key = EVP.PKey() >key.assign_rsa(rsa) > >payload = Path(sys.argv[2]).read_bytes() >key.digest_sign_init() >key.digest_sign_update(payload) >signature = key.digest_sign_final() > >Path(sys.argv[3]).write_bytes(signature)
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 2070977
:
1871457
| 1871458