Skip to content

Conversation

fernandocoronatomf
Copy link

No description provided.

$privateKey->setHash('sha256');
$privateKey->setMGFHash('sha256');
// $privateKey->setHash('sha256');
// $privateKey->setMGFHash('sha256');
Copy link
Author

Choose a reason for hiding this comment

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

phpseclib v3 $privateKey is now a PrivateKey object and not RSA object, it changed completely so i am not sure if i should remove this or not.

$publicKey->setHash('sha256');
$publicKey->setMGFHash('sha256');
// $publicKey->setHash('sha256');
// $publicKey->setMGFHash('sha256');
Copy link
Author

Choose a reason for hiding this comment

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

ditto

case 'A128CBC-HS256':
case 'A256CBC-HS512':
$cipher = new AES(AES::MODE_CBC);
$cipher = new AES('cbc');
Copy link
Author

Choose a reason for hiding this comment

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

Passing an integer now doesn't work as well

case 'A256GCM':
case 'A256CBC-HS512':
$cipher->setBlockLength(256);
// $cipher->setBlockLength(256);
Copy link
Author

Choose a reason for hiding this comment

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

AES class now throws an error when setting block length

@coveralls
Copy link

Coverage Status

coverage: 89.764% (-8.1%) from 97.851%
when pulling acf57c6 on CoverGenius:feature/test-phpseclib-3
into 90ebb02 on hyperwallet:support/SDK-V3.

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.

2 participants