Skip to content

decryption not happening on OS in FIPS compliant mode #160

@jessvcs

Description

@jessvcs

Environment details:
RHEL 8.6, transcrypt v2.2.3, git version 2.31.1, OpenSSL 1.1.1k FIPS - no issue; files get decrypted
RHEL 8.7, transcrypt v2.2.3, git version 2.31.1, OpenSSL 1.1.1k FIPS - ISSUE HAPPENS; files are not decrypted
I have also tried transcrypt v2.3.0-pre (initialized against a brand new clone of the repo) with no change in results

Steps to reproduce:

  1. On a RHEL 8.7 system, clone an already-configured repository.
  2. Initialize transcrypt on the repo as follows:
[root@server1 proj1]# transcrypt -c aes-256-cbc -p '<redacted>'

Repository metadata:

GIT_WORK_TREE:  /home/user/proj1
GIT_DIR:        /home/user/proj1/.git
GIT_ATTRIBUTES: /home/user/proj1/.gitattributes

The following configuration will be saved:

CONTEXT:  default
CIPHER:   aes-256-cbc
PASSWORD: <redacted>

Does this look correct? [Y/n]

The repository has been successfully configured by transcrypt.
[root@server1 proj1]#
  1. Notice that the typical *** WARNING : deprecated key derivation used. messages for each file managed by transcrypt were not displayed.
  2. Notice that transcrypt -l indeed lists all the files managed by transcrypt.
  3. Notice that cat'ing a file managed by transcrypt shows the [encrypted] ciphertext, not the plaintext.

I'm not well-versed in debugging bash/git issues. I don't see SELinux denies. Am willing to run/attempt whatever steps would be suggested.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions