Index: head/security/Makefile =================================================================== --- head/security/Makefile (revision 458660) +++ head/security/Makefile (revision 458661) @@ -1,1293 +1,1294 @@ # $FreeBSD$ # COMMENT = Security tools SUBDIR += 0d1n SUBDIR += 1password-client SUBDIR += 2fa SUBDIR += ADMsmb SUBDIR += ADMsnmp SUBDIR += R-cran-ROAuth SUBDIR += R-cran-digest SUBDIR += R-cran-openssl SUBDIR += acme-client SUBDIR += acme.sh SUBDIR += acmetool SUBDIR += aescrypt SUBDIR += aespipe SUBDIR += afl SUBDIR += afterglow SUBDIR += aide SUBDIR += akmos SUBDIR += amap SUBDIR += amavis-stats SUBDIR += amavisd-milter SUBDIR += amavisd-new SUBDIR += apache-xml-security-c SUBDIR += apg SUBDIR += arirang SUBDIR += arm SUBDIR += arpCounterattack SUBDIR += asignify SUBDIR += authforce SUBDIR += autossh SUBDIR += avcheck SUBDIR += axTLS SUBDIR += barnyard2 SUBDIR += barnyard2-sguil SUBDIR += base SUBDIR += base-audit SUBDIR += bcrypt SUBDIR += bcwipe SUBDIR += bdes SUBDIR += bearssl SUBDIR += beecrypt SUBDIR += belier SUBDIR += bfbtester SUBDIR += binwalk SUBDIR += bitwarden-ruby SUBDIR += blindelephant SUBDIR += boringssl SUBDIR += botan110 SUBDIR += botan2 SUBDIR += bro SUBDIR += broccoli SUBDIR += bruteblock SUBDIR += bruteforceblocker SUBDIR += bsdsfv SUBDIR += bsmtrace SUBDIR += bugs SUBDIR += bzrtp SUBDIR += ca_root_nss SUBDIR += calife SUBDIR += cardpeek SUBDIR += ccrypt SUBDIR += ccsrch SUBDIR += certificate-transparency SUBDIR += cfs SUBDIR += cfv SUBDIR += chaosreader SUBDIR += checkpassword SUBDIR += checkpassword-pam SUBDIR += chkrootkit SUBDIR += chntpw SUBDIR += chroot_safe SUBDIR += chrootuid SUBDIR += cisco-torch SUBDIR += ckpass SUBDIR += cksfv SUBDIR += cl-md5 SUBDIR += cl-md5-sbcl SUBDIR += clamassassin SUBDIR += clamav SUBDIR += clamav-milter SUBDIR += clamav-unofficial-sigs SUBDIR += clamcour SUBDIR += clamd-stream-client SUBDIR += clamfs SUBDIR += clamsmtp SUBDIR += clamtk SUBDIR += clusterssh SUBDIR += cops SUBDIR += courier-authlib SUBDIR += courier-authlib-base SUBDIR += courierpassd SUBDIR += courierpasswd SUBDIR += courieruserinfo SUBDIR += cp2fwb SUBDIR += cracklib SUBDIR += crackpkcs12 SUBDIR += crank SUBDIR += create-cert SUBDIR += cryptlib SUBDIR += cryptopp SUBDIR += ct-submit SUBDIR += cvechecker SUBDIR += cvm SUBDIR += cyberchef SUBDIR += cyrus-sasl2 SUBDIR += cyrus-sasl2-gssapi SUBDIR += cyrus-sasl2-ldapdb SUBDIR += cyrus-sasl2-saslauthd SUBDIR += cyrus-sasl2-sql SUBDIR += cyrus-sasl2-srp SUBDIR += d0_blind_id SUBDIR += dcetest SUBDIR += ddos_scan SUBDIR += dehydrated SUBDIR += denyhosts SUBDIR += destroy SUBDIR += digest SUBDIR += dirbuster SUBDIR += dirmngr SUBDIR += distcache SUBDIR += dmitry SUBDIR += doas SUBDIR += doorman SUBDIR += doscan SUBDIR += dotdotpwn SUBDIR += dropbear SUBDIR += dsniff SUBDIR += duo SUBDIR += easy-rsa SUBDIR += easy-rsa2 SUBDIR += elixir-comeonin SUBDIR += elixir-comeonin_i18n SUBDIR += elixir-jose SUBDIR += enchive SUBDIR += erlang-fast_tls SUBDIR += erlang-jose SUBDIR += eschalot SUBDIR += esteidfirefoxplugin SUBDIR += expiretable SUBDIR += f-prot SUBDIR += fakebo SUBDIR += fakeident SUBDIR += fakeroot SUBDIR += fastd SUBDIR += fastd-devel SUBDIR += fbopenssl SUBDIR += fcheck SUBDIR += fcrackzip SUBDIR += fiked SUBDIR += find-zlib SUBDIR += firewalk SUBDIR += fl0p SUBDIR += flawfinder SUBDIR += fpc-openssl SUBDIR += fpm2 SUBDIR += fprint_demo SUBDIR += fprintd SUBDIR += fragroute SUBDIR += fragrouter SUBDIR += fsh SUBDIR += fswatch SUBDIR += ftimes SUBDIR += fuzz SUBDIR += fwanalog SUBDIR += fwbuilder SUBDIR += fwipe SUBDIR += fwknop SUBDIR += fwlogwatch SUBDIR += gag SUBDIR += gcipher SUBDIR += gcr SUBDIR += git-crypt SUBDIR += git-remote-gcrypt SUBDIR += gnome-gpg SUBDIR += gnome-keyring SUBDIR += gnome-keyring-sharp SUBDIR += gnome-password-generator SUBDIR += gnome-ssh-askpass SUBDIR += gnomint SUBDIR += gnupg SUBDIR += gnupg1 SUBDIR += gnutls SUBDIR += go-cve-dictionary SUBDIR += go.crypto SUBDIR += goptlib SUBDIR += gorilla SUBDIR += govpn SUBDIR += gpa SUBDIR += gpasman SUBDIR += gpass SUBDIR += gpgdir SUBDIR += gpgme SUBDIR += gpgme-cpp SUBDIR += gpgme-qt5 SUBDIR += gputty SUBDIR += greenbone-security-assistant8 SUBDIR += greenbone-security-assistant9 SUBDIR += gringotts SUBDIR += gsasl SUBDIR += gss SUBDIR += gstreamer1-plugins-dtls SUBDIR += gtk-knocker SUBDIR += gtkpasman SUBDIR += gwee SUBDIR += hackbot SUBDIR += hamachi SUBDIR += hardening-check SUBDIR += hashcat SUBDIR += hashcat-legacy SUBDIR += heimdal SUBDIR += highwayhash SUBDIR += hitch SUBDIR += hlfl SUBDIR += hmap SUBDIR += honeybadger SUBDIR += honggfuzz SUBDIR += hotssh SUBDIR += hpenc SUBDIR += hs-Crypto SUBDIR += hs-DRBG SUBDIR += hs-HsOpenSSL SUBDIR += hs-RSA SUBDIR += hs-SHA SUBDIR += hs-certificate SUBDIR += hs-cipher-aes SUBDIR += hs-cipher-aes128 SUBDIR += hs-cipher-blowfish SUBDIR += hs-cipher-camellia SUBDIR += hs-cipher-des SUBDIR += hs-cipher-rc4 SUBDIR += hs-clientsession SUBDIR += hs-cprng-aes SUBDIR += hs-crypto-api SUBDIR += hs-crypto-cipher-types SUBDIR += hs-crypto-conduit SUBDIR += hs-crypto-numbers SUBDIR += hs-crypto-pubkey SUBDIR += hs-crypto-pubkey-types SUBDIR += hs-crypto-random SUBDIR += hs-crypto-random-api SUBDIR += hs-cryptocipher SUBDIR += hs-cryptohash SUBDIR += hs-cryptohash-conduit SUBDIR += hs-cryptohash-cryptoapi SUBDIR += hs-cryptohash-md5 SUBDIR += hs-cryptohash-sha1 SUBDIR += hs-cryptohash-sha256 SUBDIR += hs-cryptonite SUBDIR += hs-digest SUBDIR += hs-ed25519 SUBDIR += hs-entropy SUBDIR += hs-gnutls SUBDIR += hs-hackage-security SUBDIR += hs-monadcryptorandom SUBDIR += hs-nonce SUBDIR += hs-pem SUBDIR += hs-pureMD5 SUBDIR += hs-pwstore-fast SUBDIR += hs-skein SUBDIR += hs-tls SUBDIR += hs-tls-session-manager SUBDIR += hs-x509 SUBDIR += hs-x509-store SUBDIR += hs-x509-system SUBDIR += hs-x509-validation SUBDIR += httprint SUBDIR += hydra SUBDIR += i2p SUBDIR += i2pd SUBDIR += iaikpkcs11wrapper SUBDIR += idea SUBDIR += identify SUBDIR += ike SUBDIR += ike-scan SUBDIR += integrit SUBDIR += ipfcount SUBDIR += ipfilter2dshield SUBDIR += ipfmeta SUBDIR += ipfw2dshield SUBDIR += ipfwcount SUBDIR += ipguard SUBDIR += ipsec-tools SUBDIR += ipv6toolkit SUBDIR += isakmpd SUBDIR += isnprober SUBDIR += jbrofuzz SUBDIR += john SUBDIR += kbfs SUBDIR += kc SUBDIR += kdbx-viewer SUBDIR += kedpm SUBDIR += keepass SUBDIR += keepassx SUBDIR += keepassx-devel SUBDIR += keepassx2 SUBDIR += keepassxc SUBDIR += keybase SUBDIR += keychain SUBDIR += keynote SUBDIR += keyprint SUBDIR += kf5-kdesu SUBDIR += kgpg-kde4 SUBDIR += kickpass SUBDIR += knock SUBDIR += knocker SUBDIR += kpcli SUBDIR += kqoauth SUBDIR += krb5 SUBDIR += krb5-114 SUBDIR += krb5-115 SUBDIR += krb5-116 SUBDIR += krb5-appl SUBDIR += krb5-devel SUBDIR += kripp SUBDIR += kstart SUBDIR += kwalletmanager SUBDIR += l0pht-watch SUBDIR += l0phtcrack SUBDIR += l5 SUBDIR += lasso SUBDIR += lastpass-cli SUBDIR += libadacrypt SUBDIR += libargon2 SUBDIR += libassuan SUBDIR += libbeid SUBDIR += libbf SUBDIR += libcryptui SUBDIR += libdecaf SUBDIR += libecc SUBDIR += libfprint SUBDIR += libgcrypt SUBDIR += libgnome-keyring SUBDIR += libgnomesu SUBDIR += libgpg-error SUBDIR += libgringotts SUBDIR += libhijack SUBDIR += libident SUBDIR += libkpass SUBDIR += libksba SUBDIR += libmcrypt SUBDIR += libntlm SUBDIR += libotr SUBDIR += libotr3 SUBDIR += libp11 SUBDIR += libprelude SUBDIR += libpreludedb SUBDIR += libpwquality SUBDIR += libpwstor SUBDIR += libressl SUBDIR += libressl-devel SUBDIR += libscrypt SUBDIR += libsecret SUBDIR += libsectok SUBDIR += libsodium SUBDIR += libsparkcrypto SUBDIR += libssh SUBDIR += libssh2 SUBDIR += libtasn1 SUBDIR += libtomcrypt SUBDIR += libu2f-host SUBDIR += libuecc SUBDIR += libwhisker SUBDIR += libyubikey SUBDIR += libzrtpcppcore SUBDIR += linux-c6-cyrus-sasl2 SUBDIR += linux-c6-gnutls SUBDIR += linux-c6-libgcrypt SUBDIR += linux-c6-libgpg-error SUBDIR += linux-c6-libssh2 SUBDIR += linux-c6-libtasn1 SUBDIR += linux-c6-nss SUBDIR += linux-c6-openssl SUBDIR += linux-c7-cyrus-sasl2 SUBDIR += linux-c7-gnutls SUBDIR += linux-c7-libgcrypt SUBDIR += linux-c7-libgpg-error SUBDIR += linux-c7-libssh2 SUBDIR += linux-c7-libtasn1 SUBDIR += linux-c7-nettle SUBDIR += linux-c7-nss SUBDIR += linux-c7-openssl SUBDIR += linux-c7-p11-kit SUBDIR += linux-c7-trousers SUBDIR += lockdown SUBDIR += log2timeline SUBDIR += logcheck SUBDIR += luasec SUBDIR += luasec-51 SUBDIR += lynis SUBDIR += mac-robber SUBDIR += maia SUBDIR += mailzu SUBDIR += makepasswd SUBDIR += manipulate_data SUBDIR += masscan SUBDIR += matrixssl SUBDIR += mbedtls SUBDIR += mcrypt SUBDIR += md4coll SUBDIR += md5coll SUBDIR += md5deep SUBDIR += mdcrack SUBDIR += medusa SUBDIR += meek SUBDIR += metasploit SUBDIR += mhash SUBDIR += mindterm-binary SUBDIR += monkeysphere SUBDIR += morphis SUBDIR += munge SUBDIR += mussh SUBDIR += nacl SUBDIR += ncrack SUBDIR += ncrypt SUBDIR += netpgp SUBDIR += nettle SUBDIR += nextcloud-twofactor_totp SUBDIR += nextcloud-twofactor_u2f SUBDIR += ngrok SUBDIR += nikto SUBDIR += nist-kat SUBDIR += nmap SUBDIR += nss SUBDIR += nss_compat_ossl SUBDIR += nyx SUBDIR += oath-toolkit SUBDIR += obfs4proxy-tor SUBDIR += obfsclient SUBDIR += obfsproxy SUBDIR += ocaml-cryptgps SUBDIR += ocaml-cryptokit SUBDIR += ocaml-ssl SUBDIR += oidentd SUBDIR += oinkmaster SUBDIR += op SUBDIR += openbsm SUBDIR += openca-tools-forked SUBDIR += opencdk SUBDIR += openconnect SUBDIR += openconnect-gui SUBDIR += opencryptoki SUBDIR += openct SUBDIR += openiked SUBDIR += opensaml2 SUBDIR += opensc SUBDIR += openscep SUBDIR += openssh-askpass SUBDIR += openssh-portable SUBDIR += openssl SUBDIR += openssl-devel SUBDIR += openssl-unsafe SUBDIR += openssl_tpm_engine SUBDIR += openvas8 SUBDIR += openvas8-cli SUBDIR += openvas8-libraries SUBDIR += openvas8-manager SUBDIR += openvas8-scanner SUBDIR += openvas9 SUBDIR += openvas9-cli SUBDIR += openvas9-libraries SUBDIR += openvas9-manager SUBDIR += openvas9-scanner SUBDIR += openvpn SUBDIR += openvpn-admin SUBDIR += openvpn-auth-ldap SUBDIR += openvpn-auth-radius SUBDIR += openvpn-devel SUBDIR += openvpn-mbedtls SUBDIR += ophcrack SUBDIR += orthrus SUBDIR += osiris SUBDIR += ossec-hids-client SUBDIR += ossec-hids-local SUBDIR += ossec-hids-server SUBDIR += osslsigncode SUBDIR += otpw SUBDIR += outguess SUBDIR += p11-kit SUBDIR += p5-Apache-Htpasswd SUBDIR += p5-App-Genpass SUBDIR += p5-App-TLSMe SUBDIR += p5-Auth-YubikeyDecrypter SUBDIR += p5-AuthCAS SUBDIR += p5-Authen-Bitcard SUBDIR += p5-Authen-Captcha SUBDIR += p5-Authen-CyrusSASL SUBDIR += p5-Authen-DecHpwd SUBDIR += p5-Authen-Htpasswd SUBDIR += p5-Authen-Krb5 SUBDIR += p5-Authen-Krb5-Simple SUBDIR += p5-Authen-Libwrap SUBDIR += p5-Authen-NTLM SUBDIR += p5-Authen-OATH SUBDIR += p5-Authen-PAAS SUBDIR += p5-Authen-PAM SUBDIR += p5-Authen-Passphrase SUBDIR += p5-Authen-PluggableCaptcha SUBDIR += p5-Authen-Radius SUBDIR += p5-Authen-SASL SUBDIR += p5-Authen-SASL-Cyrus SUBDIR += p5-Authen-SASL-SASLprep SUBDIR += p5-Authen-SCRAM SUBDIR += p5-Authen-Simple SUBDIR += p5-Authen-Simple-DBI SUBDIR += p5-Authen-Simple-DBM SUBDIR += p5-Authen-Simple-HTTP SUBDIR += p5-Authen-Simple-Kerberos SUBDIR += p5-Authen-Simple-LDAP SUBDIR += p5-Authen-Simple-Net SUBDIR += p5-Authen-Simple-PAM SUBDIR += p5-Authen-Simple-Passwd SUBDIR += p5-Authen-Simple-RADIUS SUBDIR += p5-Authen-Simple-SMB SUBDIR += p5-Authen-Simple-SSH SUBDIR += p5-Authen-Smb SUBDIR += p5-Authen-TacacsPlus SUBDIR += p5-Authen-Ticket SUBDIR += p5-Authen-TypeKey SUBDIR += p5-Business-PayPal-EWP SUBDIR += p5-Bytes-Random-Secure SUBDIR += p5-CACertOrg-CA SUBDIR += p5-CSP SUBDIR += p5-Cisco-Hash SUBDIR += p5-Crypt-Anubis SUBDIR += p5-Crypt-AppleTwoFish SUBDIR += p5-Crypt-Blowfish SUBDIR += p5-Crypt-Blowfish_PP SUBDIR += p5-Crypt-CAST5 SUBDIR += p5-Crypt-CAST5_PP SUBDIR += p5-Crypt-CBC SUBDIR += p5-Crypt-CBCeasy SUBDIR += p5-Crypt-CFB SUBDIR += p5-Crypt-Caesar SUBDIR += p5-Crypt-Camellia_PP SUBDIR += p5-Crypt-Chimera SUBDIR += p5-Crypt-CipherSaber SUBDIR += p5-Crypt-Cracklib SUBDIR += p5-Crypt-Ctr SUBDIR += p5-Crypt-Curve25519 SUBDIR += p5-Crypt-DES SUBDIR += p5-Crypt-DES_EDE3 SUBDIR += p5-Crypt-DES_PP SUBDIR += p5-Crypt-DH SUBDIR += p5-Crypt-DSA SUBDIR += p5-Crypt-Dining SUBDIR += p5-Crypt-ECB SUBDIR += p5-Crypt-Eksblowfish SUBDIR += p5-Crypt-Enigma SUBDIR += p5-Crypt-Format SUBDIR += p5-Crypt-GCrypt SUBDIR += p5-Crypt-GOST SUBDIR += p5-Crypt-GOST_PP SUBDIR += p5-Crypt-GPG SUBDIR += p5-Crypt-GeneratePassword SUBDIR += p5-Crypt-HCE_MD5 SUBDIR += p5-Crypt-HCE_SHA SUBDIR += p5-Crypt-IDEA SUBDIR += p5-Crypt-Imail SUBDIR += p5-Crypt-Juniper SUBDIR += p5-Crypt-Khazad SUBDIR += p5-Crypt-LE SUBDIR += p5-Crypt-License SUBDIR += p5-Crypt-Lite SUBDIR += p5-Crypt-Loki97 SUBDIR += p5-Crypt-MySQL SUBDIR += p5-Crypt-NULL SUBDIR += p5-Crypt-OFB SUBDIR += p5-Crypt-OICQ SUBDIR += p5-Crypt-OTP SUBDIR += p5-Crypt-OpenPGP SUBDIR += p5-Crypt-OpenSSL-AES SUBDIR += p5-Crypt-OpenSSL-Bignum SUBDIR += p5-Crypt-OpenSSL-CA SUBDIR += p5-Crypt-OpenSSL-DSA SUBDIR += p5-Crypt-OpenSSL-EC SUBDIR += p5-Crypt-OpenSSL-ECDSA SUBDIR += p5-Crypt-OpenSSL-PKCS10 SUBDIR += p5-Crypt-OpenSSL-RSA SUBDIR += p5-Crypt-OpenSSL-Random SUBDIR += p5-Crypt-OpenSSL-X509 SUBDIR += p5-Crypt-PBKDF2 SUBDIR += p5-Crypt-PKCS10 SUBDIR += p5-Crypt-PWSafe3 SUBDIR += p5-Crypt-PassGen SUBDIR += p5-Crypt-Passwd-XS SUBDIR += p5-Crypt-PasswdMD5 SUBDIR += p5-Crypt-Password-Util SUBDIR += p5-Crypt-Primes SUBDIR += p5-Crypt-RC4 SUBDIR += p5-Crypt-RC5 SUBDIR += p5-Crypt-RC6 SUBDIR += p5-Crypt-RHash SUBDIR += p5-Crypt-RIPEMD160 SUBDIR += p5-Crypt-RSA SUBDIR += p5-Crypt-RSA-Parse SUBDIR += p5-Crypt-RSA-Yandex SUBDIR += p5-Crypt-Rabbit SUBDIR += p5-Crypt-RandPasswd SUBDIR += p5-Crypt-Random SUBDIR += p5-Crypt-Random-Seed SUBDIR += p5-Crypt-Random-Source SUBDIR += p5-Crypt-Random-TESHA2 SUBDIR += p5-Crypt-Rijndael SUBDIR += p5-Crypt-Rijndael_PP SUBDIR += p5-Crypt-SKey SUBDIR += p5-Crypt-SMIME SUBDIR += p5-Crypt-SSLeay SUBDIR += p5-Crypt-Salt SUBDIR += p5-Crypt-SaltedHash SUBDIR += p5-Crypt-Serpent SUBDIR += p5-Crypt-Shark SUBDIR += p5-Crypt-Simple SUBDIR += p5-Crypt-SmbHash SUBDIR += p5-Crypt-Sodium SUBDIR += p5-Crypt-Solitaire SUBDIR += p5-Crypt-TEA SUBDIR += p5-Crypt-T_e_a SUBDIR += p5-Crypt-Tea_JS SUBDIR += p5-Crypt-TripleDES SUBDIR += p5-Crypt-Twofish SUBDIR += p5-Crypt-Twofish2 SUBDIR += p5-Crypt-Twofish_PP SUBDIR += p5-Crypt-URandom SUBDIR += p5-Crypt-UnixCrypt SUBDIR += p5-Crypt-UnixCrypt_XS SUBDIR += p5-Crypt-X509 SUBDIR += p5-Crypt-XTEA SUBDIR += p5-Crypt-xDBM_File SUBDIR += p5-CryptX SUBDIR += p5-Dancer-Plugin-Auth-Extensible SUBDIR += p5-Dancer-Plugin-Auth-Extensible-Provider-Usergroup SUBDIR += p5-Dancer-Plugin-Passphrase SUBDIR += p5-Dancer2-Plugin-Auth-Extensible SUBDIR += p5-Dancer2-Plugin-Auth-Extensible-Provider-DBIC SUBDIR += p5-Dancer2-Plugin-Auth-Extensible-Provider-Database SUBDIR += p5-Dancer2-Plugin-Auth-Extensible-Provider-IMAP SUBDIR += p5-Dancer2-Plugin-Auth-Extensible-Provider-Usergroup SUBDIR += p5-Dancer2-Plugin-Passphrase SUBDIR += p5-Data-Entropy SUBDIR += p5-Data-Password SUBDIR += p5-Digest SUBDIR += p5-Digest-Adler32 SUBDIR += p5-Digest-Bcrypt SUBDIR += p5-Digest-BubbleBabble SUBDIR += p5-Digest-CRC SUBDIR += p5-Digest-Crc32 SUBDIR += p5-Digest-DJB SUBDIR += p5-Digest-DMAC SUBDIR += p5-Digest-EMAC SUBDIR += p5-Digest-Elf SUBDIR += p5-Digest-FNV SUBDIR += p5-Digest-GOST SUBDIR += p5-Digest-HMAC SUBDIR += p5-Digest-Hashcash SUBDIR += p5-Digest-Haval256 SUBDIR += p5-Digest-JHash SUBDIR += p5-Digest-MD2 SUBDIR += p5-Digest-MD4 SUBDIR += p5-Digest-MD5 SUBDIR += p5-Digest-MD5-File SUBDIR += p5-Digest-MD5-M4p SUBDIR += p5-Digest-MD5-Reverse SUBDIR += p5-Digest-ManberHash SUBDIR += p5-Digest-MurmurHash SUBDIR += p5-Digest-Nilsimsa SUBDIR += p5-Digest-Pearson SUBDIR += p5-Digest-Pearson-PurePerl SUBDIR += p5-Digest-Perl-MD4 SUBDIR += p5-Digest-Perl-MD5 SUBDIR += p5-Digest-SHA SUBDIR += p5-Digest-SHA-PurePerl SUBDIR += p5-Digest-SHA1 SUBDIR += p5-Digest-SHA3 SUBDIR += p5-Digest-SV1 SUBDIR += p5-Digest-Tiger SUBDIR += p5-Digest-Whirlpool SUBDIR += p5-File-KeePass SUBDIR += p5-File-KeePass-Agent SUBDIR += p5-File-Scan SUBDIR += p5-File-Scan-ClamAV SUBDIR += p5-Filter-CBC SUBDIR += p5-Filter-Crypto SUBDIR += p5-GD-SecurityImage SUBDIR += p5-GSSAPI SUBDIR += p5-GnuPG SUBDIR += p5-GnuPG-Interface SUBDIR += p5-HTML-Email-Obfuscate SUBDIR += p5-Heimdal-Kadm5 SUBDIR += p5-IO-Async-SSL SUBDIR += p5-IO-Socket-SSL SUBDIR += p5-MD5 SUBDIR += p5-Mcrypt SUBDIR += p5-Module-Signature SUBDIR += p5-Net-Daemon-SSL SUBDIR += p5-Net-OpenID-Common SUBDIR += p5-Net-OpenID-JanRain SUBDIR += p5-Net-OpenID-Server SUBDIR += p5-Net-Radius-Server SUBDIR += p5-Net-SAML SUBDIR += p5-Net-SSH-AuthorizedKeysFile SUBDIR += p5-Net-SSL-ExpireDate SUBDIR += p5-Net-SSLGlue SUBDIR += p5-Net-SSLeay SUBDIR += p5-Net-Server-Mail-ESMTP-AUTH SUBDIR += p5-Net-SinFP SUBDIR += p5-Nmap-Parser SUBDIR += p5-Nmap-Scanner SUBDIR += p5-OpenCA-CRL SUBDIR += p5-OpenCA-CRR SUBDIR += p5-OpenCA-OpenSSL SUBDIR += p5-OpenCA-PKCS7 SUBDIR += p5-OpenCA-REQ SUBDIR += p5-OpenCA-X509 SUBDIR += p5-PBKDF2-Tiny SUBDIR += p5-PGP SUBDIR += p5-PGP-Sign SUBDIR += p5-POE-Component-SSLify SUBDIR += p5-POE-Filter-SSL SUBDIR += p5-Parse-Snort SUBDIR += p5-PerlCryptLib SUBDIR += p5-Protocol-ACME SUBDIR += p5-SAVI-Perl SUBDIR += p5-SHA SUBDIR += p5-Safe-Hole SUBDIR += p5-Session-Token SUBDIR += p5-Snort-Rule SUBDIR += p5-String-MkPasswd SUBDIR += p5-Sudo SUBDIR += p5-Text-Password-Pronounceable SUBDIR += p5-Tie-EncryptedHash SUBDIR += p5-Tree-Authz SUBDIR += p5-Unix-Passwd-File SUBDIR += p5-Yahoo-BBAuth SUBDIR += p5-dicewaregen SUBDIR += p5-openxpki SUBDIR += p5-openxpki-i18n SUBDIR += pad SUBDIR += pam-modules SUBDIR += pam-mysql SUBDIR += pam-pgsql SUBDIR += pam_fprint SUBDIR += pam_google_authenticator SUBDIR += pam_helper SUBDIR += pam_jail SUBDIR += pam_kde SUBDIR += pam_krb5 SUBDIR += pam_krb5-rh SUBDIR += pam_ldap SUBDIR += pam_mkhomedir SUBDIR += pam_ocra SUBDIR += pam_p11 SUBDIR += pam_per_user SUBDIR += pam_pseudo SUBDIR += pam_pwdfile SUBDIR += pam_require SUBDIR += pam_search_list SUBDIR += pam_ssh_agent_auth SUBDIR += pam_yubico SUBDIR += pamtester SUBDIR += paperkey SUBDIR += parano SUBDIR += passivedns SUBDIR += pbc SUBDIR += pbnj SUBDIR += pcsc-tools SUBDIR += pdfcrack SUBDIR += pear-Auth SUBDIR += pear-Auth_HTTP SUBDIR += pear-Auth_PrefManager SUBDIR += pear-Auth_SASL SUBDIR += pear-Crypt_Blowfish SUBDIR += pear-Crypt_CBC SUBDIR += pear-Crypt_CHAP SUBDIR += pear-Crypt_DiffieHellman SUBDIR += pear-Crypt_GPG SUBDIR += pear-Crypt_HMAC2 SUBDIR += pear-Crypt_MicroID SUBDIR += pear-Crypt_RC4 SUBDIR += pear-Crypt_RSA SUBDIR += pear-Crypt_XXTEA SUBDIR += pear-File_HtAccess SUBDIR += pear-File_Passwd SUBDIR += pear-File_SMBPasswd SUBDIR += pear-HTML_Crypt SUBDIR += pear-Horde_Auth SUBDIR += pear-Horde_Crypt SUBDIR += pear-Horde_Crypt_Blowfish SUBDIR += pear-Horde_Group SUBDIR += pear-Horde_Oauth SUBDIR += pear-Horde_Perms SUBDIR += pear-Horde_Secret SUBDIR += pear-Horde_Share SUBDIR += pear-LiveUser SUBDIR += pear-LiveUser_Admin SUBDIR += pear-Net_Portscan SUBDIR += pear-Text_Password SUBDIR += pecl-crack SUBDIR += pecl-crypto SUBDIR += pecl-gnupg SUBDIR += pecl-krb5 SUBDIR += pecl-libsodium SUBDIR += pecl-mcrypt SUBDIR += pecl-pam SUBDIR += pecl-scrypt SUBDIR += pecl-ssh2 SUBDIR += pecl-ssh2-0 SUBDIR += pev SUBDIR += pft SUBDIR += pgpdump SUBDIR += pgpgpg SUBDIR += pgpin SUBDIR += php-suhosin SUBDIR += php56-filter SUBDIR += php56-hash SUBDIR += php56-mcrypt SUBDIR += php56-openssl SUBDIR += php70-filter SUBDIR += php70-hash SUBDIR += php70-mcrypt SUBDIR += php70-openssl SUBDIR += php71-filter SUBDIR += php71-hash SUBDIR += php71-mcrypt SUBDIR += php71-openssl SUBDIR += php72-filter SUBDIR += php72-hash SUBDIR += php72-openssl SUBDIR += php72-sodium SUBDIR += phpdeadlock SUBDIR += phpsecinfo SUBDIR += pidentd SUBDIR += pidgin-encryption SUBDIR += pidgin-otr SUBDIR += pinentry SUBDIR += pinentry-curses SUBDIR += pinentry-gnome3 SUBDIR += pinentry-gtk2 SUBDIR += pinentry-qt4 SUBDIR += pinentry-qt5 SUBDIR += pinentry-tty SUBDIR += pixiewps SUBDIR += pkcrack SUBDIR += pkcs11-dump SUBDIR += pkcs11-gateway SUBDIR += pkcs11-helper SUBDIR += pkesh SUBDIR += pks SUBDIR += pktsuckers SUBDIR += please SUBDIR += polarssl13 SUBDIR += poly1305aes SUBDIR += pond SUBDIR += portsentry SUBDIR += ppars SUBDIR += proftpd-mod_clamav SUBDIR += proxycheck SUBDIR += proxytunnel SUBDIR += pscan SUBDIR += pssh SUBDIR += pulledpork SUBDIR += pure-sfv SUBDIR += putty SUBDIR += putty-nogtk SUBDIR += pvk SUBDIR += pwauth SUBDIR += pwman SUBDIR += pwman3 SUBDIR += pwned-check SUBDIR += pxytest SUBDIR += py-AccessControl SUBDIR += py-PF SUBDIR += py-Products.PlonePAS SUBDIR += py-Products.PluggableAuthService SUBDIR += py-RestrictedPython SUBDIR += py-SecretStorage SUBDIR += py-YubiOTP SUBDIR += py-acme SUBDIR += py-acme-tiny SUBDIR += py-artifacts SUBDIR += py-backports.ssl_match_hostname SUBDIR += py-bcrypt SUBDIR += py-borg.localrole SUBDIR += py-btchip-python SUBDIR += py-cerealizer SUBDIR += py-certbot SUBDIR += py-certifi SUBDIR += py-cpe SUBDIR += py-cracklib SUBDIR += py-cryptkit SUBDIR += py-cryptlib_py SUBDIR += py-cryptography SUBDIR += py-cybox SUBDIR += py-dfdatetime SUBDIR += py-dfvfs SUBDIR += py-dfwinreg SUBDIR += py-docker-pycreds SUBDIR += py-ecdsa SUBDIR += py-ed25519ll SUBDIR += py-fail2ban SUBDIR += py-fchksum SUBDIR += py-first-server SUBDIR += py-flask-httpauth SUBDIR += py-gixy SUBDIR += py-gnupg SUBDIR += py-gnutls SUBDIR += py-google-auth SUBDIR += py-gpgme SUBDIR += py-gpsoauth SUBDIR += py-halberd SUBDIR += py-hkdf SUBDIR += py-htpasswd SUBDIR += py-itsdangerous SUBDIR += py-kerberos SUBDIR += py-keyczar SUBDIR += py-keyring SUBDIR += py-keyrings.alt SUBDIR += py-keystone SUBDIR += py-libnacl SUBDIR += py-m2crypto SUBDIR += py-maec SUBDIR += py-mcrypt SUBDIR += py-mhash SUBDIR += py-mixbox SUBDIR += py-mnemonic SUBDIR += py-oauth2client SUBDIR += py-oauthlib SUBDIR += py-onetime SUBDIR += py-openssl SUBDIR += py-paramiko SUBDIR += py-paramiko1 SUBDIR += py-passlib SUBDIR += py-pbkdf2 SUBDIR += py-pgpdump SUBDIR += py-plaso SUBDIR += py-plone.app.openid SUBDIR += py-plone.keyring SUBDIR += py-plone.openid SUBDIR += py-plone.protect SUBDIR += py-plone.session SUBDIR += py-potr SUBDIR += py-pow SUBDIR += py-pyaes SUBDIR += py-pyaff4 SUBDIR += py-pyaxo SUBDIR += py-pyclamd SUBDIR += py-pycrypto SUBDIR += py-pycryptodome SUBDIR += py-pycryptopp SUBDIR += py-pydeep SUBDIR += py-pyelliptic SUBDIR += py-pylibacl SUBDIR += py-pymacaroons-pynacl SUBDIR += py-pynacl SUBDIR += py-pyotp SUBDIR += py-pyptlib SUBDIR += py-pysaml2 SUBDIR += py-pyscard SUBDIR += py-pysha3 SUBDIR += py-python-gnupg SUBDIR += py-python-openid SUBDIR += py-python-registry SUBDIR += py-python-social-auth SUBDIR += py-rekall SUBDIR += py-rekall-core SUBDIR += py-requests-kerberos SUBDIR += py-rsa SUBDIR += py-safe SUBDIR += py-scrypt SUBDIR += py-service_identity SUBDIR += py-signedjson SUBDIR += py-slowaes SUBDIR += py-spake2 SUBDIR += py-ssh SUBDIR += py-ssh-audit SUBDIR += py-sslstrip SUBDIR += py-stem SUBDIR += py-stix SUBDIR += py-tlslite SUBDIR += py-trezor SUBDIR += py-trustedpickle SUBDIR += py-tuf SUBDIR += py-twofish SUBDIR += py-txtorcon SUBDIR += py-virustotal-api SUBDIR += py-volatility SUBDIR += py-vulndb SUBDIR += py-yara SUBDIR += py-yubioath-desktop SUBDIR += py-zope.app.authentication SUBDIR += py-zope.app.localpermission SUBDIR += py-zope.app.principalannotation SUBDIR += py-zope.app.security SUBDIR += py-zope.app.securitypolicy SUBDIR += py-zope.authentication SUBDIR += py-zope.login SUBDIR += py-zope.password SUBDIR += py-zope.pluggableauth SUBDIR += py-zope.principalannotation SUBDIR += py-zope.principalregistry SUBDIR += py-zope.security SUBDIR += py-zope.securitypolicy SUBDIR += py-zope.session SUBDIR += py-zxcvbn-python SUBDIR += qtkeychain-qt4 SUBDIR += qtkeychain-qt5 SUBDIR += quantis SUBDIR += quantis-kmod SUBDIR += racoon2 SUBDIR += radamsa SUBDIR += ranpwd SUBDIR += ratproxy SUBDIR += rats SUBDIR += razorback-api SUBDIR += razorback-archiveInflate SUBDIR += razorback-clamavNugget SUBDIR += razorback-dispatcher SUBDIR += razorback-fileInject SUBDIR += razorback-fsMonitor SUBDIR += razorback-fsWalk SUBDIR += razorback-masterNugget SUBDIR += razorback-officeCat SUBDIR += razorback-pdfFox SUBDIR += razorback-scriptNugget SUBDIR += razorback-swfScanner SUBDIR += razorback-syslogNugget SUBDIR += razorback-virusTotal SUBDIR += razorback-yaraNugget SUBDIR += rcracki_mt SUBDIR += rdigest SUBDIR += regripper SUBDIR += reop SUBDIR += retranslator SUBDIR += revealrk SUBDIR += revelation SUBDIR += rhash SUBDIR += rifiuti2 SUBDIR += rkhunter SUBDIR += rndpassw SUBDIR += ruby-camellia SUBDIR += rubygem-airbrussh SUBDIR += rubygem-attr_encrypted SUBDIR += rubygem-bcrypt SUBDIR += rubygem-bcrypt-ruby SUBDIR += rubygem-bcrypt_pbkdf SUBDIR += rubygem-devise-two-factor SUBDIR += rubygem-devise-two-factor-rails5 SUBDIR += rubygem-devise-two-factor-rails50 SUBDIR += rubygem-digest-crc SUBDIR += rubygem-doorkeeper SUBDIR += rubygem-doorkeeper-openid_connect SUBDIR += rubygem-doorkeeper-rails5 SUBDIR += rubygem-doorkeeper-rails50 SUBDIR += rubygem-encryptor SUBDIR += rubygem-ezcrypto SUBDIR += rubygem-googleauth SUBDIR += rubygem-gpgme SUBDIR += rubygem-gpgr SUBDIR += rubygem-gssapi SUBDIR += rubygem-hkdf SUBDIR += rubygem-jugyo-twitter_oauth SUBDIR += rubygem-metasploit-aggregator SUBDIR += rubygem-metasploit-concern SUBDIR += rubygem-metasploit-credential SUBDIR += rubygem-metasploit-model SUBDIR += rubygem-metasploit-payloads SUBDIR += rubygem-metasploit_data_models SUBDIR += rubygem-metasploit_payloads-mettle SUBDIR += rubygem-nessus_rest SUBDIR += rubygem-net-scp SUBDIR += rubygem-net-sftp SUBDIR += rubygem-net-ssh SUBDIR += rubygem-net-ssh-gateway SUBDIR += rubygem-net-ssh-gateway1 SUBDIR += rubygem-net-ssh-multi SUBDIR += rubygem-net-telnet SUBDIR += rubygem-nexpose SUBDIR += rubygem-nmap-parser SUBDIR += rubygem-omniauth SUBDIR += rubygem-omniauth-bitbucket SUBDIR += rubygem-omniauth-cas3 SUBDIR += rubygem-omniauth-gitlab SUBDIR += rubygem-omniauth-multipassword SUBDIR += rubygem-omniauth-oauth2-generic SUBDIR += rubygem-omniauth-saml SUBDIR += rubygem-omniauth-shibboleth SUBDIR += rubygem-openssl SUBDIR += rubygem-openssl-ccm SUBDIR += rubygem-openssl20 SUBDIR += rubygem-openvas-omp SUBDIR += rubygem-origami SUBDIR += rubygem-pbkdf2-ruby SUBDIR += rubygem-pundit SUBDIR += rubygem-pyu-ruby-sasl SUBDIR += rubygem-rack-oauth2 SUBDIR += rubygem-razorback-scriptNugget SUBDIR += rubygem-rbnacl SUBDIR += rubygem-rbnacl-libsodium SUBDIR += rubygem-rbnacl4 SUBDIR += rubygem-recog SUBDIR += rubygem-rex-arch SUBDIR += rubygem-rex-bin_tools SUBDIR += rubygem-rex-core SUBDIR += rubygem-rex-encoder SUBDIR += rubygem-rex-exploitation SUBDIR += rubygem-rex-java SUBDIR += rubygem-rex-mime SUBDIR += rubygem-rex-nop SUBDIR += rubygem-rex-ole SUBDIR += rubygem-rex-powershell SUBDIR += rubygem-rex-random_identifier SUBDIR += rubygem-rex-registry SUBDIR += rubygem-rex-rop_builder SUBDIR += rubygem-rex-socket SUBDIR += rubygem-rex-sslscan SUBDIR += rubygem-rex-struct2 SUBDIR += rubygem-rex-text SUBDIR += rubygem-rex-zip SUBDIR += rubygem-roauth SUBDIR += rubygem-ruby-hmac SUBDIR += rubygem-ruby-rc4 SUBDIR += rubygem-ruby-saml SUBDIR += rubygem-scrypt SUBDIR += rubygem-securecompare SUBDIR += rubygem-signet SUBDIR += rubygem-six SUBDIR += rubygem-sshkey SUBDIR += rubygem-sshkit SUBDIR += rubygem-timfel-krb5 SUBDIR += rubygem-twitter_oauth SUBDIR += rubygem-webpush SUBDIR += s2n SUBDIR += safesh SUBDIR += samhain SUBDIR += samhain-client SUBDIR += samhain-server SUBDIR += sancp SUBDIR += sandsifter SUBDIR += sasp SUBDIR += scamp SUBDIR += scanhill SUBDIR += scanlogd SUBDIR += scanssh SUBDIR += scrypt SUBDIR += seahorse SUBDIR += seccure SUBDIR += secpanel SUBDIR += sectok SUBDIR += secure_delete SUBDIR += sguil SUBDIR += sha SUBDIR += sha1collisiondetection SUBDIR += sha2wordlist SUBDIR += shibboleth2-sp SUBDIR += shimmer SUBDIR += shishi SUBDIR += shttpscanner SUBDIR += sig2dot SUBDIR += signify SUBDIR += signing-party SUBDIR += silktools SUBDIR += sinfp SUBDIR += sks SUBDIR += slurpie SUBDIR += slush SUBDIR += smap SUBDIR += smtpscan SUBDIR += smurflog SUBDIR += sniff SUBDIR += snoopy SUBDIR += snort SUBDIR += snort-rep SUBDIR += snort2pfcd SUBDIR += snort3 SUBDIR += snortreport SUBDIR += snortsam SUBDIR += snortsnarf SUBDIR += snuffleupagus SUBDIR += softether SUBDIR += softether-devel SUBDIR += softhsm SUBDIR += softhsm2 SUBDIR += spass SUBDIR += spike-proxy SUBDIR += spybye SUBDIR += sqlmap SUBDIR += sqlninja SUBDIR += srm SUBDIR += ssdeep SUBDIR += ssh-multiadd SUBDIR += ssh-vault SUBDIR += ssh_askpass_gtk2 SUBDIR += sshblock SUBDIR += sshguard SUBDIR += sshpass SUBDIR += ssl-admin SUBDIR += sslscan SUBDIR += sslsniffer SUBDIR += sslsplit SUBDIR += sslwrap SUBDIR += sssd SUBDIR += ssss SUBDIR += sst SUBDIR += starttls SUBDIR += stegdetect SUBDIR += steghide SUBDIR += stoken SUBDIR += strobe SUBDIR += strongswan SUBDIR += stud SUBDIR += stunnel SUBDIR += subversion-gnome-keyring SUBDIR += subversion-kwallet SUBDIR += subweb SUBDIR += sudo SUBDIR += sudoscript SUBDIR += super SUBDIR += suricata SUBDIR += swatch SUBDIR += switzerland SUBDIR += symbion-sslproxy SUBDIR += tclgpg SUBDIR += tclsasl SUBDIR += tcpcrypt SUBDIR += testssl.sh SUBDIR += tinc SUBDIR += tinc-devel SUBDIR += tinyca SUBDIR += titan SUBDIR += titus SUBDIR += tls-check SUBDIR += tlswrap SUBDIR += tmux-cssh SUBDIR += tor SUBDIR += tor-devel SUBDIR += tpm-tools SUBDIR += tpmmanager + SUBDIR += trezord SUBDIR += trinokiller SUBDIR += tripwire SUBDIR += tripwire-131 SUBDIR += tripwire12 SUBDIR += trousers SUBDIR += truecrypt SUBDIR += tsshbatch SUBDIR += tthsum SUBDIR += u2f-devd SUBDIR += umit SUBDIR += unhide SUBDIR += unicornscan SUBDIR += unssh SUBDIR += vault SUBDIR += veracrypt SUBDIR += vinetto SUBDIR += vlock SUBDIR += vm-to-tor SUBDIR += vnccrack SUBDIR += vpnc SUBDIR += vuls SUBDIR += vuxml SUBDIR += vxquery SUBDIR += w3af SUBDIR += wapiti SUBDIR += webfwlog SUBDIR += webscarab SUBDIR += whatweb SUBDIR += wipe SUBDIR += wolfssl SUBDIR += wpa_supplicant SUBDIR += xca SUBDIR += xinetd SUBDIR += xml-security SUBDIR += xmlsec1 SUBDIR += xorsearch SUBDIR += xspy SUBDIR += yafic SUBDIR += yapet SUBDIR += yara SUBDIR += yersinia SUBDIR += ykclient SUBDIR += ykpers SUBDIR += yubico-piv-tool SUBDIR += yubikey-personalization-gui SUBDIR += yubikey-piv-manager SUBDIR += zebedee SUBDIR += zenmap SUBDIR += zeronet SUBDIR += zxid SUBDIR += zzuf .include Index: head/security/trezord/Makefile =================================================================== --- head/security/trezord/Makefile (nonexistent) +++ head/security/trezord/Makefile (revision 458661) @@ -0,0 +1,41 @@ +# Created by: Alex Dupre +# $FreeBSD$ + +PORTNAME= trezord +PORTVERSION= 1.2.1 +CATEGORIES= security +MASTER_SITES= LOCAL/ale + +MAINTAINER= ale@FreeBSD.org +COMMENT= TREZOR Communication Daemon aka TREZOR Bridge + +LICENSE= LGPL3 +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= protoc:devel/protobuf \ + boost-libs>=0:devel/boost-libs +LIB_DEPENDS= libcurl.so:ftp/curl \ + libjsoncpp.so:devel/jsoncpp \ + libmicrohttpd.so:www/libmicrohttpd + +USES= cmake pkgconfig + +USE_RC_SUBR= ${PORTNAME} + +CMAKE_ARGS+= -DJSONCPP_INCLUDE_DIR:STRING="${LOCALBASE}/include/jsoncpp" \ + -DJSONCPP_LIBRARY:STRING="-L${LOCALBASE}/lib -ljsoncpp" + +PLIST_FILES= sbin/${PORTNAME} + +post-extract: + ${CP} ${FILESDIR}/usb.hpp ${WRKSRC}/src/ + ${CP} ${FILESDIR}/config.proto ${WRKSRC}/src/config/ + +pre-build: + cd ${WRKSRC}/src/config && ${LOCALBASE}/bin/protoc \ + -I${LOCALBASE}/include -I. --cpp_out=. config.proto + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}/${PREFIX}/sbin/ + +.include Property changes on: head/security/trezord/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/trezord/distinfo =================================================================== --- head/security/trezord/distinfo (nonexistent) +++ head/security/trezord/distinfo (revision 458661) @@ -0,0 +1,3 @@ +TIMESTAMP = 1514538815 +SHA256 (trezord-1.2.1.tar.gz) = aad7426ffd765977b6013d2efe675748027dd61b83dfc3a9ad28e4331fbc0d53 +SIZE (trezord-1.2.1.tar.gz) = 465139 Property changes on: head/security/trezord/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/trezord/files/config.proto =================================================================== --- head/security/trezord/files/config.proto (nonexistent) +++ head/security/trezord/files/config.proto (revision 458661) @@ -0,0 +1,30 @@ +/** + * Configuration format for TREZOR plugin + */ + +// Sugar for easier handling in Java +option java_package = "com.satoshilabs.trezor.lib.protobuf"; +option java_outer_classname = "TrezorConfig"; + +import "google/protobuf/descriptor.proto"; + +/** + * Device Descriptor used in Configuration + */ +message DeviceDescriptor { + optional uint32 vendor_id = 1; // USB vendor ID + optional uint32 product_id = 2; // USB product ID + optional string serial_number = 3; // USB serial number + optional string path = 4; // USB device path +} + +/** + * Plugin Configuration + */ +message Configuration { + repeated string whitelist_urls = 1; // allowed URLs for plugin + repeated string blacklist_urls = 2; // forbidden URLs for plugin + required google.protobuf.FileDescriptorSet wire_protocol = 3; // compiled specification of write protocol (serialized using "protoc -o") + repeated DeviceDescriptor known_devices = 4; // descriptors of allowed devices + optional uint32 valid_until = 5; // expiration timestamp +} Property changes on: head/security/trezord/files/config.proto ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/trezord/files/patch-CMakeLists.txt =================================================================== --- head/security/trezord/files/patch-CMakeLists.txt (nonexistent) +++ head/security/trezord/files/patch-CMakeLists.txt (revision 458661) @@ -0,0 +1,43 @@ +--- CMakeLists.txt.orig 2017-12-02 14:37:41 UTC ++++ CMakeLists.txt +@@ -31,7 +31,6 @@ if (WIN32) + endif(WIN32) + + if (UNIX AND NOT APPLE) +- set (SRCS src/glibc_compat.c ${SRCS}) + endif(UNIX AND NOT APPLE) + + add_executable(trezord ${SRCS}) +@@ -49,7 +48,7 @@ else(WIN32) + if (APPLE) + set(OS_LIBRARIES pthread) + else(APPLE) +- set(OS_LIBRARIES pthread dl z) ++ set(OS_LIBRARIES pthread usb z) + endif(APPLE) + endif(WIN32) + +@@ -72,7 +71,6 @@ find_package(Protobuf 2.5.0 REQUIRED) + find_package(jsoncpp REQUIRED) + + # add vendored libs +-add_subdirectory(vendor/hidapi) + add_subdirectory(vendor/trezor-crypto) + + include_directories( +@@ -81,7 +79,6 @@ include_directories( + ${PROTOBUF_INCLUDE_DIRS} + ${JSONCPP_INCLUDE_DIRS} + ${CURL_INCLUDE_DIRS} +- vendor/hidapi/hidapi + vendor/trezor-crypto + vendor/easyloggingpp) + +@@ -91,7 +88,6 @@ target_link_libraries(trezord + ${CURL_LIBRARIES} + ${PROTOBUF_LIBRARIES} + ${JSONCPP_LIBRARIES} +- hidapi + TrezorCrypto) + + if(BUILD_TESTS) Property changes on: head/security/trezord/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/trezord/files/patch-src_core.hpp =================================================================== --- head/security/trezord/files/patch-src_core.hpp (nonexistent) +++ head/security/trezord/files/patch-src_core.hpp (revision 458661) @@ -0,0 +1,33 @@ +--- src/core.hpp.orig 2017-12-02 14:37:41 UTC ++++ src/core.hpp +@@ -195,12 +195,12 @@ public: + pb_wire_codec{new protobuf::wire_codec{pb_state.get()}}, + pb_json_codec{new protobuf::json_codec{pb_state.get()}} + { +- hid::init(); ++ usb::init(); + } + + ~kernel() + { +- hid::exit(); ++ usb::exit(); + } + + std::string +@@ -433,13 +433,13 @@ private: + enumerate_supported_devices() + { + return wire::enumerate_connected_devices( +- [&] (hid_device_info const *i) { ++ [&] (usb::usb_device_info const *i) { + return is_device_supported(i); + }); + } + + bool +- is_device_supported(hid_device_info const *info) ++ is_device_supported(usb::usb_device_info const *info) + { + return std::any_of( + config.c.known_devices().begin(), Property changes on: head/security/trezord/files/patch-src_core.hpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/trezord/files/patch-src_main.cpp =================================================================== --- head/security/trezord/files/patch-src_main.cpp (nonexistent) +++ head/security/trezord/files/patch-src_main.cpp (revision 458661) @@ -0,0 +1,26 @@ +--- src/main.cpp.orig 2017-12-02 14:37:41 UTC ++++ src/main.cpp +@@ -33,7 +33,7 @@ + #include + + #include "utils.hpp" +-#include "hid.hpp" ++#include "usb.hpp" + #include "wire.hpp" + #include "core.hpp" + #include "http_client.hpp" +@@ -163,14 +163,12 @@ main(int argc, char *argv[]) + return 1; + } + +-#ifdef __linux__ + if (!vm.count("foreground")) { + if (daemon(0, 0) < 0) { + LOG(ERROR) << "could not daemonize"; + return 1; + } + } +-#endif + + std::string cert_data; + std::string privkey_data; Property changes on: head/security/trezord/files/patch-src_main.cpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/trezord/files/patch-src_wire.hpp =================================================================== --- head/security/trezord/files/patch-src_wire.hpp (nonexistent) +++ head/security/trezord/files/patch-src_wire.hpp (revision 458661) @@ -0,0 +1,114 @@ +--- src/wire.hpp.orig 2017-12-02 14:37:41 UTC ++++ src/wire.hpp +@@ -57,13 +57,14 @@ device_info_list + enumerate_connected_devices(F filter) + { + device_info_list list; +- auto *infos = hid::enumerate(0x00, 0x00); ++ auto *infos = usb::enumerate(0x00, 0x00); + + for (auto i = infos; i != nullptr; i = i->next) { + // skip unsupported devices + if (!filter(i)) { + continue; + } ++#if 0 + // skip foreign interfaces + if (i->interface_number > 0) { + CLOG(DEBUG, "wire.enumerate") << "skipping, invalid device"; +@@ -79,6 +80,7 @@ enumerate_connected_devices(F filter) + CLOG(DEBUG, "wire.enumerate") << "skipping, fido interface"; + continue; + } ++#endif + list.emplace_back( + device_info{ + i->vendor_id, +@@ -86,7 +88,7 @@ enumerate_connected_devices(F filter) + i->path}); + } + +- hid::free_enumeration(infos); ++ usb::free_enumeration(infos); + return list; + } + +@@ -112,18 +114,19 @@ struct device + + device(char const *path) + { +- hid = hid::open_path(path); ++ hid = usb::open_path(path); + if (!hid) { + throw open_error("HID device open failed"); + } +- hid_version = try_hid_version(); ++ hid_version = 1; // no report with libusb try_hid_version(); + if (hid_version <= 0) { + throw open_error("Unknown HID version"); + } + } + +- ~device() { hid::close(hid); } ++ ~device() { usb::close(hid); } + ++#if 0 + // try writing packet that will be discarded to figure out hid version + int try_hid_version() { + int r; +@@ -133,7 +136,7 @@ struct device + report.fill(0xFF); + report[0] = 0x00; + report[1] = 0x3F; +- r = hid::write(hid, report.data(), 65); ++ r = usb::write(hid, report.data(), 65); + if (r == 65) { + return 2; + } +@@ -141,7 +144,7 @@ struct device + // try version 1 + report.fill(0xFF); + report[0] = 0x3F; +- r = hid::write(hid, report.data(), 64); ++ r = usb::write(hid, report.data(), 64); + if (r == 64) { + return 1; + } +@@ -149,6 +152,7 @@ struct device + // unknown version + return 0; + } ++#endif + + void + read_buffered(char_type *data, +@@ -210,7 +214,7 @@ private: + int r; + + do { +- r = hid::read_timeout(hid, report.data(), report.size(), 50); ++ r = usb::read(hid, report.data(), report.size()); + } while (r == 0); + + if (r < 0) { +@@ -251,7 +255,7 @@ private: + break; + } + +- int r = hid::write(hid, report.data(), report_size); ++ int r = usb::write(hid, report.data(), report_size); + if (r < 0) { + throw write_error{"HID device write failed"}; + } +@@ -263,9 +267,9 @@ private: + } + + typedef std::vector buffer_type; +- typedef std::array report_type; ++ typedef std::array report_type; + +- hid_device *hid; ++ libusb_device_handle *hid; + buffer_type read_buffer; + int hid_version; + }; Property changes on: head/security/trezord/files/patch-src_wire.hpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/trezord/files/trezord.in =================================================================== --- head/security/trezord/files/trezord.in (nonexistent) +++ head/security/trezord/files/trezord.in (revision 458661) @@ -0,0 +1,26 @@ +#!/bin/sh + +# $FreeBSD$ +# +# PROVIDE: trezord +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add these lines to /etc/rc.conf.local or /etc/rc.conf +# to enable this service: +# +# trezord_enable (bool): Set to NO by default. +# Set it to YES to enable trezord. + +. /etc/rc.subr + +name=trezord +rcvar=trezord_enable + +load_rc_config $name + +: ${trezord_enable:="NO"} + +command=%%PREFIX%%/sbin/${name} + +run_rc_command "$1" Property changes on: head/security/trezord/files/trezord.in ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/trezord/files/usb.hpp =================================================================== --- head/security/trezord/files/usb.hpp (nonexistent) +++ head/security/trezord/files/usb.hpp (revision 458661) @@ -0,0 +1,172 @@ +/* + * This file is part of the TREZOR project. + * + * Copyright (C) 2014 SatoshiLabs + * + * This library is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this library. If not, see . + */ + +#include +#include + +namespace trezord +{ +namespace usb +{ + +static std::unique_ptr< utils::async_executor > usb_executor; + +struct usb_device_info { + char path[10]; + uint16_t vendor_id; + uint16_t product_id; + + usb_device_info *next; +}; + +// Init/exit + +void +init() +{ + libusb_init(NULL); + usb_executor.reset(new utils::async_executor()); +} + +void +exit() +{ + libusb_exit(NULL); + usb_executor.reset(); +} + +// Enumeration + +usb_device_info * +enumerate(unsigned short vendor_id, unsigned short product_id) +{ + return usb_executor->await([=] { + libusb_device **devs = NULL; + libusb_device *dev = NULL; + struct usb_device_info *root = NULL; /* return object */ + struct usb_device_info *cur_dev = NULL; + int i = 0; + + libusb_get_device_list(NULL, &devs); + while ((dev = devs[i++]) != NULL) { + struct libusb_device_descriptor desc; + libusb_get_device_descriptor(dev, &desc); + if ((vendor_id == 0 || vendor_id == desc.idVendor) && (product_id == 0 || product_id == desc.idProduct)) { + struct usb_device_info *tmp; + tmp = (struct usb_device_info *) calloc(1, sizeof(struct usb_device_info)); + if (cur_dev) { + cur_dev->next = tmp; + } else { + root = tmp; + } + cur_dev = tmp; + + cur_dev->next = NULL; + snprintf(cur_dev->path, sizeof(cur_dev->path), "%04x:%04x", + libusb_get_bus_number(dev), + libusb_get_device_address(dev)); + + cur_dev->vendor_id = desc.idVendor; + cur_dev->product_id = desc.idProduct; + } + } + libusb_free_device_list(devs, 1); + return root; + }); +} + +void +free_enumeration(usb_device_info *devs) +{ + return usb_executor->await([=] { + struct usb_device_info *d = devs; + while (d) { + struct usb_device_info *next = d->next; + free(d); + d = next; + } + }); +} + +// Open/close + +libusb_device_handle * +open_path(char const *path) +{ + return usb_executor->await([=] { + libusb_device **devs = NULL; + libusb_device *dev = NULL; + libusb_device_handle *handle = NULL; + int i = 0; + + libusb_get_device_list(NULL, &devs); + while ((dev = devs[i++]) != NULL) { + char devpath[10]; + snprintf(devpath, sizeof(devpath), "%04x:%04x", + libusb_get_bus_number(dev), + libusb_get_device_address(dev)); + if (strncmp(devpath, path, sizeof(devpath)) == 0) { + if (libusb_open(dev, &handle) == 0) { + libusb_set_auto_detach_kernel_driver(handle, 1); + if (libusb_claim_interface(handle, 0)) { + libusb_close(handle); + handle = NULL; + } + } + break; + } + } + libusb_free_device_list(devs, 1); + return handle; + }); +} + +void +close(libusb_device_handle *device) +{ + return usb_executor->await([=] { + libusb_release_interface(device, 0); + libusb_close(device); + }); +} + +// Communication + +int +write(libusb_device_handle *device, unsigned char *data, size_t length) +{ + return usb_executor->await([=] { + int xfer = -1; + libusb_interrupt_transfer(device, 0x01, data, length, &xfer, 0); + return xfer; + }); +} + +int +read(libusb_device_handle *device, unsigned char *data, size_t length) +{ + return usb_executor->await([=] { + int xfer = -1; + libusb_interrupt_transfer(device, 0x81, data, length, &xfer, 0); + return xfer; + }); +} + +} +} Property changes on: head/security/trezord/files/usb.hpp ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/trezord/pkg-descr =================================================================== --- head/security/trezord/pkg-descr (nonexistent) +++ head/security/trezord/pkg-descr (revision 458661) @@ -0,0 +1,4 @@ +trezord (short for TREZOR Daemon), or TREZOR Bridge, is a small piece of +software, used for websites, to talk with TREZOR devices. + +WWW: https://github.com/trezor/trezord Property changes on: head/security/trezord/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +on \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property