43
Views
4
Comments
[Google Authentication Core] RSA_Encrypt error
Question
google-authentication-core
Reactive icon
Forge asset by OutSystems Lab
Application Type
Reactive

Hi All, I am currently implementing an app that integrates with Google Drive. 

I am getting 'The parameter is incorrect.' error message after login. I was debugging and realised the error is in the RSA_Encryp function from CryptoAPI.

Any ideas? this error started this days, we never had that error in fact

The demo (https://www.outsystems.com/forge/component-overview/10274/google-components-demo) is not working neither...


2021-10-06 19-04-26
David Farinha
Staff

Hey there,

Did you check this post?

https://www.outsystems.com/forums/discussion/79679/encrypt-rsa-action-throws-error/#Post333537

It seems that the issue is related to using RSA as opposed to AES.

Cheers

UserImage.jpg
Pablo Molina

Yes I saw it. I am working with version 1.0.5, and it was working well until last week. Could you please fix it?

2021-10-06 19-04-26
David Farinha
Staff

I still suggest that you review your code to see if it uses RSA or AES actions. If it uses RSA, you can change those. Additionally, it might be associated with Google itself, so you my need to dig dipper on that.

UserImage.jpg
Leigh Rogers

@Pablo Molina I'm having the same problems. Did you ever manage to solve yours?

EDIT - Despite installing from forge, component still used RSA. Used the oml in this link, posted by @Leonardo Fernandeswhich updates the component to use AES.

The 'parameter is incorrect' error has now been replaced with "The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters."

EDIT2 - Never mind... I refreshed all dependancies, re-published all modules and it works now...

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.