Releases: codenotary/immudb
release: v0.9.0
Changelog
[v0.9.0] - 2021-01-07
Bug Fixes
- remove badger metrics and fix stats command
- cmd/immuadmin/command: fix immuadmin stats (#592)
- pkg/database: enable scan on fresh snapshot
- pkg/server: shutdown handlers and metrics server are moved in start method
Changes
- removing audit-signature and add serverSigningPubKey
- remove print tree method
- restore inmemory_cache test
- cmd/immuadmin: temporary disable stats functionality
- pkg/api: upgrade rest endpoints
- pkg/client: implement missing methods in immuclient mock
- pkg/server: temporary remove proactive corruption checker (#595)
Features
- add signature verification with a submitted public key
Downloads
Docker image
https://hub.docker.com/r/codenotary/immudb
Immudb Binaries
| File | SHA256 |
|---|---|
| immudb-v0.9.0-darwin-amd64 | 3e809e30e295218596cfeaccbff46a6e85ced8ec61298c7a3c73eff5c885a9be |
| immudb-v0.9.0-linux-amd64 | 887d9ae18216252de2e3cc002ce8cbd03d01aa1663e56af1c720a15274bfabd1 |
| immudb-v0.9.0-linux-amd64-static | 2abaef74ca4ecd82e44471f96f49599afb63cc0dd9af6e9233546ea87c5bf44a |
| immudb-v0.9.0-linux-s390x | ad65bfb6f25d34ce8576a6e2b10e77f5164248de0e9805d719326f4b3aa6ea0d |
| immudb-v0.9.0-windows-amd64.exe | 48ae6028a3e5fcafcc045a461bd89541f795d20e57d0c8b7472ebecceb17c42c |
Immuclient Binaries
| File | SHA256 |
|---|---|
| immuclient-v0.9.0-darwin-amd64 | f644e623050c725ccc6b15d22ff0ca5b7a8c1d67b6bdf37bb4b87c54a5a4be76 |
| immuclient-v0.9.0-linux-amd64 | 656756ee29142149ab97d7f7055fc8656e43df6299c338197e7c8476861638f2 |
| immuclient-v0.9.0-linux-amd64-static | 90da63aa3c86dd255099bc2afe061b767bc464c26c2e5d15093471cb34a6b7f6 |
| immuclient-v0.9.0-linux-s390x | d5731b512ec5d08ac7964e344789da995d009688369807cafde1043a9b17f624 |
| immuclient-v0.9.0-windows-amd64.exe | 1eafe1db5b930f3c47a4320aed0300c723acd642d52e028e74ba1826f6662dbc |
Immuadmin Binaries
| File | SHA256 |
|---|---|
| immuadmin-v0.9.0-darwin-amd64 | bb360463bfa2d86a22fa67e1f72161e4b1d0b2dd2ca373e358551331de01fd3d |
| immuadmin-v0.9.0-linux-amd64 | 9cfcf0fd86cec1170560c45d7a75dfd1145b740676a2aa070063e3d3301ec152 |
| immuadmin-v0.9.0-linux-amd64-static | dce51100141688f40a8b96ee14b5d2766584b14f48777f4673c8a4f5e76e3964 |
| immuadmin-v0.9.0-linux-s390x | ad409d6b36c890d3173cabf9e7846ef93d65c031ceb068f39173314fceec77ad |
| immuadmin-v0.9.0-windows-amd64.exe | 9ff4361bb92789f2b1df18716be4141cbc5fe8272f3e44480b497551a0bada05 |
release: v0.9.0-RC2
Changelog
[v0.9.0-RC2] - 2020-12-29
Bug Fixes
- cmd/immuadmin/command: fix unit tests
- cmd/immuclient: fix unit tests
- embedded/tbtree: sync GetTs to prevent data races
- pkg/api: change order of validations when checking state signature
Changes
- adapt coverage to the new server implementation
- fix immuserver mock
- cmd/immuadmin: disable stats and removed print tree command
- cmd/immuclient: print verified label when executing safereference
- pkg/client: update service mock to new API
- pkg/database: add input validations during verifiable set
- pkg/database: implements History using lock-based operation
Code Refactoring
- uniform server and client tests
- improving buffconn server with splitting start method in initialization and start
Features
- embedded/store: implements lock-based History without requiring snapshot creation
- pkg/client: update auditor implementation to new server API
- pkg/client: implementation of client-side verifiedZAdd
- pkg/client: implements VerifiedSetReference
- pkg/database: implementation of verifiableZAdd
- pkg/database: implementation of VerifiableSetReference
Downloads
Docker image
https://hub.docker.com/r/codenotary/immudb
Immudb Binaries
| File | SHA256 |
|---|---|
| immudb-v0.9.0-RC2-darwin-amd64 | c16f1a762c7460fe66df2490a5ac5f1e4eb662584b63334eddf78e90fe4147b4 |
| immudb-v0.9.0-RC2-linux-amd64 | 45fc2fe6407d63f35dfa7a7d9b864acb9b0fe81e3ca684b20f50be1809830e06 |
| immudb-v0.9.0-RC2-linux-amd64-static | 2f5b895d1ca745ec1ff57bb238ba9420891f1c1201c29b8efef1e203d86623ab |
| immudb-v0.9.0-RC2-linux-s390x | c2c78756fc701627e46735a2fc7c5c1afbc99e5a26e7b9a60e763ec7115ea422 |
| immudb-v0.9.0-RC2-windows-amd64.exe | 26ab5c6d267e9f71d79b3ea2633cfa103084e56d2f5da1987e3dca417f8564e7 |
Immuclient Binaries
| File | SHA256 |
|---|---|
| immuclient-v0.9.0-RC2-darwin-amd64 | 473050e446741a6147ef365192f3599a70e8b4d176e9068be5c6d5895f086110 |
| immuclient-v0.9.0-RC2-linux-amd64 | 2d0c18ef6f827ffe0bb28350618f890260997334dc3fba50040af9fdd14f0375 |
| immuclient-v0.9.0-RC2-linux-amd64-static | 504365eeb2cec1349f56fe9a64ba4c0bb052a7eaf3574d488fbfb9c0708846bc |
| immuclient-v0.9.0-RC2-linux-s390x | 2832f468cf951adf030401f436338b067f8c4d6dab043d4cf7e850d2e74e7b19 |
| immuclient-v0.9.0-RC2-windows-amd64.exe | 11c3611410ada6b823759b3fe1ff71e3318901d5d9d903606a62ec5357bf8616 |
Immuadmin Binaries
| File | SHA256 |
|---|---|
| immuadmin-v0.9.0-RC2-darwin-amd64 | 51302ba08a291a384a0b966cd7bcc6dbb29f94546888e105db0771ec1d19389c |
| immuadmin-v0.9.0-RC2-linux-amd64 | 223248531930710721933df915821b230bfd1de0f25ff32a3dfbb3259b782095 |
| immuadmin-v0.9.0-RC2-linux-amd64-static | 3fb1a05ad1a73e46fa9804ffa541e3d93f8f6beaff485fdb1a7bf3dd53fe1b3a |
| immuadmin-v0.9.0-RC2-linux-s390x | 0332f5fc773eb93478facf02641dbfcbf51f0a5a73146288d42fa6f77b7e1d3a |
| immuadmin-v0.9.0-RC2-windows-amd64.exe | fac79bad8285e0167a06c2a7a5ae8e5e8543ddd431d75a67179fe2cc1b6cd658 |
immustore
Changelog
[v0.9.0-RC1] - 2020-12-22
Bug Fixes
- cmd/immuclient: print referenced key
- cmd/immuclient: print referenced key
- embedded/store: fix race condition
- embedded/store: fix race condition
- embedded/store: contemplate bad-formated proof
- embedded/tbtree: fix issue when initialKey is greater than keys
- pkg/common: fix leftover in index wrapper
- pkg/database: lookup for referenced key when atTx is non-zero
- pkg/database: working scan and zscan without pagination
- pkg/database: add cyclic references validation during resolution
- pkg/database: use EncodeReference in ExecAllIOps
- pkg/database: referenced key lookup when atTx is non-zero
- pkg/database: adjust execAll method
- pkg/databse: encoding of reference and zadd
Changes
- new proto definitions
- proof proto definition
- datatype conversion methods
- inject store reader inside zscan
- partial fix of scan test
- remove badger and merkletree dependencies
- api/schema: removed consistency method
- cmd: adjusted commandline tools
- cmd/immuclient: add verified operations
- cmd/immuclient: add support for safe operations
- database: implements ByIndex operation
- database: implements safeByIndex operation
- database: several fixes and unit testing adaptation
- database: contemplates the case not previously verified tx
- database: implements safeSet operation
- embedded: rename as SnapshotSince
- embedded/htree: minor changes in proof struct
- embedded/htree: internal linear proof renaming
- embedded/store: minor proof renaming
- embedded/store: return ErrTxNotFound when attemping to read non-existent tx
- embedded/store: add tx constructor with entries
- embedded/store: return txMetadata when tx on commit
- embedded/store: allow empty values and don't attempt to store in vlog
- embedded/store: adjustments on store reader
- embedded/store: add snapshotAt and adjust based on it
- embedded/store: wrap keyNotFound index error
- embedded/store: change tx proof method signature
- embedded/store: add method to retrieve tx metadata
- embedded/store: minor changes in proof struct
- pkg: rename to ReferenceRequest
- pkg: rename to CurrentState
- pkg: several minor changes
- pkg: rename to sinceTx
- pkg/api: rename to Entry and ZEntry and embedded Reference
- pkg/api: several improvements on grpc api
- pkg/api: add copyright notice
- pkg/api: new proof messages
- pkg/api: add vLen property to TxEntry
- pkg/api: new server proto definition
- pkg/api: remove digest data type
- pkg/auth: adjust permissions based on new api
- pkg/client: minor renaming to improve readability
- pkg/client: adjusted client providers
- pkg/client: add safe method alises for backwards familiarity
- pkg/client: adjusted golang client
- pkg/database: fixed methods with prefix mgmt, including scan
- pkg/database: minor adjustments
- pkg/database: mutex for reusable txs
- pkg/database: return functionality not yet implemented for VerifiableSetReference
- pkg/database: remove ambiguity in references
- pkg/database: zscan order with tx after key
- pkg/database: wait for indexing on execAll
- pkg/database: delay locking until indexing is done
- pkg/database: get from snapshot or directly from store
- pkg/database: add sinceTx to reference and make it handle key prefixes
- pkg/database: fix get/set with prefix wrapping/unwrapping
- pkg/database: implements new DB api using embedded storage
- pkg/ring: remove ring pkg
- pkg/server: partial use of embedded storage
- pkg/server: return number of tx as db size
- pkg/server: prevent logging request details
- pkg/server: getBatch operation
- pkg/server: implements history operation
- pkg/server: proof construction in safeget operation
- pkg/server: adjusted state signer
- pkg/server: adjusted UUID handler
- pkg/server: remove in-memory option
- pkg/server: disable proactive corruption checker
- pkg/server: disable cc
- pkg/server: adapt implementation to new api
- pkg/server: adapt to new database implementation
- pkg/server: comment unimplemented GetReference method
- pkg/store: moved package
- pkg/tbree: reader with descOrder
- server: implements safeGet
- server/api: minor changes in Item element
Code Refactoring
- pkg/server: add database interface and inject in server package
- pkg/server: move database to new package
Features
- partial implementation of safeGet
- add store reader, scan and sorted sets
- embedded: inclusiveSeek point when reading
- embedded: add Get operation without the need of a snapshot
- embedded/tbtree: use seek and prefix
- pkg/client: add GetSince method
- pkg/client: implements latest server API
- pkg/database: complete set and get reference methods
- pkg/database: uniform implementation for set, references, zadd, scan and zscan operations
- pkg/database: add execAllOps
- pkg/database: support for seekable scanning
- pkg/database: consistent reference handling, prevent cyclic references
- pkg/database: verify reference upon key resolution
- pkg/server: expose store options
Downloads
Docker image
https://hub.docker.com/r/codenotary/immudb
Immudb Binaries
| File | SHA256 |
|---|---|
| immudb-v0.9.0-RC1-darwin-amd64 | 48a6a390553216873b9816f893656d4883523512c135c268e228c13fdbebb903 |
| immudb-v0.9.0-RC1-linux-amd64 | 078b174d38db1c4228fc945f4ef04ff59f915f0d29069cecfb560731850bdae3 |
| immudb-v0.9.0-RC1-linux-amd64-static | dd4f26e5841c6dbae4635ab3dee7911c67afa5e6da86c63d5dd1bec36f36021e |
| immudb-v0.9.0-RC1-linux-s390x | 423dc4ce2d3f92801650fc55e4e9612843b54e9bffb0ca1c0ef09cc25ae78f59 |
| immudb-v0.9.0-RC1-windows-amd64.exe | 5348dea14a93f51fcc619c8605ddcf5b9ee4301ad3efe803d8014e477f33cc23 |
Immuclient Binaries
| File | SHA256 |
|---|---|
| immuclient-v0.9.0-RC1-darwin-amd64 | 8342137cb4d2e98da07079be3d1fdbb17d6661027dec6451a936045c4aa1fe38 |
| immuclient-v0.9.0-RC1-linux-amd64 | 7d6cd8cab0be03e6d8122350a693b66398d996ad9c0b3c19067c867b254e0ce0 |
| immuclient-v0.9.0-RC1-linux-amd64-static | 63294e9897b00f65825049ec9c8f981cf4c5a363ac8bf2748416d1225a9fb1f7 |
| immuclient-v0.9.0-RC1-linux-s390x | ee2980c4e217aaa9a41ac080e6d33ea563b908d008a4ec7038d4c16cb40c847f |
| immuclient-v0.9.0-RC1-windows-amd64.exe | 8d5d417c8765d903ffbf6357dd6934f27df9572f9821d066caa3eaad6f2a5d73 |
Immuadmin Binaries
| File | SHA256 |
|---|---|
| immuadmin-v0.9.0-RC1-darwin-amd64 | 7cc9d249552ef4de405653576dbb4b4faa0a3e5025f0337ab06cbbb8bcd01a59 |
| immuadmin-v0.9.0-RC1-linux-amd64 | 6db247fb96b6f25a5d40417e91490aea0bbb9113ae8d6ec0d0d82f94d09c2a66 |
| immuadmin-v0.9.0-RC1-linux-amd64-static | 7af831b38bf8bfffe418ef67e2f6db565f719a647f917249deab83e2fd698a07 |
| immuadmin-v0.9.0-RC1-linux-s390x | a061a6a04a310d6d5d10ec380f760da4bfdcbd9c0eae9c67bdabc535249730bf |
| immuadmin-v0.9.0-RC1-windows-amd64.exe | 8b1b4706ef0d3ad3cf2f3c8463fe6309ec522d9b77ab78d41e9e43ab038ada6d |
Multi-key insertion, crypto signature
Changelog
[v0.8.0] - 2020-09-15
Bug Fixes
- fix immudb and immugw version and mangen commands errors Without this change, while immuclient and immuadmin still worked as expected, immudb and immugw version and mangen commands were throwing the following error: ./immugw version Error: flag accessed but not defined: config Usage: immugw version [flags]
- fix immuclient audit-mode
- cmd/immuadmin/command: fix immuadmin dbswitch
- pkg/client: setBatch creates structured values
- pkg/client: token service manages old token format
Changes
- update README file (#487)
- switching README.md end lines to LF
- fix immugw dependency to support new root structure
- update readme, add immudb4j news (#488)
- cmd: add signingKey flag
- cmd: remove error suppression in config loader
- cmd/immutest/command: remove immugw dependency from immutest
- pkg: add kvlist validator (#498)
- pkg/server: log uuid set and get error
- pkg/server: log signer initialization in immudb start
Code Refactoring
- wrap root hash and index in a new structure to support signature
- move immugw in a separate repository
- configs file are loaded in viper preRun method
- pkg/server: inject root signer service inside immudb server
Features
- auditor verifies root signature
- cmd: process launcher check if are present another istances. fixes #168
- pkg: add root signer service
- pkg/signer: add ecdsa signer
Downloads
Docker image
https://hub.docker.com/r/codenotary/immudb
Immudb Binaries
| File | SHA256 |
|---|---|
| immudb-v0.8.0-darwin-amd64 | 4a1e251237f8b51f22015d4e657d7ee5065da6cf8c0c44b6de2c6daf63cce9d2 |
| immudb-v0.8.0-linux-amd64 | 4d7639117fcd68949c0a12b0430112d066c1299ef22a409b2fb6e4065bb289b7 |
| immudb-v0.8.0-linux-amd64-static | c72a6449d670be24d6233fe80e5e262925d1ebacc887269309f0fe4f34a616d4 |
| immudb-v0.8.0-linux-s390x | 9b1b795f7127a20ce94c1aeaf444ef8b6e5438fd623854cb18b6447c77b40c57 |
| immudb-v0.8.0-windows-amd64.exe | 74d2000fe3ceea9b78dda45304e4b18070c51218f1d0e593335d67ac3a28d249 |
Immuclient Binaries
| File | SHA256 |
|---|---|
| immuclient-v0.8.0-darwin-amd64 | ba54d3c2fcca4ac12ca4f26e9e6b84e40f5ecd727e2c9a09018495b724faa28a |
| immuclient-v0.8.0-linux-amd64 | 0cdd0ec9fe85c411745f37c668c3ccbbeb56dcaa0064cb972f46f2159861950f |
| immuclient-v0.8.0-linux-amd64-static | b5fe457535b988077d20ff9bf8ae0df00bcd2b6ec74f3ebffbb79c0165493b16 |
| immuclient-v0.8.0-linux-s390x | bd6f0e724154c208f5e84e44381b77c17baec6892baa7729ddb889b26715e878 |
| immuclient-v0.8.0-windows-amd64.exe | 1a0346d19bfc17f4c117d0e763a5a38a886c420a89149c8749e077e3319c9aeb |
Immuadmin Binaries
| File | SHA256 |
|---|---|
| immuadmin-v0.8.0-darwin-amd64 | e85c9a5c7b2394383bcefd73a392a9ae6b4c96868adcb57715a0e76775b0cc37 |
| immuadmin-v0.8.0-linux-amd64 | dac4af24f9c3fce9cd9da755c9abf45a37a2ebde5d732a5599f84eb8d0f1c183 |
| immuadmin-v0.8.0-linux-amd64-static | 443803e46aedba428c21108e567a9481ff7e6b269d6d1b0037f59c507326a53e |
| immuadmin-v0.8.0-linux-s390x | 1f713d269986a67abcb9aa74b4f310f467de026faac17976af5450f1dec2b7de |
| immuadmin-v0.8.0-windows-amd64.exe | dd2f32c2b490156814a826e8f3c90ff0290a793427af0f2cbee5b8745f71f162 |
Bug Fixes & Enhancements
Changelog
[v0.7.1] - 2020-08-17
Bug Fixes
- fix immudb and immugw version and mangen commands errors
- fix immuclient audit-mode
- fix corruptionchecker datarace
- cmd/immuadmin/command: fix immuadmin dbswitch
- pkg/client: token service manages old token format
Code Refactoring
- configs file are loaded in viper preRun method
Features
- cmd: process launcher check if are present another istances. fixes #168
Downloads
Docker image
https://hub.docker.com/r/codenotary/immudb
immudb Binaries
| File | SHA256 |
|---|---|
| immudb-v0.7.1-darwin-amd64 | 66fd66dc2d29d202a68387b9b9b07b5bc78fa2de78ff09fb3a0796ba4dd50037 |
| immudb-v0.7.1-linux-amd64 | 7b545a1fec88378ce5e8d6ca90363bf3c6fe9c12e2abcbea2435e80d29416046 |
| immudb-v0.7.1-linux-amd64-static | b98de015430a4c9863d49e8d545c6a634fd34a2694741ee70135a43531f22908 |
| immudb-v0.7.1-linux-s390x | 345ffe9bad89e5a286e9bf3bbe2381dd1c688894d5adb0e9183d42292b382b54 |
| immudb-v0.7.1-windows-amd64.exe | fa50e75a0fca1d1165c6f1dc3c2de16fd486d2aa09084f121bd7668806e7c052 |
immugw Binaries
| File | SHA256 |
|---|---|
| immugw-v0.7.1-darwin-amd64 | f1de2616c27ec53d28ff4f6bf4131ada0fc8f5653249030c249c2a3fe08bb1ce |
| immugw-v0.7.1-linux-amd64 | a865f6ed05e15a83435c327d254760a614ef6e3a74d08f179cbe482b9d607a60 |
| immugw-v0.7.1-linux-amd64-static | dfaa9c0d44114b9efb80630a100c5611bf610b6edfd75fd627b621fd8e2cc05a |
| immugw-v0.7.1-linux-s390x | e5cf9e2b044b1004544d17c8ae4893ca411ed4e61fa2a36c12069094a0e68d4c |
| immugw-v0.7.1-windows-amd64.exe | 91b36e83fa6d15bc42df33d02d6e46b13b9486ab856a23004c3ccbdc13f7f3de |
immuclient Binaries
| File | SHA256 |
|---|---|
| immuclient-v0.7.1-darwin-amd64 | 3d443854db64a37b6ef7c5660e253a7913b23ba4ca37cc36e97c72decfa4c92a |
| immuclient-v0.7.1-linux-amd64 | 742c420a55e27c501721e1608f58bffcdd5dc689f2d90aa91d6aa79c8d60dd53 |
| immuclient-v0.7.1-linux-amd64-static | d42eca522c3dd3edc179f0b4f71528daaa7d399a944121ed06d9c26ac959e925 |
| immuclient-v0.7.1-linux-s390x | da35790b323758e8e1c7f72a7d9a526026827782c08fdaef039bd3413eb464fd |
| immuclient-v0.7.1-windows-amd64.exe | 558c0ce954ae5464475928e6a65f7801b0f6ff150acd4da6c227d0ec8642036b |
immuadmin Binaries
| File | SHA256 |
|---|---|
| immuadmin-v0.7.1-darwin-amd64 | ed76f282d93861b82fe62a973b677a2f0cd4ea2baa2a74be82fdaf802aca83ae |
| immuadmin-v0.7.1-linux-amd64 | 3426f4eeda3072a5577f58eedb29d8fb3c3cab71182d05e2f7ffe2eefff5b751 |
| immuadmin-v0.7.1-linux-amd64-static | 1e8c185c22fbf06665d07acdc0470ea71399b2095250b8a5bc53d3b793b09a7e |
| immuadmin-v0.7.1-linux-s390x | 234bfe508c24fb30f378f5ec1249b9853f20b3ab9a925b0d56aafb54263e46a5 |
| immuadmin-v0.7.1-windows-amd64.exe | 639d76a732123110c45a84c06cd18fbed69d4b32aa67eb62f8ce568a1dca086d |
Multidatabase
Changelog
[v0.7.0] - 2020-08-10
Bug Fixes
- userlist returns wrong message when logged in as immudb with single database
- use dedicated logger for store
- fix compilation error in corruption checker test
- race condition in token eviction
- chose defaultdb on user create if not in multiple db mode
- user list showing only the superadmin user even when other user exist
- fix multiple services config uninstall
- skip loading databases from disk when in memory is requested
- if custom port is <= 0 use default port for both immudb and immugw
- fix immugw failing to start with nil pointer dereference since gRPC dial options are inherited (bug was introduced in commit a4477e2)
- remove os.Exit(0) from disconnect method
- fix DefaultPasswordReader initialization. fixes #404
- fix travis build sleep time
- use the correct server logger and use a dedicated logger with warning level for the db store
- cmd/immuadmin/command: fix user list output to support multiple databases (with permissions) for the same user
- pkg/auth: if new auth token is found in outgoing context it replaced the old one
- pkg/client: use database set internally database name
- pkg/client: inherit dial options that came from constructor
- pkg/fs: don't overwrite copy error on Close malfunction. Sync seals the operation–not Close.
- pkg/gw: fix client option construction with missing homedirservice
- pkg/server: added os file separator and db root path
- pkg/server: avoid recursion on never ending functionality. Further improvements can be done (#427)
- pkg/server/server: change user pass , old password check
- pkg/service: restore correct config path
- pkg/store: fix count method using a proper NewKeyIterator
Changes
- refactor immuclient test
- fix tokenService typos
- add use database gw handler
- spread token service usage
- enhance immudb server messages during start
- capitalize immudb stop log message for consistency reasons
- remove permission leftovers and useless messages in client server protocol
- log immudb user messages during start to file if a logfile is specified
- use debug instead of info for some log messages that are not relevant to the user
- versioning token filename
- add auditor single run mode
- fix conflicts while rebasing from master
- remove user commands from immuclient
- add unit tests for zip and tar
- fix test
- improve command ux and fix changepassword test. Closes #370
- change insert user to use safeset instead of set
- remove useless quitToStdError and os.exit calls
- remove sleep from tests
- use 0.0.0.0 instead of 127.0.0.1 as default address for both immudb and immugw
- using cobra command std out
- move immuadmin and immuclient service managing to pkg
- add homedir service
- rewrite tests in order to use pkg/server/servertest
- add codecov windows and freebsd ignore paths
- fix typo in UninstallManPages function name
- add coveralls.io stage
- refactor immuadmin service to use immuos abstraction
- add coverall badge
- add filepath abstration, use it in immuadmin backup and enhance coverage for backup test
- add os and filepath abstraction and use it in immuadmin backup command
- fix codecov ignore paths
- remove os wrapper from codecov.yml
- fix go test cover coverall
- fix immuclient tests
- add empty clientTest constructor
- user list client return a printable string
- add unexpectedNotStructuredValue error. fixes #402
- add failfast option in test command
- fix contributing.md styling
- remove tests from windows CI
- add go-acc to calculate code coverage and fix go version to 1.13
- refactor immuclient test, place duplicated code in one place
- add an explicit data source on terminal reader
- TestHealthCheckFails if grpc is no fully closed
- add options to tuning corruption checking frequency, iteration and single iteration
- cmd: immugw and immudb use process launcher for detach mode
- cmd: token is managed as a string. fixes #453
- cmd: fix typo in command messages
- cmd: enhance PrintTable function to support custom table captions and use such captions in immuadmin user and database list commands
- cmd: restore error handling in main method
- cmd/helper: add doc comment for the PrintTable function
- cmd/immuadmin: immuadmin user sub-commands use cobra, tests
- cmd/immuadmin/command: remove useless auth check in print tree command
- cmd/immuadmin/command: fix text alignment and case
- cmd/immuadmin/command: move command line and his command helper method in a single file
- cmd/immuadmin/command: automatically login the immuadmin user after forced password change is completed
- cmd/immuadmin/command: remove silent errors in immuadmin
- cmd/immuadmin/command: move options as dependency of commandline struct
- cmd/immuadmin/command: user and database list use table printer
- cmd/immuclient/command: remove useless comment
- cmd/immuclient/immuc: inject homedir service as dependency
- cmd/immugw/command: use general viper.BindPFlags binding instead of a verbose bindFlags solution
- cmd/immutest/command: inject homedir service as dependency
- pkg/client/options: add options fields and test
- pkg/client/timestamp: removed unused ntp timestamp
- pkg/fs: utilise filepath directory walk for copy
- pkg/fs: traceable copy errors
- pkg/fs: create file copy with flags from the start, in write-only mode
- pkg/server: add corruption checker random indexes generator missing dependency
- pkg/server: improve tests
- pkg/server: mtls test certificates system db as immuserver property improve tests
- pkg/server: make DevMode default false and cleanup call to action message shwon right after immudb start
- pkg/server: immudb struct implements immudbIf interface, fixes previous tests
- pkg/server: add corruption checker random indexes generator dependency
- pkg/store/sysstore: remove useless method
Code Refactoring
- add immuadmin services interfaces and terminal helper
- remove custom errors inside useDatabase and createDatabase services. Fixes #367
- handle in idiomatic way errors in changePermission grpc service. Fixes #368
- decoupled client options from server gateway constructor
- refactor detach() method in a process launcher service
- decouple manpage methods in a dedicated service
- cmd: move database management commands from immuclient to immuadmin. Fixes #440
- cmd/immuadmin/command: using c.PrintfColorW instead c.PrintfColor to increase cobra.cmd integration for tests
- cmd/immuadmin/command: move checkLoggedInAndConnect, connect, disconnect from server to login file
- cmd/immuadmin/command: remove useless argument in Init and improve naming conventions
Features
- add multiple databases support
- cmd/helper: add table printer
- cmd/helper: add PrintfColorW to decouple writer capabilities
- cmd/immutest: allow immutest to run on remote server
- pkg/client: add token service
Downloads
Docker image
https://hub.docker.com/r/codenotary/immudb
Immudb Binaries
| File | SHA256 |
|---|---|
| immudb-v0.7.0-darwin-amd64 | 53a2b89781be7a83a3ae4a22156c62cc144413cba601cd9ab54fbede936c0abd |
| immudb-v0.7.0-linux-amd64 | fa94dd6518dc9d4fa1e8ff11c3143cdfdc43476299925f3421ac487530246d92 |
| immudb-v0.7.0-linux-amd64-static | ec86c9d2c34e0bc8a5bfcd4e5072fefcfd3da0891dfc6d84a872eddf6a667945 |
| immudb-v0.7.0-linux-s390x | 0c7fbe33bc616182bbbc59b77e370d4295904b94f52e3147572547b54fafae2b |
| immudb-v0.7.0-windows-amd64.exe | 2b8db025ef1afffb12426761cf34a41f4ead059fb51efccec7560868bb99690b |
Immugw Binaries
| File | SHA256 |
|---|---|
| immugw-v0.7.0-darwin-amd64 | 8952cb9c4a9a7631553cb04b59646eb1b18ff5dbf098625cef35754f0e71a215 |
| immugw-v0.7.0-linux-amd64 | f15e869af91817c4df2efe5bca4ec4a93b7a88929446c55c3bf8a55e14399750 |
| immugw-v0.7.0-linux-amd64-static | 1c3daf1ef395e1114187624d11a574294614dd9befcc1afa50b647e35f7ee9d1 |
| immugw-v0.7.0-linux-s390x | 5ea29b72cadcc75dbb18f7a06f225155c324197154a175f2c59ace1ad1d6fdc3 |
| immugw-v0.7.0-windows-amd64.exe | 4212c741f4a094e75fe5b6e05e02dead451277527de65d423bf66fd8ea1fc25a |
Immuclient Binaries
| File | SHA256 |
|---|---|
| immuclient-v0.7.0-darwin-amd64 | 678f8cedb21d35259ae449ec949c1d5b7b8d6fa77f3db40fecbddba0d5bab19a |
| ... |
v0.6.2
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
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
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
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