Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1511774 Details for
Bug 1650246
tang provides adv which makes clevis fail on unhandled jose failing call
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh92 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
proposed enhancement patch for clevis
0001-clevis-encrypt-tang-ensure-key-derivation-key-is-ava.patch (text/plain), 991 bytes, created by
Daniel Kopeček
on 2018-12-05 15:58:56 UTC
(
hide
)
Description:
proposed enhancement patch for clevis
Filename:
MIME Type:
Creator:
Daniel Kopeček
Created:
2018-12-05 15:58:56 UTC
Size:
991 bytes
patch
obsolete
>From 8b707e8bfcbfd073579ee553b982b4784490f5ea Mon Sep 17 00:00:00 2001 >From: Daniel Kopecek <dkopecek@redhat.com> >Date: Wed, 5 Dec 2018 13:18:59 +0100 >Subject: [PATCH] clevis-encrypt-tang: ensure key derivation key is available > before encryption > >--- > clevis-11/src/pins/tang/clevis-encrypt-tang | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/clevis-11/src/pins/tang/clevis-encrypt-tang b/clevis-11/src/pins/tang/clevis-encrypt-tang >index e65a7d1..7fc55ca 100755 >--- a/clevis-11/src/pins/tang/clevis-encrypt-tang >+++ b/clevis-11/src/pins/tang/clevis-encrypt-tang >@@ -114,7 +114,11 @@ elif [ "$thp" != "any" ] && \ > fi > > ### Perform encryption >-enc=`jose jwk use -i- -r -u deriveKey -o- <<< "$jwks"` >+if ! enc=`jose jwk use -i- -r -u deriveKey -o- <<< "$jwks"`; then >+ echo "Key derivation key not available!" >&2 >+ exit 1 >+fi >+ > jose fmt -j "$enc" -Og keys -A || enc="{\"keys\":[$enc]}" > > for jwk in `jose fmt -j- -Og keys -Af- <<< "$enc"`; do >-- >2.13.6 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1650246
:
1511663
| 1511774