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

Package signature and channelID security #164

Open
kightsonsanom opened this issue Mar 22, 2024 · 2 comments
Open

Package signature and channelID security #164

kightsonsanom opened this issue Mar 22, 2024 · 2 comments

Comments

@kightsonsanom
Copy link

Hello, what is the purpose of adding package signatures on the line developer console? My understanding was that it can limit usage of channel ID to specific signatures but when I add different SHA than my app uses then I can still use the SDK.

The documentation only explains how to add the signatures, not the purpose of it https://developers.line.biz/en/docs/line-login-sdks/android-sdk/integrate-line-login/#link-app-to-channel

Could you explain what is the benefit of adding SHA signatures? Also should I make my channelID secure by injecting it through the CI?

Thanks!

@plateaukao
Copy link
Member

Hi, @kightsonsanom
Could you explain more "when I add different SHA than my app uses then I can still use the SDK"?
Do you mean even if you entered different package signautre other than the one on Channel Admin web page, you can still use the SDK to login successfully?

Entering value in SHA package signature has the advantage of somewhat protecting the app from being tampered with.

As for how to secure channelID, it's beyond the scope of LINE SDK integration.

@kightsonsanom
Copy link
Author

Hey @plateaukao, thanks for reply! Let's take an example:

  1. My app is signed with sginatureabc
  2. On Channel Admin web page I put only signature xyz

My assumption was that Line login shouldn't work in this case because there is no abc signature on Channel Admin web page. Instead, I could still use the Line SDK.

As for how to secure channelID, it's beyond the scope of LINE SDK integration.

The question was not how but should it be stored securely. If SHA signatures do not protect the app then I think it should but it comes down to the answer of the first question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants