Package Details: hash-slinger 3.0-2

Git Clone URL: (read-only, click to copy)
Package Base: hash-slinger
Description: Tools to generate special DNS records (SSHFP, TLSA, OPENPGPKEY, IPSECKEY)
Upstream URL:
Licenses: GPL2
Submitter: Schnouki
Maintainer: Schnouki (HLFH)
Last Packager: HLFH
Votes: 2
Popularity: 0.000653
First Submitted: 2014-09-10 08:44
Last Updated: 2020-04-16 10:30

Dependencies (10)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

HLFH commented on 2020-07-11 11:50

I have just submitted the git version of hash-slinger who has the bug fixes:

HLFH commented on 2020-07-11 11:32

The fix you mention appeared on January 7th, 2020.

Last release 3.0 got released on November 3rd, 2019.

andrej commented on 2020-04-17 20:38

This version has a typical Python 3 string versus bytes bug. It fails on my system. To fix it, just add a b to line 396 in /usr/bin/tlsa.


    if stdout.endswith("OK\n"):


    if stdout.endswith(b"OK\n"):

HLFH commented on 2020-04-16 10:23

For python-unbound dep update to 1.10.0

# Maintainer: Toke Høiland-Jørgensen <>
# Contributor: Gaetan Bisson <>
# Contributor: Hisato Tatekura <>
# Contributor: Massimiliano Torromeo <massimiliano DOT torromeo AT google mail service>

pkgdesc='Validating, recursive, and caching DNS resolver: python binding'
depends=('python' 'unbound' 'openssl')
makedepends=('expat' 'swig' 'openssl')
optdepends=('expat: unbound-anchor')

build() {
    cd "${srcdir}/${_basename}-${pkgver}"

    PYTHON=/usr/bin/python ./configure \
        --prefix=/usr \
        --sysconfdir=/etc \
        --localstatedir=/var \
        --enable-static=no \
        --disable-rpath \
        --with-conf-file=/etc/unbound/unbound.conf \
        --with-pidfile=/var/run/ \


package() {
    cd "${srcdir}/${_basename}-${pkgver}"

    make DESTDIR="${pkgdir}" install

        rm -r "${pkgdir}/etc"
        rm -r "${pkgdir}/usr/sbin"
        rm -r "${pkgdir}/usr/include"
        rm -r "${pkgdir}/usr/share"
        rm "${pkgdir}/usr/lib/"
        rm "${pkgdir}/usr/lib/"
        rm "${pkgdir}/usr/lib/"
        rm "${pkgdir}/usr/lib/"

    install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

HLFH commented on 2020-04-16 09:59

I updated hash-slinger to version 3.0.

andrej commented on 2019-03-27 20:19

BTW, local certificates don't work due to this bug. A release was promised in December 2018, but not released yet. Perhaps building this from Git could help.

A quick and dirty workaround for anyone affected by this: Download this file, replace its first line with '#!/usr/bin/env python2' and then just brutally overwrite /usr/bin/tlsa with that. :-)

andrej commented on 2019-03-27 19:56

Traceback (most recent call last):
  File "/usr/bin/tlsa", line 31, in <module>
    import unbound
  File "/usr/lib/python2.7/site-packages/", line 17, in <module>
    _unbound = swig_import_helper()
  File "/usr/lib/python2.7/site-packages/", line 16, in swig_import_helper
    return importlib.import_module('_unbound')
  File "/usr/lib/python2.7/importlib/", line 37, in import_module
ImportError: cannot open shared object file: No such file or directory

There's on my system, so it looks like something is (unnecessarily?) hardwired here. This ugly hack works for me:

sudo ln -s /usr/lib/ /usr/lib/

HLFH commented on 2016-05-03 21:27

Cool. I updated to 2.7. I'm co-maintener of hash-slinger. Yeeeepee. The pending request could be closed.

tohojo commented on 2015-10-24 00:08

I just uploaded an updated version of the old python2-unbound package, so should be available now :)

randompie commented on 2015-10-13 15:30

"python2-unbound" is not found in the AUR. Was it uploaded to the new system?