Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 47a0430

Browse filesBrowse files
committed
Note change of SVG ID generation from MD5 to SHA512 #18192
1 parent 4f0b353 commit 47a0430
Copy full SHA for 47a0430

File tree

1 file changed

+10
-0
lines changed
Filter options

1 file changed

+10
-0
lines changed
+10Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
ID attribute of XML tags in SVG files now based on SHA256 rather than MD5
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
4+
Matplotlib generates unique ID attributes for various tags in SVG files.
5+
Matplotlib previously generated these unique IDs using the first 10
6+
characters of an MD5 hash. The MD5 hashing algorithm is not available in
7+
Python on systems with Federal Information Processing Standards (FIPS)
8+
enabled. Matplotlib now uses the first 10 characters of an SHA256 hash
9+
instead. SVG files that would otherwise match those saved with earlier
10+
versions of matplotlib, will have different ID attributes.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.