Conversation
|
@SMillerDev please set development status label and milestone :) |
|
It's that documented somewhere? Without the comment I would never have known. |
d243a2a to
eeee12a
Compare
rullzer
left a comment
There was a problem hiding this comment.
Fine by me for a first version!
|
Thanks for the help @rullzer . Do I need to do anything here? |
https://docs.nextcloud.com/server/20/developer_manual/getting_started/codingguidelines.html#labels |
| $output->writeln('<info>The password is not validated so what you provide is what gets recorded in the token</info>'); | ||
|
|
||
|
|
||
| $token = $this->random->generate(72, ISecureRandom::CHAR_UPPER.ISecureRandom::CHAR_LOWER.ISecureRandom::CHAR_DIGITS); |
There was a problem hiding this comment.
can we make the magic number 72 a constant somewhere so we use the same length in all code paths?
There was a problem hiding this comment.
I'm not sure why it's 72 to begin with, @rullzer any comment on this?
There was a problem hiding this comment.
72 was done because of the bcrypt limit of 72 bytes
41962b1 to
6bb7078
Compare
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu>
92a8099 to
40595f3
Compare
|
Pushed the fix and resolved a deprecation notice in the command registration |
|
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |

Add a command to generate app passwords. This will make it a lot easier for app developers to do full end-to-end tests and hopefully it'll also benefit some users.
I don't know much about the server code, so please point to other things you guys need in this PR.