v0.81.0-canary.pr-7890.1Pre-release
Changed 17
- Time the lost-collection wait from the oldest collection still running
- Accept only whole-second challenge windows of at least 30 seconds
- Start the certificate challenge refresher only once the account manager is built
- Keep an account tracked for certificate challenges when it is tracked again during its refresh
- Let a lost proof collection go after ten deadlines, sharing the slots across engine restarts
- Share the proof collection single-flight across engine restarts
- Keep the newest posture checks pending whatever made their meta sync fail
- Keep the certificate challenge comments to what the history does not say
- Send challenge refreshes down the path the rest of management uses
- Bound one account's challenge refresh so it cannot starve the rest
- Let the challenge refresh loop stop with the manager that owns it
- Register for renewal on pushed updates, not only on connect
- Renew challenges only for the peers that answer one
- Make the certificate challenge window one knob to turn
- Ask a macOS user's keychain again only after an hour when it proved nothing
- Keep the file check results of the latest-started system info refresh
- Send recollected certificate proofs to management only when the proven chains changed
Fixed 3
- Fix the pending checks comments
- Close a PKCS#11 module that loads but cannot be used
- Report no lost certificate when the engine stops during a proof collection
From NetBird
Changelog
- 88d8baac3f4b135502aa3dba86e15a4b95f32a76 Time the lost-collection wait from the oldest collection still running
- 2f66426f9f45651b5067504dc031d35a0516eeb7 Merge branch 'certificate-posture-client' into rm_certs_posture_chk
- ab75020c695207b12046519610856a8bcefc6f67 Fix the pending checks comments
- 6f0dcfed9d65a6979942027b3cc60c8b5558d889 Accept only whole-second challenge windows of at least 30 seconds
- a99026664912c438bdd53e1e3ec6c50a6f95ab73 Start the certificate challenge refresher only once the account manager is built
- e02c3828c63a084303e7ac67d0e5192d27a66c1e Keep an account tracked for certificate challenges when it is tracked again during its refresh
- d9f1a94d9f341d1fa61de9783840acac1a7d77be Let a lost proof collection go after ten deadlines, sharing the slots across engine restarts
- 23a78098359b9e60025037b48633eb44310a14ed Merge certificate-posture-client into rm_certs_posture_chk
- 3d629c565d49f24a7b2628f631ddf3aa07818806 Close a PKCS#11 module that loads but cannot be used
- f603251d8796bc508a807c34aacc74f677b75042 Share the proof collection single-flight across engine restarts
- d70249adbcbd59f1f2814612b3fcbf55981b5c9c Report no lost certificate when the engine stops during a proof collection
- 4ad5c16cd47f66198bb5b6a8369f41a91b8c28f0 Keep the newest posture checks pending whatever made their meta sync fail
- 0dab17141ffc4180bdc5d10954bfb0c76ba7922d [management] Keep the certificate challenge comments to what the history does not say
- f1ed3a722b27a37cf3f552229354401bcccdd7ef [management] Send challenge refreshes down the path the rest of management uses
- 7cc95f6cc9db7227ba32ec960026e12de8685255 [management] Bound one account's challenge refresh so it cannot starve the rest
- 3269d8117f7e925816d4e3d2f37117f6ce541d62 [management] Let the challenge refresh loop stop with the manager that owns it
- 3d9def78c3a9923eb32fb5874e899a3d18dcc8e3 [management] Register for renewal on pushed updates, not only on connect
- c62cda362342649180eaac65dc355ad3fc4a9311 [management] Register an account for renewal where its nonce is issued
- a0fa32547f77bb162c1c194a47c784c17fcd326b [management] Derive certificate challenge nonces from the stored encryption key
- 4e42ccb6f0ba0b6ef99916d67efe3a2a4859790e [management] Renew challenges only for the peers that answer one
- 689ab057b94483250eca38f6fb340474d24c78b1 [management] Pin the property that makes per-peer nonce state unnecessary
- c2d2f760ecbbaba0d8c6aeea034afd34da6deef1 [management] Make the certificate challenge window one knob to turn
- f490f09677e4890da2b0d714ea5dfcec9ba989e9 [management] Renew certificate challenge nonces on quiet accounts
- eaf6bec3224baf706537c410b93d682c67b17346 Drop the certificate store directory from certproof.Config, which only NB_CERT_STORE_DIR sets
- 4b31962b0ee85dc6f9f41038c20b67ca1a80458b Name the post-install permission helper in snake case and shorten the sysconfig certificate block
- db24bd37b0ea5c69b3f25a1a8e0cbbb25b9fac01 Keep free functions out of the method lists of PKCS11Store, URI and Challenger
- fb56c2d46a8f98051e6ce1cac20e05287b4d5651 Hold off the keychain helper only after a completed or timed-out run, independent of CA order
- c2fe71205850d2b9818a627d8262fc0912fd7deb Clear the lint findings in certificate posture
- b2a99b677f9871a8cd7455c70f6ab9ea46d301c5 Ask a macOS user's keychain again only after an hour when it proved nothing
- 3b67491410beb9ef43ae5bf8ee829b6981ad97d1 Let the certificate proof helper read the PKCS#11 token from the environment on Linux
- c50545cfef37ed56ce35fe47db1a2917cbaaabe4 Search only the System keychain in the macOS daemon and only the login keychain in the user helper
- f311fd5a3ecff12a6d87f8251ad75c5022ba720a Restrict the service environment file to root on every package install
- ffbd896a896f9f3c6c3a6d5ab494218a5a83bad2 Give the full import command for a keychain key netbird may not use, and correct the package doc
- 63642bbc2b37652e8f44443b704343cdff842c51 Keep the file check results of the latest-started system info refresh
- 2017987b97ea25e1aeedc82ef7fb7a760465bec6 Name NB_CERT_PKCS11_URI in the PIN-without-token error
- 260c1495582e91343003fcb27618c1a8ed0ef4e1 Move the certificate posture README into the package doc and the docs site
- c1520fef493e557b13cb7127512aa53c087ef242 Install the RPM sysconfig file readable by root only and show the certificate posture variables
- a45cbeca269a14629fce2af038f3ce06a942f3d1 Read the certificate store directory and PKCS#11 URI from the daemon environment, not the profile config
- ea63acb2e812921081f9a5bd30d187dd78173568 Collect certificate proofs on the posture watcher instead of under the sync lock
- 9c4da8dde5f26cad40f0503e66c7dbd088992705 Hold off system info gathering only while a timed-out one is still running
- c5f2f6aa7c5640df58fa9331db755c56bde2d5fb End sudo option parsing before the macOS certificate helper binary
- d85f2e52c8a420d4e1ea9271fdd98cda6bc17821 Kill the whole macOS certificate helper process group when it times out
- 441cf9441382a1cb4c252ecff61c9977b466f304 Explain a macOS keychain key whose access list does not allow netbird
- 60776de61b470b9c2d952442133f53dd7e6315e0 Send recollected certificate proofs to management only when the proven chains changed
- 5764ddd689de8a37e302e01d3830422d508a70d7 Log what a successful certificate proof helper wrote to stderr
- 8b38697148ad9f68b0d9caa0e4e316bd827e2a4d Guard the applied posture checks across goroutines and keep refreshing proofs while a pending update times out
- 4da7a2ea112b60dab7d9e03adecfcf57ef41ea7f Start no system info gathering while a timed-out one is still running
- bff0ea057e218ef5c6e7fd0181be4b150b598899 Retry posture checks whose meta sync timed out instead of dropping them
- 0cdcc9d52fe27b027bdd6ecca3704a7411a248a3 Merge commit '09b19595f' into certificate-posture-client
- 09b19595f13dc5008aaf0394cc81effc3cb3ea9c Add the certificate fields to the network map golden data
- a66b3e06fcf8839425b2f4eb9f46d020303cfe3c Merge main through poc/certificate-posture
- ea5cf822ebeb2938fa3e23cd989391bc807a62c5 Merge main into poc/certificate-posture
- c39047ed5ca7149b6e1e12c3eb275924a8f48aea Refuse a TPM PSS signature request for the maximum salt length
- eb5a98c059891a2ba78284daf5446cc8c4bfa5fd [management] add tenant delete endpoint to openapi (#8054)
- 2b5293687f3e6aa4a6a1f070a6e95353155e21c4 [client] Skip late session warnings on desktop and schedule them in the app on Android (#7548)
- 5c3cca2531312850e0390ab6415beb35597f55cd Test that the PKCS#11 URI stays out of the debug bundle and run the wrong-PIN test only on a disposable token
- 597f1980b616a860dc32ed3b769caecd24a23cf5 Document the PIN sources on CertPKCS11URI and keep the README PIN example off the command line
- 6d9b8e66113c9bc7b50fea12d9577d238a5e7684 Use no user certificate store when the active profile's owner cannot be read
- 4209a789933350784e95cc27a8db6932d626904d Use no Windows user store when a domainless owner matches accounts of several domains
- 5682247a97e779538d691aec1d09f2afc7780bb7 Collect certificate proofs again when the meta sync carrying them failed
- f175e402c7d2b7a4caa1315310206c6434de2fb3 [client] stop offering to every peer when the relay transport drops (#7092)
- 0e46d95c010b30c05c2bd2d3f4588ec0bfb99e20 Share a PKCS#11 login between sessions and send each PIN at most once at a time
- 44312b4d17be5080f9b61b71b68af97a5d2a85e2 Check the store directory before listing it, refuse group-writable files, and reject a URI with two PIN sources
- dc3101a4f26dbb2cf0267d670059599186ca963b Count the certificates field in the peer meta store test
- 53108c7e2e3d0e76f3531a085544ae203e6787df Accept the TSS2 emptyAuth boolean OpenSSL writes and persistent parents on 32-bit builds
- ad03081e1fb8a65f052a6795d5812a5476a7c16c [management] Refresh only affected peers on IPv6 settings changes (#8051)
- bc44cdc37a3b41298187ab76799d327c8a1152cc [client] Fix browser login popup show from go (#7408)
- 26fe2c5ee78bce2b65553aaa81c23e60ad385595 [client] Clear the lint findings only the macOS and Windows runners see
- cc121107cf4dbe7c8c7d8920f6e0f75d008d856d [client] Drop go.step.sm/crypto and the repo-wide upgrades it imposed
- 8d9e125afd9bf85fcb12d576e355d96c89450b2a [client] Read TSS2 key files on go-tpm, checked against the library it replaces
- 6b3cfbabd2d6efe270029e5a52769970214f4af9 [client] Resolve the Android network route peer by HA unique ID instead of scanning the full status (#7705)
- 1c7d87d5fc618babc6f524dfbe885760ed208bdc [client,android] Generate debug bundle to file (#7528)
- 13ce67434e5001d2dc82a363d9c6f9ebf42c3788 Keep the certificate stores and TPM library out of the WebAssembly build
- 19c54b82264965bb20ca18886324fb41b55f7fe8 [management] Refresh only affected peers on DNS zone and record changes (#8050)
- 0cd27ca14b52ba01fd3e57bf3f18328d10047fc3 [management] Improve Base62 encoding/decoding performance and robustness (#3391)
- 8f138c01c08d2211960c3e1caeb99d1f2d0d9343 Match the Windows profile owner by name instead of resolving it through the domain controller
- 86c5ca0f3f6247791b12a11ddab3891965849b67 Use platform absolute module paths in tests and add a real owner session test for Windows
- 6262325e89d789cc8de329773c4c7f8f613c417c Explain a Windows certificate whose key only a legacy CryptoAPI provider holds
- a12f19ca59e4e46ebfa9ad1298e476af1c7c0042 Trust certificate and key files only when no other user can write or redirect them
- 7b8fa29031add85380adab1c504186eae4a90247 [self-hosted] Replace "which" dependency by "command" from configure.sh script (#8007)
- 08927121a122fcb23137aa25e22124a93b242e29 Refuse PKCS#11 URIs that this client cannot honour instead of widening the match
- 249793d42c53ee87f56c645675144d65ce0b853c Document where an inline PKCS#11 PIN is stored and how it is protected
- 88b26bb74f50f12f25ad7b5db8eddb171d91a1e5 [infrastructure] Create the preflight artifacts directory before submitting (#7947)
- 3c4358dd3625e458fef379dd15bd356b31147bfd [management] Require a private proxy cluster for cluster and direct upstream targets (#7984)
- e89acf56e8279c3d2ead6a195b4fbe88c71a73c1 [client] Take the caller's context and the lock when collecting proofs
- 58142f33c2e98cc67b6423096d1845da2f59fd76 [client] Let a wedged proof collection go, instead of disabling proofs for good
- 73655fb3627735841e86ea803d35287983ba7f31 [client] Clear the lint findings only the macOS and Windows runners see
- 278f2f3807811476d57463999df0349018e45484 [management] Derive certificate challenge nonces from the stored encryption key
- 8d226074f3a09296545f80e63d8bf05301af7149 [client] Drop go.step.sm/crypto and the repo-wide upgrades it imposed
- a7f183c87cb16f665c202b4b833852406e4fdcff [client] Read TSS2 key files on go-tpm, checked against the library it replaces
- dc4d0e02742a621edd62f7287d40745c7a3c48ac [management] Renew challenges only for the peers that answer one
- dee68facfd926890c2c404362622b4aeba873844 [management] Pin the property that makes per-peer nonce state unnecessary
- 0e38fcf409d1f602765e971e597edc23f0c0f844 [management] Make the certificate challenge window one knob to turn
- 7ad4a0df376eecf01dd23e081b5f5a8c98b1a9f5 [management] Renew certificate challenge nonces on quiet accounts
- 3e360ebe0f6a2226d2962254ad94c823c4403346 [client] Drop the unreachable helper timeout from certificate proof collection
- ec48a92065f2324fe21e0b9156067c0e53fe843a [client] Cover the cert proof helper path the deadline actually cuts short
- 8224e0f7bf690684c880c33ba7e638a2e042ae14 [client] Bound the wait on a certificate proof helper that outlives its launcher
- 9f8ddc71315bc40f5c98dca82cd902ec1a9f59dd [client] Discover interfaces lazily in stdnet instead of at construction (#7346)
- 1b89880e30fa542ae6ff93fd1423e8a923b98e8d [misc] Move the FreeBSD port test to release 15.1 (#7999)
- e2678d4e05e8eda40a74915a4d376b0c4ea49a67 [management] expose peer MAC addresses and make peers searchable by MAC (#6553)
- 0712a5a5b92e17392ddd809d1fe0c0188175f611 [management,proxy] Rename the OIDC session code query parameter (#7981)
- 0ed3eb61392717cc76242bdfa36b34ac4e0c1766 Test the PKCS#11 build against SoftHSM in CI and warn once where the build has no driver
- 07cf08230c0f861ab88dfae2aab9be00a8b4b902 Collect certificate proofs again when the owner's session changes and report lost proofs
- a91fe94ada3edfc4b9c6939b13fc084a0847669d Read user certificates only from the session of the active profile's owner
- e0b6a38aa29caad543e41a6f0d4f2478e2665ab2 Require a token label whenever a PKCS#11 PIN is set
- f400f4bee8d110c1bae499a42e52a505792877c5 [proxy] Optionally refuse private addresses on direct-upstream dials (#7913)
- 5ceca6e500fb453ddb55a917f55fb84929eabcbd [client] Report both peers' state when the connect test times out (#7944)
- 3906295446d33466c1579993dbf48ced23980c1d [client] Add Homebrew cask e2e test (#7618)
- 6425b042002f0891e8d3142fd9371b87512b75bb [client] Only treat LocalSystem as a privileged identity by SID on Windows (#7889)
- 3cfff34d2c87a1aa757cc94957aadcd78c601b23 Find a chain to each challenge's CAs through every intermediate the store holds
- 21be4420d1d9fe7bd11db7d9efa926b0322c2368 Keep the macOS keychain code out of iOS and the PKCS#11 driver out of Android
- 06bc8bfcad709a2902809c8aebdc8282b28a78de Never pass NULL to CFRelease and skip unreadable keychain identities
- b364af92067c8d4475ac8ef010c48d3133a4163c Bound PKCS#11 driver sizes, pin template values, and log out only a login the session owns
- 59aeeb1c94e3147e0e6d698cf0c8e393bcc5d010 Skip certificate files whose key belongs to another certificate
- 5af909b111f21ff6e8a207f87ee830902ba882e4 Sign only nonces and peer keys of the size management issues
- 0129b90ae319104983fbbce46d8cc0e1bc85b3b7 Log certificate posture details at debug level
- a230d39aa005febd0b3b3decd5764a69344700ed Stop retrying a PKCS#11 PIN the token rejected
- 83e7bf8ab438bcff403790c0243f25bc9b0ef204 Bound certificate proof collection so a stuck token or keychain cannot hold the sync loop
- ab2f8972be72c37ada9c8f871875bf4a39deb35c Read the PKCS#11 token PIN from NB_TPM_PIN instead of the profile config
- 0641f0d7bb41e5a02388d4a673422070de33ab0c Isolate the cert proof helper from the service environment and cap its output
- 82e5428c2f75469fdbfb133b52d8d5d284734a21 [management] Let usage_viewer read Agent Network access logs (#7750)
- fd1a0203c7d9dcf0df81bb16d344edb7bd85a416 [management] Clean up after account deletion (#7812)
- 6c453a0f979806cd93a230073ae0e127b6ce01f0 [client] Add debug cpu start and stop commands (#7749)
- 0dc729c4ead3dce2839cdc34738a7a99bdef71ad [client] Cache the box shared key per remote peer in the Signal client (#7807)
- e72be6698f7ad0d00c1c5c08e5b601599488e87f [client] Keep the advertised ICE session ID when following a remote restart (#7814)
- 39de33ceca93c2a0ea07756b5ca9ffd6bb4eb496 [management] handle db conn close on errpr (#7740)
- 96bfcc360008b0c12e41b39cb3f7c575ab49ac42 [client] Classify Windows local accounts by NetBIOS name (#7628)
- 8ab34fcf8ba693de2f504154a2fa24e003fa8e17 [proxy] Apply the upstream HTTP version before cloning transports (#7806)
- 8edc120370e57bea07482412675ca9a2ac9bf808 [client] Replace the eBPF WireGuard proxy with loopback endpoint addressing (#7316)
- 574c29973a4f467ffef862d073e50ba3e8a332c6 add unsupported flag for mobile devices
- 30dd076b369f9fa9c307b94c482163da3922e5fe [management,proxy] Use single-use codes for OIDC session handoff (#7635)
- 7ff709f565456f8a5fa5d8e25a1699667a5a76e2 [client] Keep the delete-profile dialog open until the delete finishes (#7752)
- 10a04fcccbd02ab734e3d229dce3b314e0002e48 [management] Add a disabled state to the managed Agent Network proxy API (#7744)
- 93cb226a5e082507f29a2bf1bc4805a8195dbc7e [management] fix login filter (#7739)
- 082aca155615f17f0c0ac84e958a34b9681ff55f [management] Refactor PKCE verifier store into a reusable single-use store (#7634)
- a2919e26dd750b42fadbf62d72b4e24a530077ee [management, proxy] Enforce strict base64url decoding for JWT validation (#7554)
- e830903a94da4662da2e9d4b9291651677bc4042 [management] Add a revocation guard hook to the proxy token API (#7732)
- 782c9434106f68fe83e45d612d756896a8179237 [management] extract shared db conn + data repository (#7649)
- 002755c41239b4457084bc81d17346754d7e1dde [infrastructure] Fix flow auth secret for external Relay migrations (#7731)
- 164d92e78da0ce53592d7d8ba4abe6863e74ac0a [client] Stop dumping the whole device to clear one peer endpoint (#7632)
- 7fbde60b7cc51a598a1b711509beb2738fccdd64 split cert and key location and allow key lookup on tpm
- d04aef6f1492d2c7050aa83edeee8f431ebe612b add tpm pin to netbird config
- d3c5b6718a40eb15f4f040fac770420520b91718 Merge branch 'main' into poc/certificate-posture
- af7b475552e127888fb01a75c03f81d611de1e79 go mod tidy
- a2e66a7d64e29105798ef0396dd953a8bc641524 Merge branch 'main' into poc/certificate-posture
- 47318da65f65dfcda03ab085c62f5af204b722f0 update goreleaser
- 92d76acdd31dd9dbef35d54771b9cd0ad5cd4be2 split goreleaser to support pkcs11 and exclude on docker
- 25078c4af0a577aaa232c92654129bc2f116613f Merge branch 'main' into poc/certificate-posture
- 24f5f2a7ec602e525863ce0a2b91d9a12d8ab9f7 start TPM support
- d89e9c86eb70186d76198f95e86dcd4554fca97d Merge remote-tracking branch 'origin/main' into poc/certificate-posture
- e0ede59d689de183977167c09f824e9661458a4d read the signed-in user's certificate store on Windows
- 422912e7d508978b1ffb3260580cce9222083185 read the console user's keychain through a user session helper
- 068f21879597c1ec57374f8cb7cb4bd1bfc0cd7b add keychain and cert store support
- 6c910ede4a1e62e2f5853bd087d93d8ba20284cb Merge branch 'main' into poc/certificate-posture
- aea3f4fda68662043cd6d625f6fd7ba42edc4985 log signal address
- 8c5cf8611784998217c261d5431e431c6f297842 Merge remote-tracking branch 'origin/main' into poc/certificate-posture
- 84d83fa05ef7bf352cae4564376a814b8ba21cfe implement certificate posture check