-
Notifications
You must be signed in to change notification settings - Fork 311
[WIP] Add command line script for generating new keys #342
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
Conversation
|
Updated the tutorial with a reference to the script. |
| #!/usr/bin/env php | ||
| <?php | ||
|
|
||
| use Defuse\Crypto\Key; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doesn't the include/require need to happen before this statement will work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No. Namespace imports go at the top.
|
Fixed a merge conflict introduced by pulling another branch. |
|
@paragonie-scott Thanks! Anything else needed for this pull request? |
| require $file; | ||
| break; | ||
| } | ||
| } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
require file_exists(__DIR__.'/../vendor/autoload.php')
? __DIR__.'/../vendor/autoload.php'
: __DIR__.'/../../../autoload.php'
;More simple?
Closes #338