Skip to content

Update acct to be installable with current idem-aws: set minimum cryptography version to 39.0.1, make crypto load acct.

David Hilton requested to merge dhiltonp/acct:master into master

cryptography versions < 39.0.1 have a CVE, specify that those versions should not be used.

idem_pytest's runner loads and uses "crypto" without loading "acct" to generate an account key. "crypto" is a part of acct and doesn't load any subs, but it refers to rend, serial and acct internally as of c00bb789/7.0.0.

This PR has code that makes "crypto" load "acct", which loads everything else.

Alternatively, maybe we should not expose "crypto" as a dyne that can be loaded individually - maybe idem_pytest should load "acct", which would make hub.crypto available.

Edited by David Hilton

Merge request reports