Log message #4184328

# At Username Text
# Apr 24th 2019, 13:28 neon1024 Shame, I liked the EncryptedStringType
# Apr 24th 2019, 13:28 neon1024 Guess I’ll use an entity mutator method
# Apr 24th 2019, 13:11 asdfgh ok
# Apr 24th 2019, 12:49 neon1024 @asdfgh Yes, it should do
# Apr 24th 2019, 12:49 neon1024 @admad Oh yeah, I’ve done all that already, this is a library I’m implementing into my table class, but perhaps I can pass data through from the table schema method :slightly_smiling_face:
# Apr 24th 2019, 12:28 asdfgh neon1024 is working your proffer plugin with the last 3.7 ?
# Apr 24th 2019, 12:23 narendravaghela @neon1024 Yes, I just need it temporary. Command will run as a shell on actual server.
# Apr 24th 2019, 12:08 admad @neon1024 you are supposed to just registry the new type class using `Type::map()` and then specify the type for required table using table schema in `Table::_initializeSchema()`
# Apr 24th 2019, 11:53 charolastra what happened to the baking from table definitions in the tutorials?
# Apr 24th 2019, 11:45 neon1024 As Type classes don’t know the table or field
# Apr 24th 2019, 11:45 slackebot <neon1024>
# Apr 24th 2019, 11:44 neon1024 `public function __construct( CipherSweet $engine, $tableName = ‘’, $fieldName = ‘’, $useTypedIndexes = false ) `
# Apr 24th 2019, 11:44 neon1024 This is problematic
# Apr 24th 2019, 11:44 neon1024 So I’m trying to implement https://github.com/paragonie/ciphersweet/tree/master/docs into a custom data type class
# Apr 24th 2019, 11:18 slackebot Action: neon1024 goes back to the corner
# Apr 24th 2019, 11:18 neon1024 Oh, for testing. I missed that bit
# Apr 24th 2019, 11:18 neon1024 So it would open an attack vector
# Apr 24th 2019, 11:17 neon1024 As it’ll execute commands with the same permissions as PHP
# Apr 24th 2019, 11:17 neon1024 Isn’t `exec()` dangerous
# Apr 24th 2019, 11:14 narendravaghela thanks @admad
# Apr 24th 2019, 11:13 admad exec()
# Apr 24th 2019, 11:13 narendravaghela I agree, this is just for some tests
# Apr 24th 2019, 11:10 Martin` because then it runs in webserver? not really in shell?
# Apr 24th 2019, 11:10 Martin` why run a shell from controller?
# Apr 24th 2019, 11:08 narendravaghela ``` $shell = new ShellDispatcher(); $shell->run(['cake', 'foo']); ```
# Apr 24th 2019, 11:08 narendravaghela The shell can be executed from controller by using ShellDispatcher, is there anything similar for Command?
# Apr 24th 2019, 11:05 narendravaghela How do I execute Command from Controller action?
# Apr 24th 2019, 10:11 neon1024 As I’m reading https://github.com/paragonie/ciphersweet/tree/master/docs
# Apr 24th 2019, 10:10 neon1024 Or would that be a plugin which provides a new crypto engine?
# Apr 24th 2019, 10:10 neon1024 Will CakePHP 4 be moving from AES256 to libsodium?
# Apr 24th 2019, 09:48 np ok, danke :slightly_smiling_face:
# Apr 24th 2019, 09:39 dereuromark https://github.com/dereuromark/cakephp-tools/blob/master/src/Controller/Component/CommonComponent.php#L184 should work
# Apr 24th 2019, 09:38 dereuromark php issue, do not merge this way. if you debug this array you will now why.
# Apr 24th 2019, 09:35 np Hello, quick question; How to add passed params to html link helper:
# Apr 24th 2019, 08:37 asdfgh should i "normalize" it ?
# Apr 24th 2019, 08:37 asdfgh i can have 1-2019-01-01 or 12345678-2019-01-01 in this way the length vary
# Apr 24th 2019, 08:37 asdfgh the hash will be longer but all the hashes will have the same length
# Apr 24th 2019, 08:36 asdfgh i have to hash stupid things like ID-DATE somethin like 1235-2019-01-01 the question is, should i hash it or not? i mean does it matter to have a field with the same length in mysql ?
# Apr 24th 2019, 08:36 asdfgh hello
# Apr 24th 2019, 08:02 COOurb how can I use innerJoinWith with query?
# Apr 24th 2019, 07:54 COOurb I need to use Max() function, but it happens thatonly such objects can have it. So I think I can call function right from class