You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although AtOnboardingPreference takes AtSigningAlgo and AtHashingAlgo as optional inputs. There is no way as of now to pass that same data to AtAuth. This causes AtAuth to perform Auth using the default values for Signing and Hashing algo.
Steps to reproduce
Create an instance of AtOnboardingCli, where the AtOnboardingPreference mentions AtSigningAlgo to be 'ecc_secp256r1'
In the above step, ensure to pass ecc type Public and Private keys for pkam/apkam authentication
Set the AtSignLogger root level to FINER
Call AtOnboardingService.authenticate()
PKAM authentication fails
On finding the command that is sent to perform pkam authentication, the command would still mention that AtSigningAlgo is RSA.
Expected behavior
The pkam authentication command should specify whichever SigningAlgo mentioned in the AtOnboardingPreferences
Additional context
One possible solution could be adding new params for AtSigningAlgo and AtHashingAlgo in AtOnboardingRequest, which is used to pass params from AtOnboardingCli to AtAuth.
The text was updated successfully, but these errors were encountered:
Describe the bug
Although AtOnboardingPreference takes AtSigningAlgo and AtHashingAlgo as optional inputs. There is no way as of now to pass that same data to AtAuth. This causes AtAuth to perform Auth using the default values for Signing and Hashing algo.
Steps to reproduce
Expected behavior
The pkam authentication command should specify whichever SigningAlgo mentioned in the AtOnboardingPreferences
Additional context
One possible solution could be adding new params for AtSigningAlgo and AtHashingAlgo in AtOnboardingRequest, which is used to pass params from AtOnboardingCli to AtAuth.
The text was updated successfully, but these errors were encountered: