Commit Graph

3 Commits

Author SHA1 Message Date
Khem Raj
d30cd125d5 python3-pyrad: Change poetry bbclass inherit to match oe-core
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: tgamblin <trevor.gamblin@windriver.com>
2022-03-16 09:25:28 -04:00
Ross Burton
ff7312f048 meta-python: migrate away from setuptool3 where possible
Many recipes are currently building with setuptools3 but can use a more
modern tool: typically setuptools_build_meta but ordered-set can use
flit_core and pyrad can use poetry_core.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
2022-03-11 08:48:38 -05:00
Leon Anavi
fdf6726fa8 python3-pyrad: Upgrade 2.3 -> 2.4
Upgrade to release 2.4:

- Support poetry for for building this project
- Use secrets.SysRandom instead of random.SystemRandom if possible
- .get on Packets has an optional default parameter (to mimic
  dict.get())
- Fix: digestmod is not optional in python3.8 anymore
- Fix: authenticator was refreshed before the packet was generated
- Fix bug causing Message-Authenticator verification to fail if
  multiple instances of an attribute do not appear sequentially in
  the attributes list
- Fixed VerifyReply broken when multiple instances of same
  attribute are not adjacent on reply
- Fixed Missing send_packet for async Client
- Fixed python3 support for SaltCrypt (was previously broken)

License-Update: Use file PKG-INFO.

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2020-11-27 11:54:04 -08:00