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

phpseclib3: X509 provides no way to access $currentCert #1602

Closed
tomsommer opened this issue Feb 4, 2021 · 4 comments
Closed

phpseclib3: X509 provides no way to access $currentCert #1602

tomsommer opened this issue Feb 4, 2021 · 4 comments

Comments

@tomsommer
Copy link
Contributor

tomsommer commented Feb 4, 2021

$currentCert is now private, there is no way to get the current cert, or the current cert in each ->getChain()

foreach ( $x509->getChain() as $chain ) {
$x509->saveX509($chain);
}

no longer works. The phpseclib2_compat also does not work with this

@terrafrost
Copy link
Member

I'll try to play around with this either tomorrow or this weekend!

@terrafrost
Copy link
Member

So I totally forgot about this lol - hopefully I'll be able to play around with this this evening - thanks!

@terrafrost
Copy link
Member

052cb7d should now fix this!

I apologize for the delay!

I'll try to do a release in the next few days!

@terrafrost
Copy link
Member

This is live in the new 3.0.5 release.

Thanks!

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

No branches or pull requests

2 participants