Skip to content

Releases: codenotary/immudb

v0.6.2

16 Jun 08:33
Compare
Choose a tag to compare

Changelog

[v0.6.2] - 2020-06-15

Bug Fixes

  • require auth for admin commands even if auth is disabled on server, do not allow admin user to be deactivated
  • base64 decoding of passwords: now it requires the "enc:" prefix as base64 can not be differentiated from plain-text at runtime (e.g. "immu" is a valid base64 encode string)
  • only require admin password to be changed if it is "immu"
  • fix ldflags on dist binaries and add static compilation infos
  • cmd/immuclient/audit: fix base64 encoded password not working with immuclient audit-mode
  • immuadmin: repair password change flow right after first admin login
  • pkg/auth: make ListUsers require admin permissions
  • pkg/ring: fixes cache corruption due to a ring buffer elements overwrite on same internal index
  • pkg/store: remove useless ringbuffer array
  • pkg/store: fix uniform cache layers size allocation with small values

Changes

  • add bug and feature request report github template
  • fix golint errors
  • githubactions add windows and build step
  • remove plain-test admin password from log outputs
  • add message (in cli help and swagger description) about base64-encoded inputs and outputs of get and set commands
  • FreeBSD section in the readme
  • fix changelog auto generation repo and releasing template
  • pkg/server: reduce corruption_checker resources usage

Features

  • expose through REST the following user-related actions: create, get, list, change password, set permission and deactivate
  • immuclient freebsd daemon installation
  • freebsd service install
  • read immudb default admin password from flag, config or env var
  • use immu as default admin password instead of randomly generated one
  • immudb: accept base64 string for admin password in flag/config/env var

Downloads

Docker image
https://hub.docker.com/r/codenotary/immudb

Immudb Binaries

File SHA256
immudb-v0.6.2-darwin-amd64 932d82831470ff587f6ad0306490412b2a4bc5b783af7f312bf37a6d4e062448
immudb-v0.6.2-linux-amd64 0c60e1b10c3565c13e25241c6184e4826ff14785fff7b68f318fd05db171bae4
immudb-v0.6.2-linux-amd64-static b219e80a3b540465298ddcf3686a5738a6ab20368e95b489b7b6abb42c98837e
immudb-v0.6.2-linux-s390x 830d826029c21675b299f97b41754af064592bf1c380a5aa0dde6df7cdc3ade2
immudb-v0.6.2-windows-amd64.exe ad3d7f9dd0d699fff5ebe0607acadfd7c473e42cd5f742541c6d5ff3d148fe31

Immugw Binaries

File SHA256
immugw-v0.6.2-darwin-amd64 fc4e55fd0f9834f02946fa7d07012831a000d4d965563f8a37d1e85f863f2aa3
immugw-v0.6.2-linux-amd64 afea6148c701c307de823265d41b8853888a894a3bccd92c7d64cd0b435bfcd8
immugw-v0.6.2-linux-amd64-static 5c02a3bc5001ad2613749202d4a8ed120443619983e511ea01c3f1fc6fed9e1d
immugw-v0.6.2-linux-s390x ff876290f7707547f54bdf499733c48c2e804e7cd08978a53402984950b6cc11
immugw-v0.6.2-windows-amd64.exe dd59a9cc05f422a119acef63fbeac238b1166275f9f2cffba26d4868db8b5b44

Immucli Binaries

File SHA256
immuclient-v0.6.2-darwin-amd64 5cf2282e67b002b49e7fc8e45d3e2394bcc9b7e242bd19409f25b627c8b32319
immuclient-v0.6.2-linux-amd64 8237b10991ef7532e688d104f49f65ab5d038c323fce18d5683d0b35c1d0108d
immuclient-v0.6.2-linux-amd64-static 2d5a24b5dff3e2702d5ff80e3ac26bd5aea50759e28a56f34886dd1ec2aae39b
immuclient-v0.6.2-linux-s390x 1167e21350d4af9b2635f040c48509bf9291b0f4774a492eb7b74d37a869783e
immuclient-v0.6.2-windows-amd64.exe 205bd8d317d47429ca260d29f657ee071d8fe01b94ddf34c348a00477f743d22

Immuadmin Binaries

File SHA256
immuadmin-v0.6.2-darwin-amd64 f8e319e0909e4ba5201a940f0cbdcc3d61a24a9fc2f1379fbfbed4b131282758
immuadmin-v0.6.2-linux-amd64 489c970d01e622d6f3d9cf783967fe4ff8de81f22c27b004688e6ebb1691c5f3
immuadmin-v0.6.2-linux-amd64-static 5145e90dd98e12c800966dd71a8b5f36733fa1063f3d9cedafaf764920f6b82c
immuadmin-v0.6.2-linux-s390x 4b8375a610ee2007c8745e977fd1548057e9f16f4f94280eea165bd1074fadd5
immuadmin-v0.6.2-windows-amd64.exe 9fd914e65ffb388f044e3d3eeda86df953fef3a2584e83cb6c020c8288117138

v0.6.1

09 Jun 16:51
Compare
Choose a tag to compare

Changelog

[v0.6.1] - 2020-06-09

Bug Fixes

  • disallow running immuadmin backup with current directory as source
  • immuadmin dump hangs indefinitely if token is invalid
  • #283, immudb crash on dump of empty db
  • fix corruption checker crash during immudb shoutdown
  • choose correct config for immudb, immugw installation
  • update env vars in README and Docker files (#297)
  • cmd/immuadmin: inform user that manual server restart may be needed after interrupted backup
  • cmd/immuadmin: validate backup dir before asking password
  • cmd/immuclient: add version sub-command to immuclient interractive mode
  • cmd/immuclient: nil pointer when audit-mode used with immudb running as daemon
  • cmd/immutest: add new line at the end of output message
  • pkg/ring: return nil on inconsistent access to buffer rings elements
  • pkg/store: fix visualization of not frozen nodes inside print tree command
  • pkg/store/treestore: fix overwriting on not freezes nodes

Changes

  • add license to tests (#288)
  • update statement about traditional DBs in README
  • remove immugw configs from immudb config file #302
  • cmd/immuadmin/command: improve visualization ui in merkle tree print command
  • cmd/immuadmin/command/service: syntax error, fail build on windows
  • cmd/immuclient/audit: code cleanup and renaming
  • pkg/store/treestore: improve cache invalidation

Code Refactoring

  • handling of failed dump

Features

  • allow the password of immugw auditor to be base64 encoded in the config file (#296)
  • add auth support to immutest CLI
  • add server-side logout (#286)
  • cmd/helper: add functionalities to print colored output
  • cmd/immuadmin: add print tree command
  • cmd/immutest: add env var for tokenfile
  • pkg: add print tree functionality

Downloads

Docker image
https://hub.docker.com/r/codenotary/immudb

Immudb Binaries

File SHA256
immudb-v0.6.1-darwin-amd64 fce290e579c657e29534895b135f619996598cc031b828f7d2551242fac42ba1
immudb-v0.6.1-linux-amd64 a7e02610b40f9e7cce52435166d7e7a7329242ceda2c9daa08e4514f3256f9bd
immudb-v0.6.1-linux-amd64-static 74bd1490776439b91d4ff0fb585dd836644f614a0d119b1d8ccdfab7311e6e78
immudb-v0.6.1-linux-s390x 75e4ea3a0911ff28738ecccf2c677f94fca477359c638530981c08e083b1b851
immudb-v0.6.1-windows-amd64.exe bb1a49de3a3b827f2b5178034299bc2fb182cb2ec6a82734135a91415cc753a3

Immugw Binaries

File SHA256
immugw-v0.6.1-darwin-amd64 3250230d2de85047543b7cef772b84fb92a773cd522dcbd09c3c92901cbccb5c
immugw-v0.6.1-linux-amd64 b07d601385173df6370fa8776e6c6938c9ad3810021acda79904df261cdff549
immugw-v0.6.1-linux-amd64-static 17df186a88683cfccbe529c4dd3b5b957fb19f25de8cbdfd09cf7784318ffc12
immugw-v0.6.1-linux-s390x 4a29198264dcf806efcc54d6e72f74584a5deb5421a36068f92334edf3e85c7e
immugw-v0.6.1-windows-amd64.exe 34649f4bd3534d3a89da9d06d5f79fbc438988363d3d2ea5c4e0070628133c80

Immuclient Binaries

File SHA256
immuclient-v0.6.1-darwin-amd64 81e1b16279c13b08877e3121b86c008f1de53a7011b8e43a6d558309f411e7de
immuclient-v0.6.1-linux-amd64 ae66826905f7bf84e71476552ba463f34e5a8f700d783af8105eef0e6bea349d
immuclient-v0.6.1-linux-amd64-static f9cfa1a90e90ad3b57dfe496f2b705ee6b1fd38e68eb40bb986ec95820994b04
immuclient-v0.6.1-linux-s390x e9a049c21a77f292e037b5f2bd8d33d1ec3e1aaa1a5d089cc90f108ef31dde32
immuclient-v0.6.1-windows-amd64.exe 169c62153bdc7ed39d274f409c3287329dc670a78574bb88b6b0117dffc36889

Immuadmin Binaries

File SHA256
immuadmin-v0.6.1-darwin-amd64 63af4327cc3730a6f65b1fa75c9f77fb1b90ade13355d3ed10549b22318c5dea
immuadmin-v0.6.1-linux-amd64 c573cd5368923c9024c75ad449cefcea3d8af5a7ed650f97b4d48a6f82fa961c
immuadmin-v0.6.1-linux-amd64-static ec515c76c16d1551868fe389f21609ae28027b05aa7b0db1b11c888f77fb267d
immuadmin-v0.6.1-linux-s390x 41dfa823510fc1203581386d832e8119e04c2988ed99612961f9fd3086a825be
immuadmin-v0.6.1-windows-amd64.exe bc26780fe11fb763280ff2e192d3ca5c0c2dab55a0238ccb53a2809328fcd497

v0.6.0

28 May 19:00
Compare
Choose a tag to compare

Changelog

[v0.6.0] - 2020-05-28

Bug Fixes

  • use iota for permissions enum
  • readme doc, immugw start command
  • typos in immugw help
  • licence
  • modify BUILT_BY flag with user email to keep dist script functionalities in makefile
  • race condition while prefixing keys
  • various permissions-related issues
  • when fetching users, only fetch the latest version
  • admin user can change password of regular user without having to know his old password
  • immugw pid path consistency
  • SafeZAdd handler SafeZAdd tests. Fix ReferenceHandler test
  • safereference_handler, add tests #264
  • safeset_handler test
  • #260
  • implementation of user deactivate
  • rewrite user management to store user, password and permissions separately
  • fix bug on zadd server method
  • cmd/helper: fix osx build
  • cmd/immuadmin/command/service: fix error returned by GetDefaultConfigPath
  • cmd/immuadmin/command/service: fix immudb data uninstall
  • cmd/immuclient: Added missing documentations and renamed deprecated structures.
  • cmd/immuclient: Fixed wrong audit credentials error
  • cmd/immuclient: Added missing documentations and renamed deprecated structures.
  • cmd/immuclient: Fixed paths.
  • cmd/immuclient/audit: fix immuclient service installation
  • cmd/immuclient/service: fix config import

Changes

  • rename back immugw "trust checker" to "auditor"
  • improve help for immugw auditor metrics
  • rename audit(or) to trust-check(er)
  • use status.Error instead of status.Errorf for static string
  • use Sprintf instead of string concat
  • extract root service from immugw trust checker
  • rename default immudb and immugw loggers
  • turn sys keys prefixes into constants
  • remove setup release in makefile
  • service_name inside release build script is configurable inside makefile. closes #159 closes #239
  • remove ppc and arm target arch from makefile
  • add CD releases, certificate sign, vcn sign in makefile dist scripts
  • add dist scripts in makefile
  • fix typo in README.md
  • add changelog
  • add getByRawSafeIndex tests
  • move corruption checker inside immudb process
  • update docker files
  • immugw audit publishes -1 if empty db and -2 if error, otherwise 0 (check failed) or 1 (succeeded)
  • immugw audit publishes -1 value for result and root indexes in case the audit could not run (i.e. empty database, error etc.)
  • change immugw metrics port
  • refactoring file cache for immugw auditor
  • rename immugw trust-checker to auditor
  • move auditor package under client directory
  • cmd: fix corruption checker flag
  • cmd/helper: add path os wildcard resolver
  • cmd/helper: fix config path manager stub on linux
  • cmd/helper: remove useless var
  • cmd/immuadmin: path of service files and binaries are os dynamic
  • cmd/immuclient: add pid file management on windows
  • immuadmin: improve the very first login message

Code Refactoring

  • refactor safeset_handler_test

Features

  • Audit agent added to immuclient.
  • make metrics server start configurable through options to aid tests. MetricsServer must not be started as during tests because prometheus lib panis with: duplicate metrics collector registration attempted.
  • add immugw auditor
  • invalidate tokens by droping public and private keys for a specific user
  • check permissions dynamically
  • implement user permissions and admin command to set them
  • prefix user keys
  • update metrics from immugw auditor
  • cmd/immuclient/command: add getByRawSafeIndex method
  • immugw: add GET /lastaudit on metrics server

Downloads

Docker image
https://hub.docker.com/r/codenotary/immudb

Immudb Binaries

File SHA256
immudb-v0.6.0-darwin-amd64 76756832750a4013de2892271841f571c088bb08ad8599695704e7282a580988
immudb-v0.6.0-linux-amd64 919169266fa98c222bcc4e0bd0be206acfc3197b7fb6979ed5823f6591c5de5f
immudb-v0.6.0-linux-amd64-static aa57a2619c60fb1976efd2df79baf7579b862193a520942712d7aab3007f5042
immudb-v0.6.0-linux-s390x bad66047501e8c277664a177e53eadf933de25d6b2aa5eda4dd32cb53eb56253
immudb-v0.6.0-windows-amd64.exe 1df05fb0394ddbbf6ae5c118010139844104a9cc360f7c3b49baec80226c8c34

Immugw Binaries

File SHA256
immugw-v0.6.0-darwin-amd64 1e5ac276e2e72247aaaf5bf2551159147fb228f8cb2c984a8e3c6e50e1336ec8
immugw-v0.6.0-linux-amd64 6874a7aeccca72ecb1eef544fdceb85890683be6b2a50898bf37dde03b96e841
immugw-v0.6.0-linux-amd64-static 98634306a26e040ffa0362f636c8ea2d589a96236da02539be18c5b3b053be7c
immugw-v0.6.0-linux-s390x ba09d1117783cbc6d47d8705772583ea75b7b1db5eb55a17918e3df4a99e793f
immugw-v0.6.0-windows-amd64.exe e3ce3e6d1043af03a6f131b4d6c4a7b5d3ef62760389342c432da6ad32135e81

Immucli Binaries

File SHA256
immuclient-v0.6.0-darwin-amd64 b27d71bd6d9436667fc2b7c2c2cbb6e26e289aed93da49b6929a61bc0ae79b09
immuclient-v0.6.0-linux-amd64 88ae57067019ae4c0e4b0f1e5d04af6d319ee20fde343ad270ead8e9eb8b350e
immuclient-v0.6.0-linux-amd64-static f03178b1db3889bf978b2ee457bb6cb1d5713c30699f6ed70649aed5c7001907
immuclient-v0.6.0-linux-s390x c410f68309e713be832437d0205122877cac3cec43814ee54472687227055989
immuclient-v0.6.0-windows-amd64.exe 335f1033dea035587121ecbc44d0cc1f85d6d452ef1de7180d954f9834a90054

Immuadmin Binaries

File SHA256
immuadmin-v0.6.0-darwin-amd64 ec1f21a819138c0cc43504c47d7636c1735e3ebbff08ec42557a2a16383f18b4
immuadmin-v0.6.0-linux-amd64 936e889842b5338d7d12a8aecaf676cfa9cbbd87daef7dcb8d2192d79a40e2fe
immuadmin-v0.6.0-linux-amd64-static e8cbb48cd16127585163b7d668628b7769187af0542b7708047272362074e5b1
immuadmin-v0.6.0-linux-s390x fc5ff36a05a9bb99126d105dbfe3ab6d57ec7307047036b1329fc3db3fdee138
immuadmin-v0.6.0-windows-amd64.exe a764de3f1bbeb2f857e16bf1ccf4c816a527366e3e86cc5cbcb70fdf95482a8a

v0.6.0-RC2

28 May 19:36
Compare
Choose a tag to compare

Chagelog

[v0.6.0-RC2] - 2020-05-19

Bug Fixes

  • fix stop, improve trust checker log
  • handling immudb no connection error and comments
  • cmd/immuadmin: old password can not be empty when changing password
  • cmd/immuadmin/command: remove PID by systemd directive
  • cmd/immuadmin/command: do not erase data without explicit consensus. closes 165
  • cmd/immuadmin/command/service: fix #188
  • cmd/immuclient: correct argument index for value in rawsafeset
  • cmd/immutest: rename immutestapp files to immutest
  • pkg/server: fix error when unlocking unlocked stores after online db restore
  • pkg/store: wait for pending writes in store.FlushToDisk

Changes

  • remove online backup and restore features
  • add copyrights to makefile. closes #142
  • update dockerfiles
  • fix immugw dockerfile with dir property, update README
  • manage dir flag in immutc
  • add immutc makefile and remove bm from makeall
  • fix useless checks, binding address
  • use empty struct for values in map that store admin-only methods and add also Backup and Restore methods
  • fix useless viper dependency
  • fix travis build
  • cmd: remove useless exit call
  • cmd/immuadmin: add todos to use the functions from fs package in immuadmin service helpers
  • cmd/immuadmin: rename offline backup and restore to reflect their offline nature
  • cmd/immuadmin: fix typo in todo keyword
  • cmd/immugw: add dir property with default
  • pkg/client: fix ByRawSafeIndex method comment
  • pkg/client: add dir property with default
  • pkg/client: fix client contructor in tests
  • pkg/gw: add dir property with default, fix error messages
  • pkg/gw: remove useless root service dependency
  • pkg/immuadmin: use ReadFromTerminalYN function to get user confirmation to proceed
  • pkg/store: fix typo in tamper insertion order index error message
  • server: do not close the stores during cold Restore
  • server: check for null before closing stores during backup and return absolute backup path

Features

  • show build time in user timezone in version cmd output
  • set version to latest git tag
  • added interactive cli to immuclient
  • cmd/immutc: add trust checker command
  • immuadmin: add offline backup and restore option with possibility to stop and restart the server manually
  • immuadmin: add cold backup and restore
  • pkg/api/schema: add byRawSafeIndex proto definitions and related parts
  • pkg/client: add byRawSafeIndex client
  • pkg/server: add byRawSafeIndex server
  • pkg/store: add byRawSafeIndex methods and relateds parts
  • pkg/tc: add trust checker core

v0.6.0-RC1

28 May 19:37
9af617b
Compare
Choose a tag to compare

Changelog

[v0.6.0-RC1] - 2020-05-11

Bug Fixes

  • change user message when new password is identical to the old one
  • remove common package
  • use grpc interceptors for authentication
  • place password input on the same line with the password input label
  • store auth tokens in user home dir by default and other auth-related enhancements
  • fix structured values integration
  • disabling CGO to removes the need for the cross-compile dependencies
  • remove useless error. dgraph-io/badger@c6c1e5e
  • return correct error in safeZAdd handler
  • upadating takama/daemon to fix freebsd compilation. closes #160
  • split main fails in separate folders
  • fix immugw immud services in windows os
  • improving config management on linux and improved usage message
  • add immugw exec to docker image
  • wrap root_service with mutex to avoid dirty read
  • fix env vars. Switch to toml
  • prevent immuadmin users other than immu to login
  • env vars names for immudb port and address in CLIs help
  • enhance authentication and user management
  • environment variables
  • fix bug related to retrieve a versioned element by index
  • use arguments instead of flags for user create, change-password and deleted
  • fix reading user input for passwords
  • return verified item on safeset
  • code format for multiple files to comply with Go coding standards
  • /pkg/gw: manage 0 index value in history
  • /pkg/gw: manage 0 index value in safeget
  • /pkg/gw: fix guard
  • cmd: get and safeget error for non-existing key
  • cmd: remove short alias for tokenfile flag
  • cmd/immu: fix backup file opening during restore
  • cmd/immu: Fix newline at the end of restore/backup success message
  • cmd/immu: set auth header correctly
  • cmd/immuadmin: generate admin user if not exists also at 1st login attempt with user immu
  • cmd/immuadmin: verify old password immediately during change-password flow
  • cmd/immuadmin: fix uninstall automatic stop
  • cmd/immuadmin/command/service: fix windows helper import
  • cmd/immuadmin/command/service: fix group creation
  • cmd/immuadmin/command/service: fix config files in windows
  • immuclient: do not connect to immudb server for version or mangen commands
  • immudb/command: fix command test config file path
  • immupopulate: do not connect to immudb server for version or mangen commands
  • pkg/api/schema: fix typos
  • pkg/client: fix stream closing to complete restore
  • pkg/client: fix cleaning on client tests
  • pkg/client: fix root file management
  • pkg/client/cache: manage concurrent read and write ops
  • pkg/gw: fix hash calc for reference item
  • pkg/gw: fix lock release in case of errors
  • pkg/gw: ensure computed item's matches the proof one for safeset
  • pkg/gw: fix error handling in safe method overwrite
  • pkg/gw: manage concurrent safeset and get requests
  • pkg/gw: improve immugw logging
  • pkg/gw: use leaf computed from the item
  • pkg/gw: fix gw stop method
  • pkg/gw: refactor overwrite safe set and get request in order to use dependencies
  • pkg/server: correct error checking
  • pkg/server: improve immudb logging
  • pkg/store: correct health check error comparison
  • pkg/store: correct gRPC code for key not found error
  • pkg/store: badger's errors mapping
  • pkg/store: truncate set to true for windows
  • pkg/store: fix #60.

Changes

  • get rid of password generating library
  • update .gitignore
  • linux services are managed by immu user
  • add missing dep
  • update deps
  • simplify error during first admin login attempt
  • marshal options to JSON in String implementations
  • grpc-gateway code generation
  • Add swagger generation command
  • switch to 2.0.3 go_package patched badger version
  • simplify .gitignore
  • import badger protobuffer schema
  • rename immutestapp to immutest
  • Update makefile in order to use badeger on codenotary fork
  • fix compilation on OS X
  • Switch services default ports
  • improve configuration features on services management
  • prefix version-related variable holding common ldflags so that it matches the convention used for the other version-related variables
  • add pid params in config
  • fix typo in dump command help
  • remove default version value from immu* commands
  • change default output folder for man pages generation
  • rename immupopulate to immutestapp
  • remove app names from ldflags in Makefile, update immudb description in help
  • Switch config format to toml
  • Fix namings conventions on immud command config properties
  • Remove man pages
  • Fix coding style
  • move token file name into options and some cleanup
  • Print immud running infos properly
  • merge code changes related to histograms and detached server options
  • refactor immuadmin and stats command to allow dependency injection of immu client
  • change label from "latency" to "duration" in immuadmin statistics
  • remove types.go from immuadmin statistics cmd
  • rename functions that update metrics
  • integrate latest changes from master branch
  • update termui transitive dependencies
  • move immuadmin metrics struct to dedicated file
  • rewrite immuadmin client to align it with latest refactorings
  • fix project name in CONTRIBUTING.md
  • Suppression of ErrObsoleteDataFormat in order to reduce breaking changes
  • fix typo in raw command usage help
  • rename backup to dump, and disable restore
  • info if starting server with empty database
  • use exact number of args 2 for set and safeset
  • Set correct data folder and show usage in config. closes #37
  • instructions after make
  • update default dbname in server config
  • remove immuclient from default make target
  • protect default data folder from being inserted in repo
  • change config path in server default options
  • change default immudb data folder name from "immudb" to "immudata"
  • rename binaries and configs
  • rename test config file
  • remove codenotary badger fork requirement
  • rename command "consistency" to "verify"
  • remove codenotary badger fork requirement
  • change auth header to string
  • rename command "verify" to "check-consistency"
  • simplify auth options in immu client
  • improve login help and cleanup irelevant TODO comment
  • add host and version to swagger json
  • move server password generation to server start
  • get rid of locks on immuclient during login and user during set password
  • use all lowercase for immudb everywhere it is mentioned to the user
  • Switch config format to ini
  • cmd: add env vars to commands help and man
  • cmd: addutility to manage a y/n dialog
  • cmd: enhance unauthenticated message
  • cmd/immu: Add reference in command line
  • cmd/immuadmin: set titles to green and use grid width instead of terminal width to determine plots data length
  • cmd/immuadmin: remove duplicate dependency
  • cmd/immuadmin: remove log files in uninstall
  • cmd/immuadmin: improve code organization and help messages
  • cmd/immuadmin: remove unused varialble in user command
  • cmd/immuadmin: extract to functions the init and update of plots in visual stats
  • cmd/immuadmin: fix examples alignment in user help
  • cmd/immuadmin: remove ValidArgsFunction from user sub-command
  • cmd/immuadmin: improved immuadmin service ux
  • cmd/immuadmin: fix build on freebsd
  • cmd/immuadmin/commands: fix typo in error message and remove useless options
  • cmd/immuadmin/commands: fix empty imput and improve immugw install ux
  • cmd/immugw: overwrite safeZAdd default handler
  • cmd/immugw: Use default options values
  • cmd/immugw: overwrite safeReference default handler
  • immuclient: move pre and post run callbacks to sub-commands
  • pkg/auth: improve local client detection
  • pkg/client: add reference client command
  • pkg/client: add ZAdd and ZScan client methods
  • pkg/gw: fix default config path for immugw
  • pkg/gw: refactor handlers in order to use cache adapters
  • pkg/gw: remove useless check on path
  • pkg/gw: manage panic into http error
  • pkg/server: return descriptive error if login gets called when auth is disabled
  • pkg/server: keep generated keys (used to sign auth token) only in memory
  • pkg/store: switch to gRPC errors with codes

Code Refactoring

  • refactor packages to expose commands
  • remove immuclient initialization from root level command
  • Removed needless allocations and function calls, Rewrote Immuclient package layout
  • config is managed properly with cobra and viper combo. closes #44
  • Structured immugw and handling SIGTERM. closes #33
  • pkg/tree got ported over to its own external repo codenotary/merkletree
  • pkg/store: prefix errors with Err

Features

  • add safeget, safeset, safereference and safezadd to the CLI client
  • add mtls to immud
  • add version to all commands
  • Add config file. Closes #36 closes #37
  • add mtls to immugw
  • add mtls certificates generation script
  • always use the default bcrypt cost when hashing passwords
  • implement user management
  • Add capabilities to run commands in background. Closes #136 closes #106
  • hide some of the widgets in immuadmin statistics view if the server does not provide histograms
  • add --no-histograms option to server
  • complete implementation of visual statistics in immuadmin
  • change client "last query at" label
  • add "client last acti...
Read more