docs(secrets-ui): verify exact published package delivery
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
using ZB.MOM.WW.Secrets.Abstractions;
|
||||
namespace SecretsCompatibility;
|
||||
// Synthetic fixed material only. Compile this against the actual published 0.6.2 contract;
|
||||
// do not rebuild it against 0.6.6 before testing default-interface binary dispatch.
|
||||
public sealed class LegacyProvider(string id, byte fill) : IMasterKeyProvider
|
||||
{
|
||||
private readonly byte[] _key = Enumerable.Repeat(fill, 32).ToArray();
|
||||
public string KekId => id;
|
||||
public ReadOnlyMemory<byte> GetMasterKey() => _key;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup><TargetFramework>net10.0</TargetFramework><ImplicitUsings>enable</ImplicitUsings><Nullable>enable</Nullable><TreatWarningsAsErrors>true</TreatWarningsAsErrors><IsPackable>false</IsPackable><AssemblyName>SecretsLegacyProvider</AssemblyName></PropertyGroup>
|
||||
<ItemGroup><PackageReference Include="ZB.MOM.WW.Secrets.Abstractions" Version="0.6.2" /></ItemGroup>
|
||||
</Project>
|
||||
Reference in New Issue
Block a user