Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tpm2_ptool: open pem w/o binary mode flag
python2 and python3 differ in behavior on reading from a file that was opened with the binary flag. In python2 the read data is a str, in python3 its bytes. This is posing an issue in the asn1 calls as outlined in bug: - etingof/pyasn1#185 We can work around this for now, since pem files are always string, remove the binary flag. Releates to bug tpm2-software#327 Signed-off-by: William Roberts <william.c.roberts@intel.com>
- Loading branch information