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

Chronicle is not checked when bundles have already been fecthed but not validated #38

Open
stayallive opened this issue Sep 6, 2023 · 0 comments

Comments

@stayallive
Copy link

stayallive commented Sep 6, 2023

<?php

use ParagonIE\Certainty\RemoteFetch;

$remoteFetch = new RemoteFetch('/var/www/my-project/data/certs');

$remoteFetch->getAllBundles();

$remoteFetch->getLatestBundle();

It doesn't seem any of the bundles are validated when doing this, if getAllBundles has been run once no validation is ever performed on the retrieved content.

It looked like the custom Chronicle URL was also never used, but that might have been a "me" issue... but this does seem to be real, is this intended?

@stayallive stayallive changed the title setChronicle has no effect, default Chronicle instance is _always_ used. Chronicle is not checked when bundles have already been fecthed but not validated Sep 6, 2023
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

1 participant