Searches without login should now work. You must get asked to click a button.
Some translations wanted please.
New RSS 2.0 and Atom feeds are here. The old /backend/ feeds still work, but will be redirected later, so please update your subscriptions. Details.
Port details
tang Tang is a small daemon for binding data to the presence of a network
16 security Σ=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 16Version of this port present on the latest quarterly branch.
Maintainer: hdholm@alumni.iastate.edu search for ports maintained by this maintainer
Port Added: 2021-05-10 01:27:08
Last Update: 2026-11-04 10:02:19
Commit Hash: da7f092
License: GPLv3
WWW:
https://github.com/latchset/tang
Description: #
Tang is a server for binding data to network presence. This sounds fancy, but the concept is simple. You have some data, but you only want it to be available when the system containing the data is on a certain, usually secure, network. This is where Tang comes in. First, the client gets a list of the Tang server's advertised asymmetric keys. This can happen online by a simple HTTP GET. Alternatively, since the keys are asymmetric, the public key list can be distributed out of band. Second, the client uses one of these public keys to generate a unique, cryptographically strong encryption key. The data is then encrypted using this key. Once the data is encrypted, the key is discarded. Some small metadata is produced as part of this operation which the client should store in a convenient location. This process of encrypting data is the provisioning step. Third, when the client is ready to access its data, it simply loads the metadata produced in the provisioning step and performs an HTTP POST in order to recover the encryption key. This process is the recovery step.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
Manual pages: #
pkg-plist: as obtained via: make generate-plist #
Expand this list (16 items)
Collapse this list.
  1. /usr/local/share/licenses/tang-16/catalog.mk
  2. /usr/local/share/licenses/tang-16/LICENSE
  3. /usr/local/share/licenses/tang-16/GPLv3
  4. share/sbom/pc/tang.pc
  5. libexec/tangd
  6. share/man/man1/tangd-rotate-keys.1.gz
  7. share/man/man1/tang-show-keys.1.gz
  8. share/man/man8/tang.8.gz
  9. libexec/tangd-keygen
  10. libexec/tangd-rotate-keys
  11. bin/tang-show-keys
  12. etc/rc.d/tangd
  13. @dir /var/db/tang
  14. @owner
  15. @group
  16. @mode
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • tang>0:security/tang
To install the port: #
cd /usr/ports/security/tang/ && make install clean
To add the package, run one of these commands:
  • pkg install security/tang
  • pkg install tang
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: tang
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1793732479 SHA256 (tang-16.tar.xz) = 2c205254265fdd211ebfc44920d5c0b1e7be4ad2a8deb33bae48861f80debb67 SIZE (tang-16.tar.xz) = 38576

Packages (timestamps in pop-ups are UTC): #
tang
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest1616111516
FreeBSD:14:quarterly1616-1516
FreeBSD:15:latest1616n/a15n/a
FreeBSD:15:quarterly1616n/a-n/a
FreeBSD:16:latest1616n/a-n/a
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. jose.pc : net/jose
  2. a2x : textproc/asciidoc
  3. curl : ftp/curl
  4. socat : net/socat
  5. meson : devel/meson
  6. ninja : devel/ninja
  7. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies: #
  1. libjansson.so : devel/jansson
  2. libjose.so : net/jose
  3. libllhttp.so : www/llhttp
There are no ports dependent upon this port #

Configuration Options: #
No options to configure
Options name: #
security_tang
USES: #
compiler:c11 cpe meson pkgconfig tar:xz
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://github.com/latchset/tang/releases/download/v16/
Collapse this list.

Number of commits found: 12 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
16
04 Nov 2026 10:02:19
commit hash: da7f0928a3052e7ab1bbf6a7d7323026d5308546commit hash: da7f0928a3052e7ab1bbf6a7d7323026d5308546commit hash: da7f0928a3052e7ab1bbf6a7d7323026d5308546commit hash: da7f0928a3052e7ab1bbf6a7d7323026d5308546 files touched by this commit
Yusuf Yaman (nxjoseph) search for other commits by this committer
Author: Howard Holm
security/tang: Update 15 => 16

Changelog:
https://github.com/latchset/tang/releases/tag/v16

While here, sort Makefile (pet port{clippy,fmt,lint}).

PR:		300489
Approved by:	osa, vvd (mentors, implicit)
15_1
02 May 2026 11:13:38
commit hash: c1efdbb4964748ff73cdb891add392a43aae5b76commit hash: c1efdbb4964748ff73cdb891add392a43aae5b76commit hash: c1efdbb4964748ff73cdb891add392a43aae5b76commit hash: c1efdbb4964748ff73cdb891add392a43aae5b76 files touched by this commit
Po-Chuan Hsieh (sunpoet) search for other commits by this committer
www/llhttp: Update to 9.4.1

- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://github.com/nodejs/llhttp/releases
15
18 Feb 2024 16:43:35
commit hash: 951d5bcada15b4d2ade3ff4da54dc98a24985134commit hash: 951d5bcada15b4d2ade3ff4da54dc98a24985134commit hash: 951d5bcada15b4d2ade3ff4da54dc98a24985134commit hash: 951d5bcada15b4d2ade3ff4da54dc98a24985134 files touched by this commit
Fernando Apesteguía (fernape) search for other commits by this committer
Author: Howard Holm
security/tang: Update to v15

