All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fix bad release version
- Fix bad doc date
- Add support for including a text message alongside an attachment when creating
a paste. Pass the message as a positional argument:
privatebin create --attachment --filename example.txt "Message to send along". - Add
--proxyflag for explicit proxy configuration (supports HTTP, HTTPS, and SOCKS5 schemes). Useful for routing traffic through TOR (e.g.socks5://127.0.0.1:9050). - Add
proxyconfiguration option in config file (both top-level and per-bin). - Proxy resolution priority:
--proxyflag > config file > environment variables (HTTP_PROXY,HTTPS_PROXY,ALL_PROXY). - Add a clear error message when creating a paste without a configured host.
- Add
privatebin initcommand to generate a configuration file with sensible defaults. Supports--hostto set the default instance and--forceto overwrite an existing file.
- Fix error when open paste who never expire
- The CLI now works without a configuration file, falling back to sensible defaults (expire: 1day, formatter: plaintext, gzip: enabled).
- Configuration file lookup now follows the XDG Base Directory Specification.
The CLI searches
$HOME/.config/privatebin/config.json, then$XDG_CONFIG_HOME/privatebin/config.json, the platform-native user config directory, and finally$XDG_CONFIG_DIRS(defaults to/etc/xdg). - Remove duplicate error output in the main function.
- Upgrade to go1.26
- Upgrade go dependencies
- Fix various typos throughout the codebase (attachment, unknown).
- Fix MIME type parsing in paste attachments (TrimPrefix -> TrimSuffix).
- Fix MIME type inference bug when no explicit MIME type is provided.
- Adapt GCM implementation for Go 1.21+ compatibility after FIPS 140-3 refactoring broke access to internal gcmAble interface.
- Update dependencies.
- Upgrade go version from 1.23 to 1.25.
- Add
skip-tls-verifyconfiguration option to skip TLS certificate verification. - Add
--skip-tls-verifyflag tocreateandshowcommands.
- Update dependencies.
- Upgrade go version from 1.22 to 1.23.
- Properly handle and log errors from
rootCmd.Execute()in the main function. - Extra headers not apply to show request.
- Top level flags are not handled.
- Add
privatebin showcommand. - Add
privatebin createcommand.
- Minimal Golang version is now v1.22.
- Minimal PrivateBin instance version is now 1.7.
- Configuration use kebab-case instead of sake-case.
- Add
-gzipflag to compress data with gzip.
- According to OWAP recommendation, increase the number of PBKDF2 iterations.
- Add
-filenameflag to read file instead of stdin. - Add
-attachmentflag to update data as an attachment.
- Upgrade to Go 1.19.
- Use
gearno.deimport url.
- Create request error not handled.
- Add privatebin version through the
-versionflag.
- Add
User-Agentrequest header to mitigate WAF (Cloudflare, etc.) blocking request from the CLI.
Nothing.
- Add privatebin paste password support. Via the optional
-passwordflag.
- Missing URL path on the returned URL.
- Add privatebin(1) man page.
- Add privatebin.conf(5) man page.
- Makefile is now BSD and GNU compatible.
- Configuration file is now stored in the
~/.config/privatebin/config.json.
- First release.