Skip to content

Users unable to unlock secrets after upgrade to Netbox v2.10.0 #5468

@pveronneau

Description

@pveronneau

Environment

  • Python version: 3.7.9-1
  • NetBox version: 2.10.0

Steps to Reproduce

  1. User that could view secrets in Netbox 2.9.x with a pre existing key valid key, clicks on the Unlock button and gets prompted to enter their private key.
  2. Private key gets entered and submitted.

Expected Behavior

Secret session should be created and the user should be able to unencrypt the device password

Observed Behavior

User recieves a "permission denied error". This happens to all users, including superusers and admins.
Browser log returns the following:
secrets.js?v2.10.0:53 Secret was not decrypted. Prompt user for private key.
secrets.js?v2.10.0:53 Secret was not decrypted. Prompt user for private key.
jquery-3.5.1.min.js:2 POST https:///api/secrets/get-session-key/ 403
send @ jquery-3.5.1.min.js:2
ajax @ jquery-3.5.1.min.js:2
get_session_key @ secrets.js?v2.10.0:80
(anonymous) @ secrets.js?v2.10.0:35
dispatch @ jquery-3.5.1.min.js:2
v.handle @ jquery-3.5.1.min.js:2

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: bugA confirmed report of unexpected behavior in the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions