cat-users AT lists.geant.org
Subject: The mailing list for users of the eduroam Configuration Assistant Tool (CAT)
List archive
Re: [[cat-users]] DeprecationWarning: str for passphrase is no longer accepted, use bytes
Chronological Thread
- From: Robert Grätz <graetzrx AT cms.hu-berlin.de>
- To: cat-users AT lists.geant.org
- Subject: Re: [[cat-users]] DeprecationWarning: str for passphrase is no longer accepted, use bytes
- Date: Tue, 14 Jan 2020 10:25:38 +0100
- Autocrypt: addr=graetzrx AT cms.hu-berlin.de; keydata= mQINBFs7XE0BEADtV5aUazMSh0QYQLGpB9bziERoTNp1f6WsLH+zjhf4UzVAwIjNxi+U1YrG armCr+H+Pt8xHhn3WulmHbhFZCZ8Lx4Tbm4u6vrzQIEiAAUVHlNdLNhpTNFiYGdlFCcpUtkf bVNekG561a6qWFjO624zNY4ED94782sQ3/pkd+CTi7Vb9ukpRnOfPjn+S9GpyQpi2xeuLtcT OM1a24xLVm5jQnXzAVo0xVSiYaGwZnm70Wq7qHOPamvYT8amnTrV0h5MYNNsrzgCztIljMB5 HS/STZGhjfegSOLRzS222DqcyzqC6gc9pIlpjV4HZm2L1omghFDPUkd4GdCf7woVZEeWsctf K10pYxGY0dLG+gnWf+zRzIUMmVSgMVHvcS/nZfZrH6/FxOXKrNipi0C/FyfDY8+hxNc+4n49 /5vJwszvbr54v5Lw5QSa4MTPxhl/M8y7U+BWj5WbNKPQqk7CkW4zJeXfIoJMmtlf9iocg+3d NHnVF0YIISSOyMh91oGh/l8fu7/itmlHUpCAAopVHmggNK2lPm6nSf7Cr+MpMtlMX/SHN9xT lhnagda616LJTTspbRGEoANpCqvQtIN/pM7GuemiC/zPdhQ9tLCv0fD6whB3ZrZwcIrZ63Wi PviDSK2QqGXgMlRfn889HCt4qKP7X1aTWrVOLjOiPdZegECErQARAQABtCpSb2JlcnQgR3LD pHR6IDxyb2JlcnQuZ3JhZXR6QGh1LWJlcmxpbi5kZT6JAj0EEwEKACcFAltHU/UCGwMFCQtJ xNMFCwkIBwIGFQgJCgsCBB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5rwx8=
- Ironport-sdr: 8+ftjmYZbggtZhBWcL3nx4PlrLYoZEassOtZVfropK/1t+i4mUbR4DgJTDVwof0iHjU+j3/a5C L50FodzXLmvw==
- Openpgp: preference=signencrypt
Sorry, A slight error has crept in. I meant bytes().
p12 = crypto.load_pkcs12(open(pfx_file, 'rb').read(), bytes(self.password)))
Am 14.01.20 um 10:21 schrieb Robert Grätz:
> Hello Federico,
>
> could you replace this line:
>
> p12 = crypto.load_pkcs12(open(pfx_file, 'rb').read(),
> self.password)
>
> with this line please:
>
> p12 = crypto.load_pkcs12(open(pfx_file, 'rb').read(),
> byte(self.password))
>
> Do the warning still exist?
>
> Best regards
> Robert
>
>
> Am 13.01.20 um 16:26 schrieb Federico Leva:
>> The latest cat script gives a warning message on a recent python:
>>
>> $ python eduroam-linux-PdM-polimi-TLS.py
>> eduroam-linux-PdM-polimi-TLS.py:514: DeprecationWarning: str for
>> passphrase is no longer accepted, use bytes
>> self.password)
>> $ python --version
>> Python 3.7.6
>> To unsubscribe, send this message:
>> mailto:sympa AT lists.geant.org?subject=unsubscribe%20cat-users
>> Or use the following link:
>> https://lists.geant.org/sympa/sigrequest/cat-users
>>
>
Attachment:
signature.asc
Description: OpenPGP digital signature
- [[cat-users]] DeprecationWarning: str for passphrase is no longer accepted, use bytes, Federico Leva, 01/13/2020
- Re: [[cat-users]] DeprecationWarning: str for passphrase is no longer accepted, use bytes, Robert Grätz, 01/14/2020
- Re: [[cat-users]] DeprecationWarning: str for passphrase is no longer accepted, use bytes, Robert Grätz, 01/14/2020
- Re: [[cat-users]] DeprecationWarning: str for passphrase is no longer accepted, use bytes, Robert Grätz, 01/14/2020
Archive powered by MHonArc 2.6.19.