Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xavier Thompson
slapos.buildout
Commits
55054714
Commit
55054714
authored
Jul 20, 2021
by
Franco Pellegrini
Committed by
Godefroid Chapelle
Nov 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow to run buildout in FIPS enabled environments
parent
02ba9731
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
news/570.feature
news/570.feature
+1
-0
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+10
-2
No files found.
news/570.feature
0 → 100644
View file @
55054714
Allow
to
run
buildout
in
FIPS
enabled
environments.
src/zc/buildout/buildout.py
View file @
55054714
...
...
@@ -17,10 +17,12 @@
from
zc.buildout.rmtree
import
rmtree
import
zc.buildout.easy_install
from
functools
import
partial
try
:
from
hashlib
import
md5
from
hashlib
import
md5
as
md5_original
except
ImportError
:
from
md5
import
md5
from
md5
import
md5
as
md5_original
try
:
from
collections.abc
import
MutableMapping
as
DictMixin
...
...
@@ -52,6 +54,12 @@ if PY3:
else
:
text_type
=
unicode
try
:
hashed
=
md5_original
(
b'test'
)
md5
=
md5_original
except
ValueError
:
md5
=
partial
(
md5_original
,
usedforsecurity
=
False
)
def
command
(
method
):
method
.
buildout_command
=
True
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment