lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200624231457.GB21758@linux.intel.com>
Date:   Thu, 25 Jun 2020 02:14:57 +0300
From:   Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
To:     Pengfei Xu <pengfei.xu@...el.com>
Cc:     Shuah Khan <shuah@...nel.org>, Qiuxu Zhuo <qiuxu.zhuo@...el.com>,
        Heng Su <heng.su@...el.com>, linux-kselftest@...r.kernel.org,
        linux-kernel@...r.kernel.org, Kai Svahn <kai.svahn@...el.com>
Subject: Re: [PATCH v2] Kernel selftests: TPM2: upgrade TPM2 tests from
 Python 2 to Python 3

On Tue, Jun 23, 2020 at 07:41:55PM +0800, Pengfei Xu wrote:
>   I tried to use bytes(parm, encoding='UTF-8') way, it met the situation
>   that sometimes parm is string, sometimes parm is bytes.

We need to do right things right, i.e. you should fix in the call site,
not in the implementation.

/Jarkko

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