Feature #6943
closedpstore in FIPS mode
Description
Is there any chance to make PStore compatible with FIPS mode? PStore is using MD5 for data checksum, but MD5 is unsupported algorithm in FIPS mode unfortunately. It would be easy to use different hash algorithm, but I am afraid that backward compatibility would be lost. Thank you.
Updated by mame (Yusuke Endoh) almost 12 years ago
- Target version set to 2.6
Updated by MartinBosslet (Martin Bosslet) almost 12 years ago
- Status changed from Open to Assigned
- Assignee set to MartinBosslet (Martin Bosslet)
Updated by zzak (zzak _) about 9 years ago
- Assignee changed from MartinBosslet (Martin Bosslet) to 7150
Updated by vo.x (Vit Ondruch) over 8 years ago
Ping? Any chance to change the hashing algorithm?
Updated by naruse (Yui NARUSE) over 8 years ago
lib/pstore.rb uses digest/md5, and it uses own implementation (ext/digest/md5/md5.c) if there's no openssl
or it doesn't support MD5, it extconf.rb works correctly.
Updated by vo.x (Vit Ondruch) over 8 years ago
Using internal implementation is just hiding the issue. I don't think this would be acceptable solution for FIPS certification, what would be the point then? It is quite easy to generate colliding hashes these days. It might not be that critical for PStore though ...
Updated by nobu (Nobuyoshi Nakada) over 8 years ago
Seems nothing to block, since md5 seems used just to see if the data is modified.
https://github.com/ruby/ruby/compare/trunk...nobu:feature/6943-pstore-checksum_algorithm
Updated by nobu (Nobuyoshi Nakada) about 8 years ago
- Status changed from Assigned to Closed
Applied in changeset r56284.
PStore: select checksum algorithm
- lib/pstore.rb (PStore::CHECKSUM_ALGO): find available hashing
algorithm for checksum. MD5 is not available in FIPS mode.
[Feature #6943]