Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: salt: NameError: name 'rsa' is not defined
To:
Mikolaj Kucharski <mikolaj@kucharski.name>
Cc:
ports@openbsd.org
Date:
Thu, 22 Aug 2024 11:52:37 +0200

Download raw body.

Thread
>   File "/usr/local/lib/python3.11/site-packages/salt/crypt.py", line 147, in gen_keys
>     gen = rsa.generate_private_key(e, keysize)
>           ^^^
> NameError: name 'rsa' is not defined
> 2024-08-22 08:31:45,971 [salt.crypt                                                  :284 ][INFO    ][39203] Generating keys: /etc/salt/pki/minion
> --->8---
> 
> Log file grows rapidly with above errors. I noticed this recently, so I
> am not sure when this exactly started to happen.

rsa seems to be used from py3-cryptography if available. Does the noise
go away when you install that?