Importing secrets doesn't work #1286

Closed
opened 2025-12-29 16:31:05 +01:00 by adam · 0 comments
Owner

Originally created by @NetboxUser on GitHub (Oct 10, 2017).

Issue type

[ ] Feature request
[x] Bug report
[ ] Documentation

Environment

  • Python version: 2.7.12
  • NetBox version: 2.0.1

Description

Also tried after upgrading to Netbox 2.1.5 but same result

Just new user to Netbox so trying out the secrets portion of netbox by following:
http://netbox.readthedocs.io/en/latest/data-model/secrets/
and have provided my own public key as the very 1st user key and was automatically marked as active. Even went in to my profile to check the key and shows as "Your user key is: Active" but just underneath it says "No active session key"

I am unable to import any keys, getting the error message:
"No session key was provided with the request. Unable to encrypt secret data."

Noticed:
f7969d91b3
So tried with both lines in there but still no luck.

Originally created by @NetboxUser on GitHub (Oct 10, 2017). ### Issue type [ ] Feature request <!-- Requesting the implementation of a new feature --> [x] Bug report <!-- Reporting unexpected or erroneous behavior --> [ ] Documentation <!-- Proposing a modification to the documentation --> ### Environment * Python version: 2.7.12 * NetBox version: 2.0.1 ### Description Also tried after upgrading to Netbox 2.1.5 but same result Just new user to Netbox so trying out the secrets portion of netbox by following: http://netbox.readthedocs.io/en/latest/data-model/secrets/ and have provided my own public key as the very 1st user key and was automatically marked as active. Even went in to my profile to check the key and shows as "Your user key is: Active" but just underneath it says "No active session key" I am unable to import any keys, getting the error message: "No session key was provided with the request. Unable to encrypt secret data." Noticed: https://github.com/digitalocean/netbox/commit/f7969d91b30bc92d6c3c4e371617249a4a975b6c So tried with both lines in there but still no luck.
adam added the type: bug label 2025-12-29 16:31:05 +01:00
adam closed this issue 2025-12-29 16:31:05 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1286