#2268 don't decode signature headers
Merged 2 years ago by tkopecek. Opened 2 years ago by mikem.

file modified
@@ -1012,6 +1012,12 @@ 

              # no such header



+     # some string results are binary and should not be decoded

+     if name.startswith('SIG'):

+         return result


+     # Some older versions of rpm return string header values as bytes. Newer

+     # versions return strings, so this is a workaround for those older versions

      return _decode_item(result)



Alternative to #2222

Fixes https://pagure.io/koji/issue/2221

some headers, like sigmd5, are inherently binary

1 new commit added

  • clarify reason for decoding in comment
2 years ago

Commit a492140 fixes this pull-request

Pull-Request has been merged by tkopecek

2 years ago

Metadata Update from @jcupova:
- Pull-request tagged with: testing-done

2 years ago