github Onemind-Services-LLC/netbox-secrets v3.2.0

one hour ago

What's Changed

This release adds support for NetBox v4.7.1+.

New

  • Support for NetBox v4.7.1 and later (OMS-1251).
  • Secret roles now use PostgreSQL ltree for the role hierarchy instead of MPTT.
  • Secret and secret role pages now use NetBox's panel layout.
  • GraphQL types and filters now use the NetBox v4.7 registration API. SecretRole uses the ltree types, and the internal path and sort_path fields are not exposed.
  • The owner relation is updated for NetBox v4.7 (migration 0013).

Upgrade notes

  1. Upgrade NetBox to v4.7.1 or later first.
  2. Back up your database. Migration 0012 moves the secret role tree from MPTT to PostgreSQL ltree. Reversing it does not restore the tree data.
  3. Install the new version, then run python manage.py migrate (migrations 0012 and 0013 are applied).

Upgrading from v3.1.2: what to do about keys

The session key change shipped in v3.1.3, so it applies if you are coming from v3.1.2.

  • Session keys: delete and create again. Older session keys are rejected.
    • API: DELETE /api/plugins/secrets/session-key/, then POST /api/plugins/secrets/session-key/ with your private key.
    • UI: delete the session key and enter your private key again.
    • Do not use preserve_key. The old key cannot be preserved.
  • User keys (RSA) and the master key: no action needed.
  • Existing secrets: no action needed. Old validation hashes still work but show a DeprecationWarning. Support will be removed in NetBox v4.8.
  • If you are already on v3.1.3, you do not need to do anything about keys.

Maintenance

  • CI now tests against NetBox v4.7.4.
  • Added tests for the secret and secret role views.
  • Updated the README compatibility table.

Full changelog: v3.1.3...v3.2.0

Don't miss a new netbox-secrets release

NewReleases is sending notifications on new releases.