mirror of
https://github.com/junian/Standard.Licensing.git
synced 2026-04-25 13:55:53 +03:00
[GH-ISSUE #7] Pad Block Corrupted Exception #4
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Standard.Licensing#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @markovejnovic on GitHub (Sep 2, 2019).
Original GitHub issue: https://github.com/junian/Standard.Licensing/issues/7
Hello. After reading a private key created with
I am unable to create a license by reading the file:
due to an exception thrown by
BouncyCastle:@markovejnovic commented on GitHub (Sep 2, 2019):
This seems to be an issue with using a
stringinCreateAndSignPrivateKey, due to the padding block being truncated as described here.@markovejnovic commented on GitHub (Sep 2, 2019):
Worth noting that my key generation and license generation code snippets are two different code blocks.
@brlauuu commented on GitHub (Jan 10, 2020):
I am storing the license to a file as well and reading it from it after. However, I'm using
File.ReadAllText(path)instead ofFIle.ReadAllBytes(path)like you are. Maybe it's worth trying like that.@davidpetric commented on GitHub (Jul 27, 2020):
Hello,
For anyone who is trying this NuGet I have downloaded the project source code and run the unit test for generating the license and it worked...then I checked my code and I think that Visual Studio used a wrong namespace for the KeyGenerator class.
Here is my code that generates the private and public keys that works:
@mudasar commented on GitHub (Jul 25, 2024):
I am facing the same issue every thing was working fine until last year and now i have to generate a new license and all of sudden the keys pad lock broken issue is there. even unable to parse the old licenses (with old keys) base64 error