Incr ver
This commit is contained in:
parent
f5cbf89e13
commit
b5d9c0a27a
@ -2,7 +2,7 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net9.0</TargetFramework>
|
<TargetFramework>net9.0</TargetFramework>
|
||||||
<Version>12.5.1.1</Version>
|
<Version>12.5.2.1</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Octokit" Version="14.0.0" />
|
<PackageReference Include="Octokit" Version="14.0.0" />
|
||||||
|
|||||||
@ -70,9 +70,11 @@ internal class Device
|
|||||||
public byte[] DecryptSessionKey(byte[] sessionKey)
|
public byte[] DecryptSessionKey(byte[] sessionKey)
|
||||||
=> CdmKey.Decrypt(sessionKey, RSAEncryptionPadding.OaepSHA1);
|
=> CdmKey.Decrypt(sessionKey, RSAEncryptionPadding.OaepSHA1);
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Completely managed implementation of RSASSA-PSS using SHA-1.
|
/// Completely managed implementation of RSASSA-PSS using SHA-1.
|
||||||
/// https://github.com/bcgit/bc-csharp/blob/master/crypto/src/crypto/signers/PssSigner.cs
|
/// https://github.com/bcgit/bc-csharp/blob/master/crypto/src/crypto/signers/PssSigner.cs
|
||||||
|
///
|
||||||
|
/// Absolutely nobody anywhere should use this RSASSA-PSS implementation in anything where they care about security at all. We completely skipped the random salt part of it because libation doesn't need security; it only needs to satisfy Audible server's challenge-response requirements.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private static class PssSha1Signer
|
private static class PssSha1Signer
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user