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

[BC Idea]: Extend BC System APP with RSASSA-PSS algorithm #866

Open
1 task done
MattiLE opened this issue Apr 3, 2024 · 2 comments · Fixed by #867 · May be fixed by #2255
Open
1 task done

[BC Idea]: Extend BC System APP with RSASSA-PSS algorithm #866

MattiLE opened this issue Apr 3, 2024 · 2 comments · Fixed by #867 · May be fixed by #2255
Labels
Approved The issue is approved BCIdea Issue related to a BCIdea Linked Issue is linked to a Azure Boards work item

Comments

@MattiLE
Copy link
Contributor

MattiLE commented Apr 3, 2024

BC Idea Link

https://experience.dynamics.com/ideas/idea/?ideaid=7cf2f7e0-9cf1-ee11-a73d-6045bdb71da1

Description

For a connection to an external api(https://developer.amazon.com/de/docs/amazon-pay-api-v2/signing-requests.html), I need a signature for authentication, which is created with the RSASSA-PSS algorithm.

As far as I know, the existing RSACryptoServiceProvider implementation does not offer the option of specifying the PSS padding. My online research has also shown that this is not possible either.

Therefore, I would like to add my own implementation of the "SignatureAlgorithm" interface based on the "System.Security.Cryptography.RSA" class.
For my use case, only a function that signs the data is sufficient. However, I think that the interface implementation is more similar to the styleguid.

I have fully implemented the interface functions. However, I have to say that I am not an expert on this algorithm.

I will provide the implementation for this BC Idea

  • I will provide the implementation for this BC Idea
    Internal work item: AB#524188
@MattiLE MattiLE added the BCIdea Issue related to a BCIdea label Apr 3, 2024
@MattiLE MattiLE changed the title [BC Idea]: [BC Idea]: Extend BC System APP with RSASSA-PSS algorithm Apr 3, 2024
@JesperSchulz
Copy link
Contributor

As the idea is brand new, I need to wait a couple of days before I can triage this. It takes a while before ideas flow through the entire system 🙂 But I'll be on it soon!

@bcbuild-github-agent bcbuild-github-agent added the Linked Issue is linked to a Azure Boards work item label Apr 6, 2024
@JesperSchulz JesperSchulz added the Approved The issue is approved label Apr 8, 2024
JesperSchulz pushed a commit that referenced this issue May 16, 2024
#### Summary 
As far as I know, the existing RSACryptoServiceProvider implementation
does not offer the option of specifying the PSS padding. My online
research has also shown that this is not possible either.

Therefore, I would like to add my own implementation of the
"SignatureAlgorithm" interface based on the
"System.Security.Cryptography.RSA" class.
For my use case, only a function that signs the data is sufficient.
However, I think that the interface implementation is more similar to
the styleguid.

#### Work Item(s) 
Fixes #866 

Fixes
[AB#524188](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/524188)
@MattiLE MattiLE linked a pull request Oct 24, 2024 that will close this issue
@JesperSchulz
Copy link
Contributor

One more PR coming. Re-opening.

@JesperSchulz JesperSchulz reopened this Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved The issue is approved BCIdea Issue related to a BCIdea Linked Issue is linked to a Azure Boards work item
Projects
None yet
3 participants