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

Use public key to encrypt attribute client side #28

Open
ghost opened this issue Sep 21, 2015 · 2 comments
Open

Use public key to encrypt attribute client side #28

ghost opened this issue Sep 21, 2015 · 2 comments

Comments

@ghost
Copy link

ghost commented Sep 21, 2015

Hi, I apologise if this is an unbelievably stupid question but I was wondering if it was possible to use the public key that is generated and shipped with our code (using Portable.Licensing) to encrypt an attribute for the purpose of generating a machine specific license? We potentially do not want the user to know what attributes are being used for the purpose of validation. Can we use Portable.Licensing to do this.Any thoughts or advice welcomed.

Thanks,
Wilson

@dnauck
Copy link
Owner

dnauck commented Sep 21, 2015

Do i understand you correctly that you want to encrypt parts or the whole license file to prevent the user from looking with an text editor in it?

Currently it's only signed to prevent manipulation.

@ghost
Copy link
Author

ghost commented Sep 21, 2015

No i was thinking about gathering machine specific data, encrypting it using the public key and having the user send to us. We decrypt using the private key and use attributes for license generation. But the attribute information will be contained in the license so there seems there would be no point in encrypting that data in the first place. So my point is moot i think.

Thanks for the quick reply.

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

1 participant