# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           golang 1.0

go.setup            github.com/trufflesecurity/driftwood 1.0.1 v
github.tarball_from archive
revision            0

description         A tool that can enable you to lookup whether a private \
                    key is used for things like TLS or as a GitHub SSH key \
                    for a user.

long_description    {*}${description} ${name} performs lookups with the \
                    computed public key, so the private key never leaves \
                    where you run the tool. Additionally it supports some \
                    basic password cracking for encrypted keys.

categories          security
installs_libs       no
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer
license             Apache-2

build.pre_args-append \
    -ldflags \"-X main.version=${github.tag_prefix}${version}\"

destroot {
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}

checksums           ${distname}${extract.suffix} \
                        rmd160  c5d119c6ff37bdd9796fb50b2a8bbd788e50627c \
                        sha256  655e7f5841a97820adf11b608b41f88cc93953c8c5e1d497bdbd86e5662b2621 \
                        size    52404

go.vendors          golang.org/x/term \
                        lock    7de9c90e9dd1 \
                        rmd160  bd573c74337fdd8e57417c03c825a315b2c208f9 \
                        sha256  5b01bffc3bc94976e27cecbe6d9c403eefc597dc2b03ddd3ad083931c0981fa4 \
                        size    15244 \
                    golang.org/x/sys \
                        lock    v0.1.0 \
                        rmd160  91bc7e86c3eb8a828451af8e3fcddd77fb906209 \
                        sha256  07c0119c0c16e4b5441b93138d1c83aa1103eef441fb1f36eab332207b868a19 \
                        size    1410248 \
                    golang.org/x/crypto \
                        lock    089bfa567519 \
                        rmd160  5435f7d637f5b4390f7f27cf8e5b27d4e3b2441a \
                        sha256  db7030a2b172461539ec4e963a30a13f87947e480e426b3986c91ef8c1260747 \
                        size    1734725 \
                    github.com/urfave/cli \
                        lock    v2.3.0 \
                        rmd160  fec9e73bc45d02b2afe43e8d9c76398722494e4b \
                        sha256  3138857026c9564559b3e734b9b8abfeda57354fc4aa87717879882bff68ef09 \
                        size    3408338 \
                    github.com/stretchr/testify \
                        lock    v1.2.2 \
                        rmd160  45703d5a082af570664fb80e99918077596349aa \
                        sha256  ea0e76528dc47d7d84739cd8a8c7560e3f12d4ff490bdd2641a9990a168e6f2f \
                        size    101747 \
                    github.com/sirupsen/logrus \
                        lock    v1.8.1 \
                        rmd160  aeb4e5f2ea8112e787a72fba611605c4c87f42b5 \
                        sha256  931c31f624d05136760b41a63f6bc146b79ac91776b4642cbd2026c2792e3aca \
                        size    47184 \
                    github.com/shurcooL/sanitized_anchor_name \
                        lock    v1.0.0 \
                        rmd160  c7e5322dba53e10db1711d65c146af5649b0c7c8 \
                        sha256  ed9418de8c92acfbbd8608745855ebfc67fa686c0a0a5245cf8eece8f540baa9 \
                        size    2144 \
                    github.com/russross/blackfriday \
                        lock    v2.0.1 \
                        rmd160  99cb49faff9bf24b8637dcdb3602c27c115810f3 \
                        sha256  4078d2cd3b1c6952133b214e4eaca95f3b31a01f87a03adabd7712e7d5f20f60 \
                        size    79665 \
                    github.com/pmezard/go-difflib \
                        lock    v1.0.0 \
                        rmd160  fc879bfbdef9e3ff50844def58404e2b5a613ab8 \
                        sha256  7cd492737641847266115f3060489a67f63581e521a8ec51efbc280c33fc991f \
                        size    11409 \
                    github.com/mitchellh/mapstructure \
                        lock    v1.4.2 \
                        rmd160  6a3184cba7d3d204604e48e556c3ce7b2e4b1a4e \
                        sha256  b227a0e8202623f03e08c650ad4565c84c60f99ff20b5a686d53863919ff6366 \
                        size    28309 \
                    github.com/davecgh/go-spew \
                        lock    v1.1.1 \
                        rmd160  7c02883aa81f81aca14e13a27fdca9e7fbc136f7 \
                        sha256  e85d6afa83e64962e0d63dd4812971eccf2b9b5445eda93f46a4406f0c177d5f \
                        size    42171 \
                    github.com/cpuguy83/go-md2man \
                        lock    f79a8a8ca69d \
                        rmd160  85f342c341fa928e9ec874490c277bdabf1c39c6 \
                        sha256  2f3f8bc701df4890a5a4baf0b632ad3290be1e0aaf572b2e58fd57df93efc306 \
                        size    52040
