security/tang 15_1
Tang is a small daemon for binding data to the presence of a network
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- GPLv3
- Categories
- security
- Package size
- 33.9 KiB, 77.2 KiB installed
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.
Install
As a binary package — by origin, or by package name:
pkg install security/tang
pkg install tang
From the ports tree:
cd /usr/ports/security/tang/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= tang>0:security/tang
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 15_1 | 15_1 | 11 | 15 | 15_1 |
| FreeBSD:14:quarterly | 15_1 | 15_1 | n/a | 15 | 15_1 |
| FreeBSD:15:latest | 15_1 | 15_1 | n/a | 15 | 15 |
| FreeBSD:15:quarterly | 15_1 | 15_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 15_1 | 15_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 4
a2x: textproc/asciidoc${LOCALBASE}/libdata/pkgconfig/jose.pc: net/josesocat: net/socatcurl: ftp/curl
Library 3
libllhttp.so: www/llhttplibjansson.so: devel/janssonlibjose.so: net/jose
The full lists below include those, and their dependencies in turn.
All build dependencies 36
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/jansson
- devel/libffi
- devel/libunistring
- devel/meson
- devel/ninja
- devel/pkgconf
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/python312
- math/mpdecimal
- net/jose
- net/socat
- print/indexinfo
- security/libgcrypt
- security/libgpg-error
- security/libssh2
- textproc/asciidoc
- textproc/docbook
- textproc/docbook-sgml
- textproc/docbook-xml
- textproc/docbook-xsl
- textproc/expat2
- textproc/iso8879
- textproc/libxml2
- textproc/libxslt
- textproc/sdocbook-xml
- textproc/xmlcatmgr
- textproc/xmlcharent
- www/libnghttp2
- www/llhttp
All run dependencies 3
No port depends on this one.
Configuration
No options to configure.
- USES
- compiler:c11 cpe meson pkgconfig tar:xz
- Service scripts
- none
Files
Manual pages 3
- tang(8)
- tang-show-keys(1)
- tangd-rotate-keys(1)
pkg-plist 9
- libexec/tangd
- share/man/man1/tangd-rotate-keys.1.gz
- share/man/man1/tang-show-keys.1.gz
- share/man/man8/tang.8.gz
- libexec/tangd-keygen
- libexec/tangd-rotate-keys
- bin/tang-show-keys
- etc/rc.d/tangd
- @dir /var/db/tang
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| tang-15.tar.xz | 38248 | eaf4a2abfea3d05f454a8841e98332be1e1e2432744c70bb7765651ed82c3f7c |
Master sites 1
- https://github.com/latchset/tang/releases/download/v15/
Commit history 0
No commits in the history this site was built from.