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

update to defuse/php-encryption 2.1 #358

Merged
merged 6 commits into from Apr 16, 2018
Merged

Conversation

glensc
Copy link
Member

@glensc glensc commented Mar 14, 2018

php-encryption/2.0.0:

Release of version 2.0.0 of defuse/php-encryption. This is a significant compatibility-breaking improvement over version 1.2.1. See the README for details.

NOTE: as the encrypted results are hex encoded by defuse/php-encryption, instead of base64, the result db columns may need to be increased. 1 byte encryption resulted 170 bytes encrypted result and 255 byte got exploded to 678 bytes.

so therefore not using defuse encoding, but keeping our own base64 implementation

@glensc glensc self-assigned this Mar 14, 2018
@glensc glensc mentioned this pull request Mar 14, 2018
@glensc glensc force-pushed the php-encryption branch 2 times, most recently from a32c13d to d3d5b11 Compare March 17, 2018 21:48
@glensc glensc changed the title WIP update to defuse/php-encryption 2.1 update to defuse/php-encryption 2.1 Mar 17, 2018
@glensc
Copy link
Member Author

glensc commented Mar 17, 2018

the db migration: as there's no way to encrypt using old version, should down method just disable encryption?

@balsdorf

@balsdorf
Copy link
Contributor

Sounds like that is the only option. I'm okay with it.

@glensc
Copy link
Member Author

glensc commented Mar 21, 2018

i think will delay merge of this, there are too many changes in 3.4.0 release.

have you yourself switched to code currently in master? i have tried mail sending, and have disabled several times due some issues. #353, #352, #350, #351 all somewhat related, those are solved now. but haven't tested in production download_emails.php part much either.

@balsdorf
Copy link
Contributor

I have not yet but I will next week.

@glensc glensc added this to the 3.4.0 milestone Apr 16, 2018
@glensc glensc merged commit f570bcd into eventum:master Apr 16, 2018
@glensc glensc deleted the php-encryption branch April 16, 2018 17:06
glensc added a commit that referenced this pull request Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants