Skip to content

1.0.12.3 Release

Compare
Choose a tag to compare
@charlesportwoodii charlesportwoodii released this 08 Jun 18:54
· 20 commits to master since this release
1.0.12.3

1.0.12.3 Release

libsodium-uwp is a Universal Windows Runtime Component that exposes the libsodium library to both desktop and mobile universal windows applications.

Intermediate releases 1.0.12.1 through 1.0.12.2 have been skipped for development reasons.

What's New?

  • Fixed issue with PasswordHashOptions causing instability on x64 platforms. Use the PasswordHash.CreateOptions() API instead of new PasswordHashOptions { } to avoid compatibility issues.
var memory_cost = 1 << 8;
var time_cost = 3;
var options = PasswordHash.CreateOptions(memory_cost, time_cost); // => PasswordHashOptions
  • Memory locking and zeroing plain text passwords in KDF.Argon2i, KDF.Scrypt, PasswordHash.Hash, and PasswordHash.Verify.
  • Debug symbols built and pushed to SymbolSource
  • Nuget packages now published under the following format <libsodium_version><build_version>, and on Github <libsodium_version>.<build_version> Consequently 1.0.12.3 on Github is now published as 1.0.123 on Nuget.

Installation

  1. Install from Nuget

    Install-Package libsodium-uwp
    
  2. Add the following to your Package.appxmanifest file.

        <Extensions>
        <Extension Category="windows.activatableClass.inProcessServer">
            <InProcessServer>
                <Path>libsodium-uwp.dll</Path>
                <ActivatableClass ActivatableClassId="Sodium.Core" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.CryptoHash" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.GenericHash" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.GenericHashAlgorithmProvider" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.GenericHashAlgorithmNames" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.KDF" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.KeyPair" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.OneTimeAuth" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.PasswordHash" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.PublicKeyAuth" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.PublicKeyBox" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.ScalarMult" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.SealedPublicKeyBox" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.SecretBox" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.SecretKeyAuth" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.SecretAead" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.ShortHash" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.StreamEncryption" ThreadingModel="both" />
                <ActivatableClass ActivatableClassId="Sodium.Utilities" ThreadingModel="both" />
            </InProcessServer>
        </Extension>
    </Extensions>

Package Verification

The following hashes are made available so you can verify the authenticity of this package both on Github and Nuget.

md5: 4ec27e73fbd7a55c00f9930b957a6d85  libsodium-uwp.1.0.123.nupkg
md5: 26a75478e68bf7ace1a905c4d22c2afb  libsodium-uwp.1.0.123.symbols.nupkg
sha1: 5bbe0e78e0f50a0880a6b95ffc3360b4b5dcdbef  libsodium-uwp.1.0.123.nupkg
sha1:: 9b9b24a825b7b8f83dd3f703ff65900cab2f895c  libsodium-uwp.1.0.123.symbols.nupkg
sha256: d4443a89c1cef4950a71516d8e4c3f863fbf59adceeb2f60d6d371628e72770c  libsodium-uwp.1.0.123.nupkg
sha256: acd381233873c3938c771ae053055bca70081f2daedb48a581746e332e4c9058  libsodium-uwp.1.0.123.symbols.nupkg

The Nuget package is also signed so you can verify the authenticity of this package.