notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Remember
I remember
Port details
tang Tang is a small daemon for binding data to the presence of a network
15 security on this many watch lists=2 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 15Version 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: 2024-02-18 16:43:35
Commit Hash: 951d5bc
People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
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:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (15 items)
Collapse this list.
  1. /usr/local/share/licenses/tang-15/catalog.mk
  2. /usr/local/share/licenses/tang-15/LICENSE
  3. /usr/local/share/licenses/tang-15/GPLv3
  4. libexec/tangd
  5. share/man/man1/tangd-rotate-keys.1.gz
  6. share/man/man1/tang-show-keys.1.gz
  7. share/man/man8/tang.8.gz
  8. libexec/tangd-keygen
  9. libexec/tangd-rotate-keys
  10. bin/tang-show-keys
  11. etc/rc.d/tangd
  12. @dir /var/db/tang
  13. @owner
  14. @group
  15. @mode
Collapse this list.
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 = 1707961137 SHA256 (tang-15.tar.xz) = eaf4a2abfea3d05f454a8841e98332be1e1e2432744c70bb7765651ed82c3f7c SIZE (tang-15.tar.xz) = 38248

Packages (timestamps in pop-ups are UTC):
tang
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1515-1515---
FreeBSD:13:quarterly1515141515141414
FreeBSD:14:latest151511151513-13
FreeBSD:14:quarterly1515-1515141414
FreeBSD:15:latest1515n/a15n/a14_114_115
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. a2x : textproc/asciidoc
  2. jose.pc : net/jose
  3. socat : net/socat
  4. curl : ftp/curl
  5. meson : devel/meson
  6. ninja : devel/ninja
  7. pkgconf>=1.3.0_1 : devel/pkgconf
Library dependencies:
  1. libllhttp.so : www/llhttp
  2. libjansson.so : devel/jansson
  3. libjose.so : net/jose
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
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/v15/
Collapse this list.

Number of commits found: 10

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
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: 10