Skip to content

Importing IKE proposal without authentication method is not possible #14817

@markkuleinio

Description

@markkuleinio

Deployment Type

Self-hosted

NetBox Version

v3.7.0

Python Version

3.11

Steps to Reproduce

Go to VPN - IKE Proposals - Add

  1. Name = GUITEST
  2. Authentication method = PSK
  3. Encryption algorithm = 256-bit AES (GCM)
  4. Group = Group 20
  5. Create

(= is successful)

Go to VPN - IKE Proposals - Import, use the same fields as above:

name,authentication_method,encryption_algorithm,group
IMPORTTEST,preshared-keys,aes-256-gcm,20

Expected Behavior

IKE proposal is imported successfully.

Observed Behavior

Error is shown:

Record 1 authentication_algorithm: This field is required.

In the import field options the authentication_algorithm field is shown as required even though it is not required in GUI.

Also, in the authentication_algorithm value list there is no "empty" option to use, thus it is not possible to import IKE proposals that use GCM, unless you fake the algorithm during the import.

Also note that if authentication algorithm is nevertheless set and you want to remove it, you have to single-edit the proposal: it is not possible to select all proposals in the list and use Edit Selected, as it is not possible to clear the field there.

Related to #14499 where GUI requirement for the authentication method was relaxed.

Metadata

Metadata

Assignees

Labels

severity: mediumResults in substantial degraded or broken functionality for specfic workflowsstatus: 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