Package Details: pass-audit 1.2-3

Git Clone URL: https://aur.archlinux.org/pass-audit.git (read-only, click to copy)
Package Base: pass-audit
Description: A pass extension for auditing your password repository.
Upstream URL: https://github.com/roddhjav/pass-audit
Keywords: audit haveibeenpwned pass pass-extension
Licenses: GPL-3.0-or-later
Submitter: roddhjav
Maintainer: roddhjav
Last Packager: roddhjav
Votes: 8
Popularity: 0.025092
First Submitted: 2018-02-24 18:29 (UTC)
Last Updated: 2025-02-01 14:58 (UTC)

Pinned Comments

roddhjav commented on 2018-02-25 15:24 (UTC) (edited on 2022-06-06 19:14 (UTC) by roddhjav)

To install the package first import my PGP key:

gpg --recv-keys 06A26D531D56C42D66805049C5469996F0DF68EC 

Alternatively this key can also be found on https://pujol.io/keys:

wget -qO - https://pujol.io/keys/0xc5469996f0df68ec.asc | gpg --import 

Latest Comments

sylphio commented on 2026-01-18 22:00 (UTC)

For anyone else having trouble with check() failing with error: invalid command 'test', here is a simple patch that does not skip the tests:

diff --git i/PKGBUILD w/PKGBUILD index 0ae9fea..a55e194 100644 --- i/PKGBUILD +++ w/PKGBUILD @@ -30,7 +30,7 @@ build() {   check() {    cd "$pkgname-$pkgver" -  python setup.py test +  python -m unittest -v  }   package() { 

dreieck commented on 2025-08-06 11:57 (UTC) (edited on 2025-08-06 11:57 (UTC) by dreieck)

check() still fails for me with error: invalid command 'test':

==> Starting check()... /usr/lib/python3.13/site-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !!          ********************************************************************************         Please consider removing the following classifiers in favor of a SPDX license expression:          License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)          See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details.         ********************************************************************************  !!   self._finalize_license_expression() usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]    or: setup.py --help [cmd1 cmd2 ...]    or: setup.py --help-commands    or: setup.py cmd --help  error: invalid command 'test' ==> ERROR: A failure occurred in check(). 

Regards and thanks for the package!

SpotlightKid commented on 2025-02-05 14:48 (UTC)

Fails to build with Python 3.13:

==> Beginne check()... usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]    or: setup.py --help [cmd1 cmd2 ...]    or: setup.py --help-commands    or: setup.py cmd --help  error: invalid command 'test' 

Workaround: build with --nocheck option.

PKGBUILD should be fixed to use python-build and python-installer.

dreieck commented on 2025-01-11 11:52 (UTC)

check() fails for me with error: invalid command 'test':

==> Starting check()... usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]    or: setup.py --help [cmd1 cmd2 ...]    or: setup.py --help-commands    or: setup.py cmd --help  error: invalid command 'test' ==> ERROR: A failure occurred in check(). 

Regards and thanks for the package!

dreieck commented on 2025-01-11 11:52 (UTC)

The license identifier needs to be made SPDX compliant:

pass-audit E: GPL3 is not a valid SPDX license identifier. See https://spdx.org/licenses/ for valid identifiers, or prefix the identifier with 'LicenseRef-', if it is custom. 

Regards!

dreieck commented on 2025-01-11 11:52 (UTC)

You should move away from calling setup.py directly, and instead use python -m build in build() and python -m installer in package(), as it is in more detail descriped in the Arch Linux wiki on python packages. (You also need to add approproate dependencies.):

==> Starting package()... running install /usr/lib/python3.13/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !!          ********************************************************************************         Please avoid running ``setup.py`` directly.         Instead, use pypa/build, pypa/installer or other         standards-based tools.          See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.         ********************************************************************************  !!   self.initialize_options() 

dreieck commented on 2024-04-28 11:26 (UTC)

I get the following warnings in check():

==> Starting check()...  running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. /usr/lib/python3.12/site-packages/setuptools/command/test.py:193: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !!          ********************************************************************************         Requirements should be satisfied by a PEP 517 installer.         If you are using pip, you can try `pip install --use-pep517`.         ********************************************************************************  !!   ir_d = dist.fetch_build_eggs(dist.install_requires) /usr/lib/python3.12/site-packages/setuptools/command/test.py:194: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !!          ********************************************************************************         Requirements should be satisfied by a PEP 517 installer.         If you are using pip, you can try `pip install --use-pep517`.         ********************************************************************************  !!   tr_d = dist.fetch_build_eggs(dist.tests_require or []) /usr/lib/python3.12/site-packages/setuptools/command/test.py:195: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !!          ********************************************************************************         Requirements should be satisfied by a PEP 517 installer.         If you are using pip, you can try `pip install --use-pep517`.         ********************************************************************************  !!   er_d = dist.fetch_build_eggs( running egg_info 

Regards!

manni commented on 2020-12-13 08:19 (UTC) (edited on 2020-12-13 08:20 (UTC) by manni)

Current package build would need python-wheel as dependency. Might be just for the tests, so you could set it as build dependency only:

==> Starting check()... running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. WARNING: The wheel package is not available.   ERROR: Command errored out with exit status 1:    command: /usr/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-75hb8g4s/zxcvbn/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-75hb8g4s/zxcvbn/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-y618ya65        cwd: /tmp/pip-wheel-75hb8g4s/zxcvbn/   Complete output (6 lines):   usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]      or: setup.py --help [cmd1 cmd2 ...]      or: setup.py --help-commands      or: setup.py cmd --help    error: invalid command 'bdist_wheel'   ----------------------------------------   ERROR: Failed building wheel for zxcvbn ERROR: Failed to build one or more wheels error: Command '['/usr/bin/python', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpl7n00kug', '--quiet', 'zxcvbn']' returned non-zero exit status 1. ==> ERROR: A failure occurred in check().     Aborting... error making: pass-audit 

roddhjav commented on 2018-02-25 15:24 (UTC) (edited on 2022-06-06 19:14 (UTC) by roddhjav)

To install the package first import my PGP key:

gpg --recv-keys 06A26D531D56C42D66805049C5469996F0DF68EC 

Alternatively this key can also be found on https://pujol.io/keys:

wget -qO - https://pujol.io/keys/0xc5469996f0df68ec.asc | gpg --import