GenerateCapsule: error: can not encode FMP Auth Header
The system cannot find the file specified.
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Zhiju.Fan <zhijux.fan@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
try:\r
Process = subprocess.Popen (Command, stdin = subprocess.PIPE, stdout = subprocess.PIPE, stderr = subprocess.PIPE, shell = True)\r
Result = Process.communicate(input = Payload)\r
- Signature = Result[0].decode(encoding='utf-8', errors='ignore')\r
+ Signature = Result[0]\r
except:\r
raise ValueError ('GenerateCapsule: error: can not run openssl.')\r
\r