Volunteers wanted to help translate FreshPorts
Searches without login should now work. You must get asked to click a button.
Port details
nginx-module-encrypted-session Sources of the encrypted_session module for the NGINX ports
0.11 www Σ=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 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Maintainer: joneum@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2026-10-20 17:45:11
Last Update: 2026-10-30 11:14:38
Commit Hash: 7ee33f7
License: BSD2CLAUSE
WWW:
https://github.com/openresty/encrypted-session-nginx-module
Description: #
The encrypted_session module encrypts and decrypts nginx variables with AES-256 in MAC mode, with an expiry stamp inside the ciphertext. It is meant for values that travel through the client, such as cookies, which the server must be able to read back but the client must not forge. This port only installs the module sources. The module itself is built by the nginx ports when their ENCRYPTSESSION option is enabled.
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 (8 items)
Collapse this list.
  1. share/nginx/modules/nginx-module-encrypted-session/config
  2. share/nginx/modules/nginx-module-encrypted-session/src/ddebug.h
  3. share/nginx/modules/nginx-module-encrypted-session/src/ngx_http_encrypted_session_cipher.c
  4. share/nginx/modules/nginx-module-encrypted-session/src/ngx_http_encrypted_session_cipher.h
  5. share/nginx/modules/nginx-module-encrypted-session/src/ngx_http_encrypted_session_module.c
  6. /usr/local/share/licenses/nginx-module-encrypted-session-0.11/catalog.mk
  7. /usr/local/share/licenses/nginx-module-encrypted-session-0.11/LICENSE
  8. /usr/local/share/licenses/nginx-module-encrypted-session-0.11/BSD2CLAUSE
Collapse this list.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • nginx-module-encrypted-session>0:www/nginx-module-encrypted-session
To install the port: #
cd /usr/ports/www/nginx-module-encrypted-session/ && make install clean
To add the package, run one of these commands:
  • pkg install www/nginx-module-encrypted-session
  • pkg install nginx-module-encrypted-session
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: nginx-module-encrypted-session
Flavors: #
there is no flavor information for this port.
distinfo: #
TIMESTAMP = 1793353734 SHA256 (openresty-encrypted-session-nginx-module-v0.11_GH0.tar.gz) = c58c2349792788e9a471b7fb8685483e6942390956ab90d3e36a63e94c8c26d2 SIZE (openresty-encrypted-session-nginx-module-v0.11_GH0.tar.gz) = 15824

Packages (timestamps in pop-ups are UTC): #
nginx-module-encrypted-session
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest-0.10--0.10
FreeBSD:14:quarterly-----
FreeBSD:15:latest-0.10n/a-n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest-0.10n/a-n/a
This port has no dependencies. #
This port is required by: #
for Build #
  1. www/nginx-full

Configuration Options: #
No options to configure
Options name: #
www_nginx-module-encrypted-session
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/openresty/encrypted-session-nginx-module/tar.gz/v0.11?dummy=/
Collapse this list.

Number of commits found: 3 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.11
30 Oct 2026 11:14:38
commit hash: 7ee33f73eca235b13e9df19f9e6d736bb437f791commit hash: 7ee33f73eca235b13e9df19f9e6d736bb437f791commit hash: 7ee33f73eca235b13e9df19f9e6d736bb437f791commit hash: 7ee33f73eca235b13e9df19f9e6d736bb437f791 files touched by this commit
Jochen Neumeister (joneum) search for other commits by this committer
www/nginx-module-encrypted-session: Update to 0.11

A session token is now versioned and carries a random IV and an
HMAC-SHA256 tag instead of a public MD5 prefix and a fixed CBC IV, and
header and ciphertext are authenticated before the token is decrypted.
The tag is compared with CRYPTO_memcmp, which closes a timing oracle over
an attacker controlled plaintext prefix.  Tokens written by earlier
versions no longer decrypt.

Changelog:
https://github.com/openresty/encrypted-session-nginx-module/compare/v0.10...v0.11

Sponsored by:	Netzkommune GmbH
0.10
22 Oct 2026 15:12:39
commit hash: f4f56c0044d25d07b94b4a47e2c99e8b6845804ccommit hash: f4f56c0044d25d07b94b4a47e2c99e8b6845804ccommit hash: f4f56c0044d25d07b94b4a47e2c99e8b6845804ccommit hash: f4f56c0044d25d07b94b4a47e2c99e8b6845804c files touched by this commit
Jochen Neumeister (joneum) search for other commits by this committer
www/nginx-module-encrypted-session: Update to 0.10

The MAC of a session was compared with ngx_strncmp, which stops at the
first byte that differs and so tells an attacker how much of a forged MAC
was right.  The comparison is CRYPTO_memcmp now.  The expiry timestamp was
read through a uint64_t cast of an unaligned pointer, which faults on
architectures that require alignment; it is copied before it is read.

Changelog:
https://github.com/openresty/encrypted-session-nginx-module/compare/7ffe4ec...v0.10

Sponsored by:	Netzkommune GmbH
0.09.20240817
20 Oct 2026 17:43:28
commit hash: 9bf1f1fe83a343bd99a0c65d9edb53d0313400e6commit hash: 9bf1f1fe83a343bd99a0c65d9edb53d0313400e6commit hash: 9bf1f1fe83a343bd99a0c65d9edb53d0313400e6commit hash: 9bf1f1fe83a343bd99a0c65d9edb53d0313400e6 files touched by this commit
Jochen Neumeister (joneum) search for other commits by this committer
www/nginx-module-encrypted-session: Add New Port

Sources of the encrypted_session module for the NGINX ports.  The module
encrypts and decrypts a variable with AES, which is what the session
variables of ngx_lua are built on.

Sponsored by:	Netzkommune GmbH

Number of commits found: 3