ChangeLog: https://github.com/latchset/tang/releases/tag/v15

 * Build with llhttp instead of http-parser
 * Fix issue introduced in http-parser -> llhttp conversion
 * Include parameter to indicate endpoint
 * README updates
 * Avoid usage of unused variable
 * Increase test timeouts

PR:		277061
Reported by:	hdholm@alumni.iastate.edu (maintainer)
14_1
12 Jan 2024 22:40:48
commit hash: 9f8f710b3ec3945ede5cf5d996c3391081d32df1commit hash: 9f8f710b3ec3945ede5cf5d996c3391081d32df1commit hash: 9f8f710b3ec3945ede5cf5d996c3391081d32df1commit hash: 9f8f710b3ec3945ede5cf5d996c3391081d32df1 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
*/*: Sanitize MANPREFIX for meson ports

Approved by:	portmgr
14
29 Jun 2023 11:47:18
commit hash: 9047016e2e3af3ccd56cf557dc34edb113658d85commit hash: 9047016e2e3af3ccd56cf557dc34edb113658d85commit hash: 9047016e2e3af3ccd56cf557dc34edb113658d85commit hash: 9047016e2e3af3ccd56cf557dc34edb113658d85 files touched by this commit
Fernando Apesteguía (fernape) search for other commits by this committer
Author: Howard Holm
security/tang: Update to v14 (Fix CVE-2023-1672)

ChangeLog: https://github.com/latchset/tang/releases/tag/v14

Note this is not a problem in FreeBSD due to the restrictive permissions of the
db directory.

PR:		272191
Reported by:	hdholm@alumni.iastate.edu (maintainer)
Security:	CVE-2023-1672
13
08 May 2023 08:25:51
commit hash: 229bbd1a2321b78d0c25b08297622bf0a2570b5dcommit hash: 229bbd1a2321b78d0c25b08297622bf0a2570b5dcommit hash: 229bbd1a2321b78d0c25b08297622bf0a2570b5dcommit hash: 229bbd1a2321b78d0c25b08297622bf0a2570b5d files touched by this commit
Robert Clausecker (fuz) search for other commits by this committer
Author: Howard Holm
security/tang: update to 13

Changelog: https://github.com/latchset/tang/releases/tag/v13

PR:		271302
12
18 Feb 2023 12:28:12
commit hash: d32119c0d4ec81062ee1db8a1aa3c812d1abbb04commit hash: d32119c0d4ec81062ee1db8a1aa3c812d1abbb04commit hash: d32119c0d4ec81062ee1db8a1aa3c812d1abbb04commit hash: d32119c0d4ec81062ee1db8a1aa3c812d1abbb04 files touched by this commit
Fernando Apesteguía (fernape) search for other commits by this committer
Author: Howard Holm
security/tang: Update to v12

ChangeLog: https://github.com/latchset/tang/releases/tag/v12

 * A few small changes for BSD support after standalone changes
 * tang: allow running standalone
 * When json_load_file fails report the error details information
 * Fix service to include configured group
 * Add documentation in service files

PR:		269573
Reported by:	hdholm@alumni.iastate.edu (maintainer)
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
11
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
11
28 May 2022 19:28:15
commit hash: e967497b36404549f6620b3f46b5c0b980c6c6bccommit hash: e967497b36404549f6620b3f46b5c0b980c6c6bccommit hash: e967497b36404549f6620b3f46b5c0b980c6c6bccommit hash: e967497b36404549f6620b3f46b5c0b980c6c6bc files touched by this commit
Bernhard Froehlich (decke) search for other commits by this committer
security/tang: Add CPE information

Approved by:	portmgr (blanket)
11
09 Feb 2022 22:06:51
commit hash: 21ea51a6ef6e711990ca91e5000d05a28bba345dcommit hash: 21ea51a6ef6e711990ca91e5000d05a28bba345dcommit hash: 21ea51a6ef6e711990ca91e5000d05a28bba345dcommit hash: 21ea51a6ef6e711990ca91e5000d05a28bba345d files touched by this commit
Daniel Engberg (diizzy) search for other commits by this committer
Author: Howard Holm
security/tang: Update to v11

Changelog: https://github.com/latchset/tang/releases/tag/v11
Fixes CVE-2021-4076

PR:		260574
10
10 May 2021 01:23:51
commit hash: 996a6909ee6ea04ffc6962af5167811629275096commit hash: 996a6909ee6ea04ffc6962af5167811629275096commit hash: 996a6909ee6ea04ffc6962af5167811629275096commit hash: 996a6909ee6ea04ffc6962af5167811629275096 files touched by this commit
Neel Chauhan (nc) search for other commits by this committer
Author: Howard Holm
New port: security/tang: Small daemon for binding data to the presence of a
network

PR:	255694

Number of commits found: 12