Log message #4174452

# At Username Text
# Jan 21st 2019, 10:35 josbeir ?
# Jan 21st 2019, 10:35 josbeir ok but the thing you pass to that function is just a string no
# Jan 21st 2019, 10:34 neon1024 `Security::decrypt('@josbeir', $key)`
# Jan 21st 2019, 10:34 neon1024 This
# Jan 21st 2019, 10:34 josbeir what else would it be
# Jan 21st 2019, 10:34 neon1024 I’ll write a shell to manually encrypt my fields first
# Jan 21st 2019, 10:34 neon1024 `Security::encrypt` says that it returns a string
# Jan 21st 2019, 10:27 neon1024 I don’t want to use blob, I’m not about to refactor my whole database
# Jan 21st 2019, 10:24 mocelle @neon1024 u should use blob type to Save into db(MySQL)
# Jan 21st 2019, 10:22 josbeir i mean.. its encryption lvl in your app, not your db..
# Jan 21st 2019, 10:22 josbeir should it be ?
# Jan 21st 2019, 10:17 neon1024 Ah, perhaps because my db isnt’ encrypted yet!
# Jan 21st 2019, 10:17 neon1024 I’m also seeing `Error: SQLSTATE[HY000]: General error: 1366 Incorrect string value: '\xC0\xBE\x89o\xF5\xF6...' for column 'first_name' at row 1`
# Jan 21st 2019, 10:16 neon1024 Soo, is that actually a string? I’m a bit confused
# Jan 21st 2019, 10:16 slackebot1 <neon1024>
# Jan 21st 2019, 09:32 steinkel we're using the Router itself to extract URL params, so it supports all the available routes the Router could generate
# Jan 21st 2019, 09:18 mocelle I have It allready(custom Data Type). But this is strange. I debug It and Post my result here. Thanks
# Jan 21st 2019, 09:17 neon1024 Which would mean as soon as the data is read out of the database, it’s automatically decrypted
# Jan 21st 2019, 09:17 neon1024 I’m going to implement a custom data type
# Jan 21st 2019, 09:17 neon1024 Well that’s because it’s an entity, so presumably whatever code you have which is doing the encryption and decryption is doing that before the entity is composed
# Jan 21st 2019, 09:16 mocelle But if I use first() i can See all in plain text
# Jan 21st 2019, 09:15 neon1024 As you’ll know the encryption
# Jan 21st 2019, 09:15 neon1024 Otherwise, you’ll need to construct a query with the encrypted string
# Jan 21st 2019, 09:14 neon1024 As I am just about to implement this myself, I would not encrypt all the data, so you can still find by primary key
# Jan 21st 2019, 09:14 mocelle Is allwsys null
# Jan 21st 2019, 09:14 mocelle Hi to all. I have in my table encrypted field, and i use beforeFind into Table. But i can not use where, orWhere to find encrypted Field. Ans idea?
# Jan 21st 2019, 09:05 neon1024 Would that just be a custom data type right?
# Jan 21st 2019, 09:05 neon1024 Anyone tried any inline encryption/decryption?
# Jan 21st 2019, 08:05 yamcomnet how to use debugkit with CSRF middleware`?
# Jan 21st 2019, 08:05 yamcomnet CSRF middleare and debugkit "message": "CSRF token mismatch.",
# Jan 20th 2019, 17:27 asdfgh i have noticed that if i add ->add(\Ajax\Middleware\AjaxMiddleware::class) in my application middleware debugkit does not start
# Jan 20th 2019, 17:27 asdfgh dereuromark are you there?
# Jan 20th 2019, 17:18 asdfgh anyone use elasticsearch ?
# Jan 20th 2019, 14:34 asdfgh i do not get errors, only zero results
# Jan 20th 2019, 14:34 asdfgh how is that possible?
# Jan 20th 2019, 14:34 asdfgh anyone use elasticsearch? when i do compileQuery) and run that query via curl i get results....with cakephp no :O
# Jan 20th 2019, 14:34 asdfgh hello
# Jan 19th 2019, 17:19 graziel no problem
# Jan 19th 2019, 17:16 drouard.noelie Thanks a lot Graziel for all your help
# Jan 19th 2019, 17:16 graziel hm no problem just nginx setup can be very customized and its impossible to explain in just 2 lines
# Jan 19th 2019, 17:15 florent.darcourt I'll search a bit more, thanks for you help :slightly_smiling_face: