Skip to content

Add support for algorithm parameters #46

@mlojewski-me

Description

@mlojewski-me

Developed on: https://github.com/nextcloud/user_sql/tree/feature/issue%2346

In settings admin panel add hash algorithm options eg.

  • CryptBlowfish -> cost,
  • CryptArgon2 -> memory cost, time cost, threads
  • ...

Now workaround is to change it in code (constructor).

TODO:

  • Add dynamically generetaed numer fields in admin panel when choosing appropriate hash (Hash interface should now return array with name, visible name, default value and range - new method)
  • Add saving parameters in database
  • Add verifying new parameters range when saving configuration
  • Check and use these parameters when creating new hash instance
  • Add description of parameters in readme
  • Update changelog

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions