Project

General

Profile

Actions

Feature #6943

closed

pstore in FIPS mode

Added by vo.x (Vit Ondruch) over 11 years ago. Updated over 7 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:47341]

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.


Related issues 1 (1 open0 closed)

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

Updated by mame (Yusuke Endoh) over 11 years ago

  • Target version set to 2.6

Updated by MartinBosslet (Martin Bosslet) over 11 years ago

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

Updated by zzak (zzak _) over 8 years ago

  • Assignee changed from MartinBosslet (Martin Bosslet) to 7150

Updated by vo.x (Vit Ondruch) almost 8 years ago

Ping? Any chance to change the hashing algorithm?

Updated by naruse (Yui NARUSE) almost 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) almost 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) almost 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

Actions #8

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

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0