CapsManager ignores provided hash identifier

Description

org.jivesoftware.openfire.entitycaps.EntityCapabilitiesManager#generateVerHash generates a hash value, based on some input and the name of a hash algorithm. The name is completely ignored, and SHA-1 is used. All known use-cases do use this algorithm, which is why there likely aren’t any issues with this, but still: Openfire should either use the provided algorithm name, or not allow for a name to be provided.

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created June 25, 2024 at 1:01 PM
Updated June 28, 2024 at 2:39 PM
Resolved June 28, 2024 at 2:39 PM