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 1511663 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), 901 bytes, created by
Daniel Kopeček
on 2018-12-05 12:33:27 UTC
(
hide
)
Description:
proposed enhancement patch for clevis
Filename:
MIME Type:
Creator:
Daniel Kopeček
Created:
2018-12-05 12:33:27 UTC
Size:
901 bytes
patch
obsolete
>From a29550f1dc4bd8a1da885bd9299a7b590b5a895c 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 | 5 +++++ > 1 file changed, 5 insertions(+) > >diff --git a/clevis-11/src/pins/tang/clevis-encrypt-tang b/clevis-11/src/pins/tang/clevis-encrypt-tang >index e65a7d1..60e2cb5 100755 >--- a/clevis-11/src/pins/tang/clevis-encrypt-tang >+++ b/clevis-11/src/pins/tang/clevis-encrypt-tang >@@ -115,6 +115,11 @@ fi > > ### Perform encryption > enc=`jose jwk use -i- -r -u deriveKey -o- <<< "$jwks"` >+if [ -z "$enc" ]; 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