Skip to content

Password encryption errors silently ignored in dtoToEntity() functions #771

@DevipriyaS17

Description

@DevipriyaS17

Password encryption errors are silently ignored in multiple dtoToEntity() functions, potentially storing unencrypted passwords in the database when the encryption service fails.

example : internal/usecase/profiles/usecase.go| 645-646 |d1.AMTPassword, _ = uc.safeRequirements.Encrypt(...)` |

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions