{{ message }}
Repository navigation
Commit ef957ac
crypto: skip private RSA parameters in key details
Retrieving asymmetricKeyDetails only needs the modulus, public exponent,
and RSA-PSS restrictions. Add a public-only Rsa view so provider-backed
keys do not also extract private components or probe additional primes.
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
Assisted-by: Codex
PR-URL: #66108
Backport-PR-URL: #66233
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>1 parent 8feccc5 commit ef957ac
4 files changed
Lines changed: 50 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6827 | 6827 | | |
6828 | 6828 | | |
6829 | 6829 | | |
6830 | | - | |
| 6830 | + | |
6831 | 6831 | | |
6832 | 6832 | | |
6833 | 6833 | | |
6834 | 6834 | | |
6835 | 6835 | | |
6836 | 6836 | | |
| 6837 | + | |
| 6838 | + | |
| 6839 | + | |
| 6840 | + | |
| 6841 | + | |
| 6842 | + | |
| 6843 | + | |
| 6844 | + | |
| 6845 | + | |
6837 | 6846 | | |
6838 | 6847 | | |
6839 | 6848 | | |
| |||
6856 | 6865 | | |
6857 | 6866 | | |
6858 | 6867 | | |
6859 | | - | |
6860 | | - | |
6861 | | - | |
6862 | | - | |
6863 | | - | |
6864 | | - | |
6865 | 6868 | | |
6866 | 6869 | | |
6867 | 6870 | | |
6868 | 6871 | | |
6869 | 6872 | | |
6870 | 6873 | | |
6871 | 6874 | | |
| 6875 | + | |
| 6876 | + | |
| 6877 | + | |
| 6878 | + | |
| 6879 | + | |
| 6880 | + | |
| 6881 | + | |
| 6882 | + | |
6872 | 6883 | | |
6873 | 6884 | | |
6874 | 6885 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
650 | 650 | | |
651 | 651 | | |
652 | 652 | | |
| 653 | + | |
| 654 | + | |
653 | 655 | | |
654 | | - | |
| 656 | + | |
655 | 657 | | |
656 | 658 | | |
657 | 659 | | |
| |||

0 commit comments