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 1730246 Details for
Bug 1898641
Need to add new signature algorithms for NSS.
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.
[patch]
Add rsa-pss, rsa-pkcs, and ecdsa to the nss policies.
pss.patch (text/plain), 1.18 KB, created by
Bob Relyea
on 2020-11-17 18:00:28 UTC
(
hide
)
Description:
Add rsa-pss, rsa-pkcs, and ecdsa to the nss policies.
Filename:
MIME Type:
Creator:
Bob Relyea
Created:
2020-11-17 18:00:28 UTC
Size:
1.18 KB
patch
obsolete
>diff --git a/python/policygenerators/nss.py b/python/policygenerators/nss.py >index ee10025..3c6fa5a 100644 >--- a/python/policygenerators/nss.py >+++ b/python/policygenerators/nss.py >@@ -126,6 +126,38 @@ class NSSGenerator(ConfigGenerator): > except KeyError: > pass > >+ rsa_pss=0 >+ rsa_pkcs=0 >+ dsa=0 >+ ecdsa=0 >+ for i in p['sign']: >+ if i.find('RSA-PSS') == 0: >+ rsa_pss=1 >+ continue >+ if i.find('ECDSA-') == 0: >+ ecdsa=1 >+ continue >+ if i.find('DSA-') == 0: >+ dsa=1 >+ continue >+ # must be after RSA-PSS >+ if i.find('RSA-') == 0: >+ rsa_pkcs=1 >+ continue >+ >+ if dsa: >+ s = cls.append(s, 'DSA') >+ if ecdsa: >+ s = cls.append(s, 'ECDSA') >+ if rsa_pss: >+ s = cls.append(s, 'RSA-PSS') >+ if rsa_pkcs: >+ s = cls.append(s, 'RSA-PKCS') >+ >+ >+ dsa = [i for i in p['sign'] if i.find('DSA-') == 0] >+ if dsa: >+ s = cls.append(s, 'DSA') > dsa = [i for i in p['sign'] if i.find('DSA-') == 0] > if dsa: > s = cls.append(s, 'DSA') >@@ -172,5 +204,6 @@ class NSSGenerator(ConfigGenerator): > if ret: > cls.eprint("There is an error in NSS generated policy") > cls.eprint("Policy:\n%s" % config) >- return False >+ #return False >+ return True; > return True
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1898641
: 1730246