Bug 1599831

Summary: libkcapi 1.1.1 hmaccalc tools fail to parse command line arguments
Product: [Fedora] Fedora Reporter: Tomas Mraz <tmraz>
Component: libkcapiAssignee: Ondrej Mosnacek <omosnace>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: high    
Version: 28CC: besser82, omosnace
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libkcapi-1.1.1-3.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-13 17:33:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1553686    

Description Tomas Mraz 2018-07-10 17:04:11 UTC
Dracut now uses -c option for sha512hmac to verify the checksum, please implement it.

Comment 2 Ondrej Mosnacek 2018-07-11 07:38:30 UTC
libkcapi-hasher does implement the '-c' option, however I just checked and on current F28 there is some issue with its command-line parsing...

It turns out I made a mistake in this commit:
https://github.com/smuellerDD/libkcapi/commit/3be3e18d4a2ed8be1cfcb7d05b175bc89b3d0e4f

I have a fix ready, I'll push it shortly.

Comment 4 Fedora Update System 2018-07-11 09:09:13 UTC
libkcapi-1.1.1-2.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d744616145

Comment 5 Fedora Update System 2018-07-11 13:48:32 UTC
libkcapi-1.1.1-3.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-d744616145

Comment 6 Fedora Update System 2018-07-11 23:44:40 UTC
libkcapi-1.1.1-3.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-d744616145

Comment 8 Fedora Update System 2018-07-13 17:33:31 UTC
libkcapi-1.1.1-3.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.