[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-perl-devel-list
Subject:    [Bug 2235322] New: perl-Crypt-CBC-3.04 of RHEL9 can not decrypt ciphertext created with 'header' => 
From:       bugzilla () redhat ! com
Date:       2023-08-28 12:38:10
Message-ID: bug-2235322-178320 () https ! bugzilla ! redhat ! com/
[Download RAW message or body]

https://bugzilla.redhat.com/show_bug.cgi?id=2235322

            Bug ID: 2235322
           Summary: perl-Crypt-CBC-3.04 of RHEL9 can not decrypt
                    ciphertext created with 'header' => 'randomiv'
           Product: Fedora EPEL
           Version: epel9
          Hardware: All
                OS: Linux
            Status: NEW
         Component: perl-Crypt-CBC
          Severity: low
          Assignee: andreas@bawue.net
          Reporter: pandrade@redhat.com
        QA Contact: extras-qa@fedoraproject.org
                CC: andreas@bawue.net, paul@city-fan.org,
                    perl-devel@lists.fedoraproject.org
  Target Milestone: ---
    Classification: Fedora



Created attachment 1985651
  --> https://bugzilla.redhat.com/attachment.cgi?id=1985651&action=edit
randomiv.patch

The function sub key_and_iv () in the module Crypt/CBC/PBKDF.pm (part of the
perl-Crypt-CBC-3.04-1.el9.noarch) looks like this:

sub key_and_iv {
...
    my $key  = substr($hash,0,$self->{key_len});
    my $iv   = substr($hash,$self->{key_len},$self->{iv_len});
    return ($key,$iv);
}

This function returns the extracted key as first value and the suggested patch
fills this first value into the $self->{key}.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2235322

Report this comment as SPAM: \
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202235322%23c0
 _______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org
 Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic