Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SECURITY] Insecure masks responsibility #155

Open
adrienaury opened this issue Jul 29, 2022 · 1 comment
Open

[SECURITY] Insecure masks responsibility #155

adrienaury opened this issue Jul 29, 2022 · 1 comment

Comments

@adrienaury
Copy link
Member

It's the responsibility of the mask to know if it's secure or not. Each time a new mask is added we have to update this function. Maybe we could append a isSecure() function on mask interface. and filter on that attribute.

Originally posted by @youen in #65 (comment)

@adrienaury
Copy link
Member Author

  • Each mask should know if the secure mode is active or not.
  • If secure mode is active, each unsecure mask should fail on error if used (for now : command)
  • The interface for masks should have the isSecure method (force implementation for new masks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant