laravel-database-encryption icon indicating copy to clipboard operation
laravel-database-encryption copied to clipboard

A package for automatically encrypting and decrypting Eloquent attributes in Laravel 5.5+, based on configuration settings.

Results 7 laravel-database-encryption issues
Sort by recently updated
recently updated
newest added

⬆️ draft support for laravel 6.*

[{"_id":"6381a74570db72139b124ef6","body":"> Nothing really has changed. Are there any breaking changes so far?\r\n\r\nThats right, everything seems to work fine so far, it's just the CI tests that i didn't get to succeed, because of the above dependency issues","issue_id":1660270112712,"origin_id":565345440,"user_origin_id":1426394,"create_time":1576224888,"update_time":1576224888,"id":1669441349297,"updated_at":"2022-11-26T05:42:29.297000Z","created_at":"2022-11-26T05:42:29.297000Z"},{"_id":"6381a74570db72139b124ef7","body":"I had some suggestions, so I opened these in a [Pull Request on your fork](https:\/\/github.com\/JoinMarketing\/laravel-database-encryption\/pull\/1).","issue_id":1660270112712,"origin_id":565454092,"user_origin_id":1771026,"create_time":1576246195,"update_time":1576246195,"id":1669441349302,"updated_at":"2022-11-26T05:42:29.302000Z","created_at":"2022-11-26T05:42:29.302000Z"},{"_id":"6381a74570db72139b124ef8","body":"When will it be merged? I would like to use this lib on Laravel 6 without using my own repo.","issue_id":1660270112712,"origin_id":579296668,"user_origin_id":1442927,"create_time":1580224844,"update_time":1580224844,"id":1669441349306,"updated_at":"2022-11-26T05:42:29.305000Z","created_at":"2022-11-26T05:42:29.305000Z"},{"_id":"6381a74570db72139b124ef9","body":"> When will it be merged? I would like to use this lib on Laravel 6 without using my own repo.\r\n\r\nSeconding this, I hope @austinheap has some time to look at this.","issue_id":1660270112712,"origin_id":579299825,"user_origin_id":1771026,"create_time":1580225221,"update_time":1580225221,"id":1669441349308,"updated_at":"2022-11-26T05:42:29.308000Z","created_at":"2022-11-26T05:42:29.308000Z"},{"_id":"6381a74570db72139b124efa","body":"> > When will it be merged? I would like to use this lib on Laravel 6 without using my own repo.\r\n> \r\n> Seconding this, I hope @austinheap has some time to look at this.\r\n\r\nThanks @roelofr. Looking forward for next release.","issue_id":1660270112712,"origin_id":580703491,"user_origin_id":1442927,"create_time":1580471486,"update_time":1580471486,"id":1669441349310,"updated_at":"2022-11-26T05:42:29.310000Z","created_at":"2022-11-26T05:42:29.310000Z"},{"_id":"6381a74570db72139b124efb","body":"Any idea when it will be merged? ","issue_id":1660270112712,"origin_id":582974387,"user_origin_id":8920270,"create_time":1581004795,"update_time":1581004795,"id":1669441349314,"updated_at":"2022-11-26T05:42:29.313000Z","created_at":"2022-11-26T05:42:29.313000Z"},{"_id":"6381a74570db72139b124efc","body":"A merge would be awesome :)","issue_id":1660270112712,"origin_id":593892531,"user_origin_id":2470795,"create_time":1583233239,"update_time":1583233239,"id":1669441349317,"updated_at":"2022-11-26T05:42:29.317000Z","created_at":"2022-11-26T05:42:29.317000Z"},{"_id":"6381a74570db72139b124efd","body":"@emielmolenaar Yeah, especially since Laravel 7 is already live.","issue_id":1660270112712,"origin_id":600592570,"user_origin_id":796002,"create_time":1584534325,"update_time":1584534325,"id":1669441349324,"updated_at":"2022-11-26T05:42:29.323000Z","created_at":"2022-11-26T05:42:29.323000Z"},{"_id":"6381a74570db72139b124efe","body":"> \r\n> \r\n> @emielmolenaar Yeah, especially since Laravel 7 is already live.\r\n\r\nWell, a major release every half year is something entirely different compared to the minor releases we had before.","issue_id":1660270112712,"origin_id":600594176,"user_origin_id":1771026,"create_time":1584534569,"update_time":1584534569,"id":1669441349327,"updated_at":"2022-11-26T05:42:29.327000Z","created_at":"2022-11-26T05:42:29.327000Z"},{"_id":"6381a74570db72139b124eff","body":"Could you please merge this? This is the only thing keeping me back on Laravel 5.8","issue_id":1660270112712,"origin_id":631272711,"user_origin_id":1712532,"create_time":1589957293,"update_time":1589957293,"id":1669441349330,"updated_at":"2022-11-26T05:42:29.330000Z","created_at":"2022-11-26T05:42:29.330000Z"},{"_id":"6381a74570db72139b124f01","body":"Any more news on this one already? In need of the 6 version as well.\r\nThanks!","issue_id":1660270112712,"origin_id":709934832,"user_origin_id":377761,"create_time":1602840351,"update_time":1602840351,"id":1669441349335,"updated_at":"2022-11-26T05:42:29.334000Z","created_at":"2022-11-26T05:42:29.334000Z"}] comment

Signed-off-by: Wim

Decryption not working if APP_KEY is changed

[{"_id":"6381b25970db72139b125af6","body":"I assume its because it was encrypted using a different key","issue_id":1660270112715,"origin_id":695816164,"user_origin_id":44147408,"create_time":1600624595,"update_time":1600624595,"id":1669444185172,"updated_at":"2022-11-26T06:29:45.172000Z","created_at":"2022-11-26T06:29:45.172000Z"},{"_id":"6381b25970db72139b125af7","body":"any update on it.This is going to disaster if it won't work with the new encryption key.","issue_id":1660270112715,"origin_id":748112546,"user_origin_id":40692317,"create_time":1608301654,"update_time":1608301654,"id":1669444185198,"updated_at":"2022-11-26T06:29:45.198000Z","created_at":"2022-11-26T06:29:45.198000Z"},{"_id":"6381b25970db72139b125af8","body":"It seems to me like you're missing the whole point of encryption. Key is not supposed to change, it has to be backed up securely. The idea is that someone without the key can dump the whole DB without being able to decrypt encrypted fields","issue_id":1660270112715,"origin_id":748221699,"user_origin_id":1677625,"create_time":1608312864,"update_time":1608312936,"id":1669444185205,"updated_at":"2022-11-26T06:29:45.204000Z","created_at":"2022-11-26T06:29:45.204000Z"}] comment

Hi. I have encrypted my data with versioning true and now I have changed my APP_KEY and the decryption is not working. If I change a value then only that...

Hi, I'm using Eloquent as standalone for my project. Would it be possible to use this package too to support the standalone Eloquent?

Please add support for Laravel 6

[{"_id":"6381a47570db72139b124b9d","body":"See #53, it's basically just waiting for the maintainer to press \"merge\".","issue_id":1660270112721,"origin_id":579314068,"user_origin_id":1771026,"create_time":1580226561,"update_time":1580226600,"id":1669440629369,"updated_at":"2022-11-26T05:30:29.369000Z","created_at":"2022-11-26T05:30:29.369000Z"},{"_id":"6381a47570db72139b124b9e","body":"Yes, still waiting. And I need support for v7. Not feeling hopeful here :(","issue_id":1660270112721,"origin_id":653721141,"user_origin_id":53416793,"create_time":1593838363,"update_time":1593838363,"id":1669440629376,"updated_at":"2022-11-26T05:30:29.375000Z","created_at":"2022-11-26T05:30:29.375000Z"},{"_id":"6381a47570db72139b124b9f","body":"> Yes, still waiting. And I need support for v7. Not feeling hopeful here :(\r\n\r\nWhy for Laravel 7? You're much better off using custom casts for that (like I did [here][1])\r\n\r\nMaybe I should make a simple library of this too\r\n\r\n[1]: https:\/\/github.com\/gumbo-millennium\/website\/tree\/4a9e8558719c44c3616666afef49912fb3ce0621\/app\/Casts","issue_id":1660270112721,"origin_id":657471236,"user_origin_id":1771026,"create_time":1594635543,"update_time":1594635543,"id":1669440629379,"updated_at":"2022-11-26T05:30:29.378000Z","created_at":"2022-11-26T05:30:29.378000Z"},{"_id":"6381a47570db72139b124ba0","body":"https:\/\/github.com\/betterapp\/laravel-db-encrypter","issue_id":1660270112721,"origin_id":661981343,"user_origin_id":782262,"create_time":1595350611,"update_time":1595350611,"id":1669440629382,"updated_at":"2022-11-26T05:30:29.382000Z","created_at":"2022-11-26T05:30:29.382000Z"},{"_id":"6381a47570db72139b124ba1","body":"Thanks for the tip, Randy","issue_id":1660270112721,"origin_id":662106214,"user_origin_id":53416793,"create_time":1595365548,"update_time":1595365548,"id":1669440629385,"updated_at":"2022-11-26T05:30:29.385000Z","created_at":"2022-11-26T05:30:29.385000Z"},{"_id":"6381a47570db72139b124ba2","body":"> > Yes, still waiting. And I need support for v7. Not feeling hopeful here :(\r\n> \r\n> Why for Laravel 7? You're much better off using custom casts for that (like I did [here](https:\/\/github.com\/gumbo-millennium\/website\/tree\/4a9e8558719c44c3616666afef49912fb3ce0621\/app\/Casts))\r\n> \r\n> Maybe I should make a simple library of this too\r\n\r\nI made this a simple library, for those using Laravel 7.x and newer.\r\n\r\nIt's available [here][1], and has a compat method to seamlessly switch over from this package, unless you changed the default data too much.\r\n\r\n[1]: https:\/\/github.com\/roelofr\/laravel-encryption-cast","issue_id":1660270112721,"origin_id":673165950,"user_origin_id":1771026,"create_time":1597276503,"update_time":1597276503,"id":1669440629388,"updated_at":"2022-11-26T05:30:29.387000Z","created_at":"2022-11-26T05:30:29.387000Z"},{"_id":"6381a47570db72139b124ba4","body":"@roelofr does this decrypt when you read from the DB? Because its not doing so when using tinker","issue_id":1660270112721,"origin_id":678695201,"user_origin_id":44147408,"create_time":1598130677,"update_time":1598130677,"id":1669440629394,"updated_at":"2022-11-26T05:30:29.394000Z","created_at":"2022-11-26T05:30:29.394000Z"},{"_id":"6381a47570db72139b124ba5","body":"> @roelofr does this decrypt when you read from the DB? Because its not doing so when using tinker\r\n\r\nIf you're talking about the Laravel 7 cast I made, please open an issue there and don't go off-topic here. ","issue_id":1660270112721,"origin_id":678695842,"user_origin_id":1771026,"create_time":1598131027,"update_time":1598131056,"id":1669440629397,"updated_at":"2022-11-26T05:30:29.396000Z","created_at":"2022-11-26T05:30:29.396000Z"},{"_id":"6381a47570db72139b124ba7","body":"https:\/\/github.com\/ilyakonovaloff\/laravel-database-encryption\r\nThis one continues the same package if you don't want to do it locally.\r\nBut if you use that remember to put on composer.json this package too: https:\/\/github.com\/laravel\/helpers\r\nBecause the one above didn't change the Str_ that is described here: https:\/\/laravel.com\/docs\/6.x\/upgrade#helpers\r\n","issue_id":1660270112721,"origin_id":708282896,"user_origin_id":50876129,"create_time":1602667972,"update_time":1602667972,"id":1669440629401,"updated_at":"2022-11-26T05:30:29.401000Z","created_at":"2022-11-26T05:30:29.401000Z"}] comment

Dependency version conflict

[{"_id":"6381b5ce70db72139b125ee1","body":"@austinheap can you please make v0.2.2 for commi 30515c1 \/ dev-master? to satisfy https:\/\/getcomposer.org\/doc\/faqs\/why-are-unbound-version-constraints-a-bad-idea.md","issue_id":1660270112724,"origin_id":598279964,"user_origin_id":6227003,"create_time":1584030147,"update_time":1584030147,"id":1669445070032,"updated_at":"2022-11-26T06:44:30.032000Z","created_at":"2022-11-26T06:44:30.032000Z"}] comment

This package requires paragonie/random_compat: ^2.0 This conflict with ramsey/uuid package

Need help with `DB_ENCRYPTION_VERSIONING=false` in .env file

[{"_id":"6381aecb5ae95c7a22311459","body":"Has there been any update on this, I am trying to achieve the same result.","issue_id":1660270112727,"origin_id":549258438,"user_origin_id":43100572,"create_time":1572856068,"update_time":1572856068,"id":1669443275518,"updated_at":"2022-11-26T06:14:35.517000Z","created_at":"2022-11-26T06:14:35.517000Z"},{"_id":"6381aecb5ae95c7a2231145a","body":"@kalessil @Cypher1983 -- Can you provide a reproducible example? Want to make sure I'm following correctly.","issue_id":1660270112727,"origin_id":556924907,"user_origin_id":80980,"create_time":1574313656,"update_time":1574313656,"id":1669443275520,"updated_at":"2022-11-26T06:14:35.520000Z","created_at":"2022-11-26T06:14:35.520000Z"},{"_id":"6381aecb5ae95c7a2231145b","body":"Huh, it was quite a while ago: I wanted to have \":encrypted-data-here\" or \"encrypted:encrypted-data-here\" persisted in database. To replace prefix generation with pre-defined string.\r\n\r\nFollowing official docs didn't bring me firther, so I think we did implement custom encryption behaviour in that project.\r\n\r\nThat as much details as I can remember.","issue_id":1660270112727,"origin_id":557542334,"user_origin_id":1577185,"create_time":1574431226,"update_time":1574431277,"id":1669443275524,"updated_at":"2022-11-26T06:14:35.523000Z","created_at":"2022-11-26T06:14:35.523000Z"}] comment

Thank you for a great extension, it's very smooth to integrate! We have some tables with personal data, which we want to be encrypted. One small consideration was database size...

`ext-uopz` is not (yet) compatible with PHP v7.3, which breaks code coverage log generation during unit tests. This will be fixed when the underlying issue is addressed or hot-fixed when...

bug
blocked