Skip to content

Conversation

@ceolin
Copy link
Member

@ceolin ceolin commented Nov 7, 2024

This reverts commit 5e225e0.

Based on #79931 and TSC discussions, it was decided that TinyCrypt will be deprecated AFTER 4.0.

dkalowsk
dkalowsk previously approved these changes Nov 7, 2024
Copy link
Contributor

@dkalowsk dkalowsk left a comment

Choose a reason for hiding this comment

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

...:sigh:...

@dkalowsk dkalowsk added this to the v4.0.0 milestone Nov 7, 2024
valeriosetti
valeriosetti previously approved these changes Nov 7, 2024
Copy link
Contributor

@valeriosetti valeriosetti left a comment

Choose a reason for hiding this comment

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

I agree. #79931 is taking longer than I expected (sorry) and also preceding PRs are still not merged, so it's safer to postpone this. I'll keep working on the deprecation so that it can happen ASAP after 4.0.

Copy link
Contributor

@tomi-font tomi-font left a comment

Choose a reason for hiding this comment

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

This is reverting all of #79566, but none of #79653.
#79653 introduced the deprecation of CONFIG_CRYPTO_TINYCRYPT_SHIM. I guess it needs to be reverted as well (dbda464).
Also, the migration guide/release notes entries added in #79653 should be modified so that they don't say things like Following the deprecation of the TinyCrypt library (but rather something like Due to the upcoming deprecation of the TinyCrypt library).

@valeriosetti
Copy link
Contributor

Question: instead of removing all the changes to migration-guide and release-notes, can we keep a warning message on the release-notes stating that

Albeit the formal deprecation of TinyCrypt is not started yet, its removal from the Zephyr codebase is. Formal deprecation should happen soon on the next releases.

This would help users understanding changes like #79653

@dkalowsk
Copy link
Contributor

dkalowsk commented Nov 7, 2024

I agree. #79931 is taking longer than I expected (sorry) and also preceding PRs are still not merged, so it's safer to postpone this. I'll keep working on the deprecation so that it can happen ASAP after 4.0.

@valeriosetti oh no worries, I get this is a tangled mess. Thanks for taking it on!

@mmahadevan108
Copy link
Contributor

@ceolin , can we get this in today?

@nashif
Copy link
Member

nashif commented Nov 8, 2024

why is this in draft?

@ceolin ceolin marked this pull request as ready for review November 8, 2024 17:27
@zephyrbot zephyrbot added Release Notes To be mentioned in the release notes area: Crypto / RNG labels Nov 8, 2024
@zephyrbot zephyrbot requested a review from kartben November 8, 2024 17:27
@ceolin
Copy link
Member Author

ceolin commented Nov 8, 2024

This is reverting all of #79566, but none of #79653. #79653 introduced the deprecation of CONFIG_CRYPTO_TINYCRYPT_SHIM. I guess it needs to be reverted as well (dbda464). Also, the migration guide/release notes entries added in #79653 should be modified so that they don't say things like Following the deprecation of the TinyCrypt library (but rather something like Due to the upcoming deprecation of the TinyCrypt library).

@tomi-font We don't need to revert those other changes. The crypto driver is its own feature / driver class, we can deprecate it regardless of TinyCrypt. Regarding the release notes about it, I can change to not mention the deprecation but I don't see a reason to do it since it is well known that TinyCrypt deprecation is coming.

This reverts commit 5e225e0.

Based on zephyrproject-rtos#79931 and TSC discussions, it was decided that TinyCrypt
will be deprecated *AFTER* 4.0.

Signed-off-by: Flavio Ceolin <[email protected]>
Add an information about upcoming TinyCrypt deprecation.

Signed-off-by: Flavio Ceolin <[email protected]>
@ceolin
Copy link
Member Author

ceolin commented Nov 8, 2024

@valeriosetti thanks for checking it. Would you mind take another look ?

@ceolin
Copy link
Member Author

ceolin commented Nov 8, 2024

why is this in draft?

my mistake :/

@mmahadevan108 mmahadevan108 added the Release Blocker Use this label for justified release blockers label Nov 8, 2024
@mmahadevan108
Copy link
Contributor

Marked this as a Blocker as we want to make sure this gets in before we release 4.0

@nashif nashif dismissed tomi-font’s stale review November 8, 2024 23:44

concern addressed/answered

@nashif nashif assigned ceolin and unassigned dkalowsk and mmahadevan108 Nov 8, 2024
@mmahadevan108 mmahadevan108 merged commit 429d2e7 into zephyrproject-rtos:main Nov 9, 2024
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Crypto / RNG Release Blocker Use this label for justified release blockers Release Notes To be mentioned in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants