GenerateArgon2Hash no longer works

Description

Since being moved to an extension GenerateArgon2Hash() no longer works. For example:

hash = GenerateArgon2Hash( "testing" )

results in:

lucee.runtime.exp.ExpressionException: Hashing failed!

Also it seems support for the argon2id variant has been removed.

hash = GenerateArgon2Hash( "testing", "argon2id" )

results in:

lucee.runtime.exp.FunctionException: Invalid call of the function [GenerateArgon2Hash], first Argument [variant] is invalid, The Variant should be ARGON2i or ARGON2d

Argon Extension version: 1.0.0.5

Environment

Windows 11/Java 11 Temurin

Attachments

2
  • 29 Jul 2024, 03:55 pm
  • 29 Jul 2024, 09:27 am

Activity

Show:

Zac Spitzer 29 July 2024 at 15:55

 

image-20240729-155539.png

Julian Halliwell 29 July 2024 at 15:37

The new version seems fine. Nice work guys.

Zac Spitzer 29 July 2024 at 11:49

can you try that attached version, i will publish it, if it works for you

Pothys - MitrahSoft 29 July 2024 at 10:24

This issue seems to be fixed now, , could you please check it? https://github.com/lucee/extension-argon2/pull/1/files

Zac Spitzer 29 July 2024 at 09:27

see https://luceeserver.atlassian.net/browse/LDEV-4557 for details

here’s a working version for testing Loading file...

Fixed

Details

Assignee

Reporter

Priority

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Sprint

Affects versions

Created 27 July 2024 at 13:58
Updated 24 February 2025 at 15:13
Resolved 29 July 2024 at 15:55

Flag notifications