[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Help] Re: Bug#939181: cycle: Python2 removal in sid/bullseye



> tmp = rt.encrypt('Cycle{}'.format(pickle.dumps(objSave)))

Thanks to this hint 
This hint was *wrong*, it will introduce garbage into the string and the "rotor" code is clearly designed to work with byte strings, not unicode strings.

Change it to
"tmp=rt.encrypt( b'Cycle'+pickle.dumps(objSave) )"



Reply to: