Skip to content

WolfSSL enc tool: Naming inconsistency in AES-CBC-256 option #190

@taqtiqa-mark

Description

@taqtiqa-mark

Description

The enc tool lists "aes-cbc-256" in help, but using -aes-cbc-256 fails. -aes-256-cbc works instead.
Others may be affected, I have not checked.

Steps to Reproduce

  1. Run ./wolfssl enc -help → Shows "aes-cbc-256".
  2. Run ./wolfssl enc -aes-cbc-256 -pbkdf2 -nosalt -md sha512 -pwd "passphrase" -in /dev/null -out /dev/null -p → Error: "Invalid entry, issue with algo name and mode".
  3. Run ./wolfssl enc -aes-256-cbc -pbkdf2 -nosalt -md sha512 -pwd "passphrase" -in /dev/null -out /dev/null -p → Succeeds.

Expected

-aes-cbc-256 should work as listed in help.

Actual

Fails; requires -aes-256-cbc.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions