Skip to content
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

Use phpseclib for generating keys #72

Merged
merged 1 commit into from
Sep 9, 2016

Conversation

samgreenwood
Copy link
Contributor

Sometimes the 'openssl' cli utility may not me available, especially on windows this may require some ceremony.

Updated this command to leverage phpseclib instead.


public function testPrivateAndPublicKeysAreGenerated()
{
$command = Mockery::mock(\Laravel\Passport\Console\KeysCommand::class)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No leading slash needed please.

@GrahamCampbell
Copy link
Member

Have you tested this output exactly matches the other command?

@samgreenwood
Copy link
Contributor Author

CS fixes done.

From what I can tell the keys generated are the same.

@nueko
Copy link

nueko commented Sep 8, 2016

I think it should be on require-dev.

@taylorotwell taylorotwell merged commit 2ac9e25 into laravel:master Sep 9, 2016
@taylorotwell
Copy link
Member

It actually can't be require-dev because require-dev is only installed for the root package (laravel/framework)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants