Feature #6943


pstore in FIPS mode

Added by vo.x (Vit Ondruch) over 10 years ago. Updated about 6 years ago.

Target version:


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.

Related issues 1 (1 open0 closed)

Related to Ruby master - Feature #6946: FIPS support?OpenActions

Updated by mame (Yusuke Endoh) about 10 years ago

  • Target version set to 2.6

Updated by MartinBosslet (Martin Bosslet) almost 10 years ago

  • Status changed from Open to Assigned
  • Assignee set to MartinBosslet (Martin Bosslet)
Actions #3

Updated by zzak (Zachary Scott) about 7 years ago

  • Assignee changed from MartinBosslet (Martin Bosslet) to 7150

Updated by vo.x (Vit Ondruch) over 6 years ago

Ping? Any chance to change the hashing algorithm?

Updated by naruse (Yui NARUSE) over 6 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 6 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 6 years ago

Seems nothing to block, since md5 seems used just to see if the data is modified.

Actions #8

Updated by nobu (Nobuyoshi Nakada) about 6 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]

Also available in: Atom PDF