Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Feb 2025 16:46:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 284715] sysutils/py-salt: Add missing dependancy
Message-ID:  <bug-284715-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284715

            Bug ID: 284715
           Summary: sysutils/py-salt: Add missing dependancy
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: krion@FreeBSD.org
          Reporter: fullermd@over-yonder.net
          Assignee: krion@FreeBSD.org
             Flags: maintainer-feedback?(krion@FreeBSD.org)

Created attachment 257385
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D257385&action=
=3Dedit
Add crytography to PYTHON_USES

Salt requires the cryptography library, and will happily fill up your disk =
with
backtraces in the minion log if it doesn't have it:

  File "/usr/local/lib/python3.11/site-packages/salt/crypt.py", line 235, in
__init__
    self.key =3D get_rsa_key(path, passphrase)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/salt/crypt.py", line 351, in
get_rsa_key
    return _get_key_with_evict(path, str(os.path.getmtime(path)), passphras=
e)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^=
^^
  File
"/usr/local/lib/python3.11/site-packages/salt/utils/decorators/__init__.py",
line 296, in _memoize
    cache[args_] =3D func(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/salt/crypt.py", line 333, in
_get_key_with_evict
    return serialization.load_pem_private_key(
           ^^^^^^^^^^^^^
NameError: name 'serialization' is not defined


So...   add it   :)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-284715-7788>