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

fix(time): Use chrono for offset #18

Closed
wants to merge 1 commit into from

Conversation

paulip1792
Copy link

@paulip1792 paulip1792 commented Sep 25, 2022

chrono has fixed its vulnerability since v4.2.0

Fix #17

chrono has fixed its vulnerability since v4.2.0

Fix filecoin-project#17

Signed-off-by: paulip1792 <paulip1792@outlook.com>
Copy link
Collaborator

@vmx vmx left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. I'd like to wait until emabee/flexi_logger#120 is resolved as until then. One could potentially be still be vulnerable to RUSTSEC-2020-0159, if a Cargo.lock could still point to v0.4.19 of chrono.

vmx added a commit that referenced this pull request Oct 10, 2022
Due to https://rustsec.org/advisories/RUSTSEC-2020-0159, it wasn't possible
to get the local time in multi-threaded contexts. This was fixed with the
latest release v0.24 of `flexi_logger`. It is using a fixed version of
`chrono`, which also means that we don't have a dependency on `time` anymore.

Closed #18.
vmx added a commit that referenced this pull request Oct 10, 2022
Due to https://rustsec.org/advisories/RUSTSEC-2020-0159, it wasn't possible
to get the local time in multi-threaded contexts. This was fixed with the
latest release v0.24 of `flexi_logger`. It is using a fixed version of
`chrono`, which also means that we don't have a dependency on `time` anymore.

Closes #18.
vmx added a commit that referenced this pull request Oct 10, 2022
Due to https://rustsec.org/advisories/RUSTSEC-2020-0159, it wasn't possible
to get the local time in multi-threaded contexts. This was fixed with the
latest release v0.24 of `flexi_logger`. It is using a fixed version of
`chrono`, which also means that we don't have a dependency on `time` anymore.

Closes #17, #18.
vmx added a commit that referenced this pull request Oct 10, 2022
Due to https://rustsec.org/advisories/RUSTSEC-2020-0159, it wasn't possible
to get the local time in multi-threaded contexts. This was fixed with the
latest release v0.24 of `flexi_logger`. It is using a fixed version of
`chrono`, which also means that we don't have a dependency on `time` anymore.

Fixes #17.
Closes #18.
@vmx
Copy link
Collaborator

vmx commented Oct 10, 2022

@paulip1792 I've opened #19 with a fix.

@vmx vmx closed this in #19 Oct 10, 2022
vmx added a commit that referenced this pull request Oct 10, 2022
Due to https://rustsec.org/advisories/RUSTSEC-2020-0159, it wasn't possible
to get the local time in multi-threaded contexts. This was fixed with the
latest release v0.24 of `flexi_logger`. It is using a fixed version of
`chrono`, which also means that we don't have a dependency on `time` anymore.

Fixes #17.
Closes #18.
@vmx
Copy link
Collaborator

vmx commented Oct 10, 2022

@paulip1792 I've merged my PR into master. As you also provided a PR. Do you have a way to test the current master branch out if it works as expected? That would be appreciated.

@paulip1792
Copy link
Author

@vmx It works fine as expected.

@vmx
Copy link
Collaborator

vmx commented Oct 11, 2022

@paulip1792 Thanks for testing, I've released it as 0.1.7.

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.

Wrong timeformat in proving-logs
2 participants