PKCS5 simplify deps on MBEDTLS_CIPHER_PADDING_PKCS7 + PKCS12 remove test exceptions #864

Open
valeriosetti wants to merge 4 commits from valeriosetti/issue9580 into development
valeriosetti commented 2026-08-04 07:54:03 -05:00 (Migrated from github.com)

Description

Contributes to https://github.com/Mbed-TLS/mbedtls/issues/9580

PR checklist

  • changelog not required because: PKCS12 had already been removed, whereas PKCS5 is internal and already depending on MBEDTLS_CIPHER_PADDING_PKCS7
  • framework PR not required
  • TF-PSA-Crypto development PR provided: this one
  • TF-PSA-Crypto 1.1 PR provided: TODO
  • mbedtls development PR provided: TODO
  • mbedtls 4.1 PR provided: TODO
  • mbedtls 3.6 PR provided: I need to check
  • tests provided: I would say 'updated accordingly' in this case
## Description Contributes to https://github.com/Mbed-TLS/mbedtls/issues/9580 ## PR checklist - [ ] **changelog** not required because: PKCS12 had already been removed, whereas PKCS5 is internal and already depending on MBEDTLS_CIPHER_PADDING_PKCS7 - [ ] **framework PR** not required - [ ] **TF-PSA-Crypto development PR** provided: this one - [ ] **TF-PSA-Crypto 1.1 PR** provided: TODO - [ ] **mbedtls development PR** provided: TODO - [ ] **mbedtls 4.1 PR** provided: TODO - [ ] **mbedtls 3.6 PR** provided: I need to check - **tests** provided: I would say 'updated accordingly' in this case
bjwtaylor (Migrated from github.com) reviewed 2026-08-06 05:57:31 -05:00
valeriosetti commented 2026-08-10 02:38:24 -05:00 (Migrated from github.com)

@bjwtaylor sorry for dismissing your approval. I just add a new commit which basically removes support for PKCS5 encryption. This is based on the discussion we had on the private PR.

@bjwtaylor sorry for dismissing your approval. I just add a new commit which basically removes support for PKCS5 encryption. This is based on the discussion we had on the private PR.
bjwtaylor (Migrated from github.com) approved these changes 2026-08-17 03:18:17 -05:00
This pull request is broken due to missing fork information.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'valeriosetti/issue9580:valeriosetti/issue9580'
git switch 'valeriosetti/issue9580'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'development'
git merge --no-ff 'valeriosetti/issue9580'
git switch 'valeriosetti/issue9580'
git rebase 'development'
git switch 'development'
git merge --ff-only 'valeriosetti/issue9580'
git switch 'valeriosetti/issue9580'
git rebase 'development'
git switch 'development'
git merge --no-ff 'valeriosetti/issue9580'
git switch 'development'
git merge --squash 'valeriosetti/issue9580'
git switch 'development'
git merge --ff-only 'valeriosetti/issue9580'
git switch 'development'
git merge 'valeriosetti/issue9580'
git push origin 'development'
Sign in to join this conversation.
No reviewers
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-Mbed-TLS/TF-PSA-Crypto!864
No description provided.