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

[NFR]: Refactor Phalcon\Crypt #15717

Closed
niden opened this issue Oct 17, 2021 · 1 comment · Fixed by #15718
Closed

[NFR]: Refactor Phalcon\Crypt #15717

niden opened this issue Oct 17, 2021 · 1 comment · Fixed by #15718
Assignees
Labels
5.0 The issues we want to solve in the 5.0 release breaks bc Functionality that breaks Backwards Compatibility new feature request Planned Feature or New Feature Request

Comments

@niden
Copy link
Sponsor Member

niden commented Oct 17, 2021

Related:

#15270
#15271

Refactor Phalcon\Crypt

  • Move its to its own namespace (instead of root)
  • Organize exceptions
  • Create padding classes to pad/unpad strings when necessary based on different techniques
  • Create padding factory
  • Increase test coverage
  • Change ccm/gcm modes to store the authTag with the encryption string and process it with the decryption string

Thanks

@niden niden added the new feature request Planned Feature or New Feature Request label Oct 17, 2021
@niden niden self-assigned this Oct 17, 2021
@niden niden added 5.0 The issues we want to solve in the 5.0 release breaks bc Functionality that breaks Backwards Compatibility labels Oct 17, 2021
@niden niden added this to Working on it in Phalcon Roadmap Oct 17, 2021
@niden niden linked a pull request Oct 18, 2021 that will close this issue
5 tasks
@niden
Copy link
Sponsor Member Author

niden commented Oct 19, 2021

Resolved in #15718

@niden niden closed this as completed Oct 19, 2021
Phalcon Roadmap automation moved this from Working on it to Implemented Oct 19, 2021
@niden niden moved this from Implemented to Released in Phalcon Roadmap Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.0 The issues we want to solve in the 5.0 release breaks bc Functionality that breaks Backwards Compatibility new feature request Planned Feature or New Feature Request
Projects
Archived in project
Phalcon Roadmap
  
Released
Development

Successfully merging a pull request may close this issue.

1 participant