-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* #86 remove unused code * #86 adding unittest for DirectoryExensionTests * #86 imporve check content * #86 rename test class to share project and test check content * #86 adding coverlet msbuild for code coverage test * #86 gitingore encrypt file from test * #86 test UniqueKeyGenerator * #86 add exception to UniqueKeyGenerator * #86 fix test * #86 tmp allow test to check if it works * #86 update editor config with 2 space for csproj * #86 space intent * #86 remove unnec tags from AES example csproj * #86 temp ignore example test to check all tests for other os * #86 remove old and dead cli from docker test * #86 remove not wanted test * #86 update text messge for ignore,
- Loading branch information
1 parent
19afd6a
commit d66ed05
Showing
15 changed files
with
374 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -405,3 +405,4 @@ CoverageReport | |
*.vpw | ||
*.vpwhist | ||
*.vtg | ||
/Resources/RsaKeys/encrypted.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,63 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
<LangVersion>10.0</LangVersion> | ||
<PackageId>CryptoNet.Extensions</PackageId> | ||
<RepositoryType>git</RepositoryType> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<RepositoryUrl>https://github.com/maythamfahmi/CryptoNet</RepositoryUrl> | ||
<PackageProjectUrl>https://github.com/maythamfahmi/CryptoNet</PackageProjectUrl> | ||
<ApplicationIcon>CryptoNetLogo-icon.ico</ApplicationIcon> | ||
<PackageIcon>CryptoNetLogo-icon.png</PackageIcon> | ||
<PackageIconUrl>https://raw.githubusercontent.com/maythamfahmi/CryptoNet/main/img/CryptoNetLogo-icon.png</PackageIconUrl> | ||
<Company>NextBix</Company> | ||
<Authors>Maytham Fahmi</Authors> | ||
<MinClientVersion>1.0.0</MinClientVersion> | ||
<Version>3.0.0</Version> | ||
<Title>CryptoNet.Extensions</Title> | ||
<Product>CryptoNet.Extensions</Product> | ||
<RootNamespace>CryptoNet.Extensions</RootNamespace> | ||
<AssemblyName>CryptoNet.Extensions</AssemblyName> | ||
<PackageDescription>Simple and lightweight content encryption and decryption package. CryptoNet extensions methods.</PackageDescription> | ||
<PackageTags>Encryption; Decryption; Security; Cryptography; Asymmetric; X509; RSA; AES</PackageTags> | ||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<Copyright>Copyright © 2024</Copyright> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
<_SkipUpgradeNetAnalyzersNuGetWarning>true</_SkipUpgradeNetAnalyzersNuGetWarning> | ||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
</PropertyGroup> | ||
|
||
<Target Name="PrepareReleaseNotes" BeforeTargets="GenerateNuspec"> | ||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
<LangVersion>10.0</LangVersion> | ||
<PackageId>CryptoNet.Extensions</PackageId> | ||
<RepositoryType>git</RepositoryType> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<RepositoryUrl>https://github.com/maythamfahmi/CryptoNet</RepositoryUrl> | ||
<PackageProjectUrl>https://github.com/maythamfahmi/CryptoNet</PackageProjectUrl> | ||
<ApplicationIcon>CryptoNetLogo-icon.ico</ApplicationIcon> | ||
<PackageIcon>CryptoNetLogo-icon.png</PackageIcon> | ||
<PackageIconUrl>https://raw.githubusercontent.com/maythamfahmi/CryptoNet/main/img/CryptoNetLogo-icon.png</PackageIconUrl> | ||
<Company>NextBix</Company> | ||
<Authors>Maytham Fahmi</Authors> | ||
<MinClientVersion>1.0.0</MinClientVersion> | ||
<Version>3.0.0</Version> | ||
<Title>CryptoNet.Extensions</Title> | ||
<Product>CryptoNet.Extensions</Product> | ||
<RootNamespace>CryptoNet.Extensions</RootNamespace> | ||
<AssemblyName>CryptoNet.Extensions</AssemblyName> | ||
<PackageDescription>Simple and lightweight content encryption and decryption package. CryptoNet extensions methods.</PackageDescription> | ||
<PackageTags>Encryption; Decryption; Security; Cryptography; Asymmetric; X509; RSA; AES</PackageTags> | ||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<Copyright>Copyright © 2024</Copyright> | ||
<PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
<EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
<_SkipUpgradeNetAnalyzersNuGetWarning>true</_SkipUpgradeNetAnalyzersNuGetWarning> | ||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
<Description>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/../RELEASE-NOTES"))</Description> | ||
</PropertyGroup> | ||
</Target> | ||
|
||
<Target Name="PrepareReleaseNotes" BeforeTargets="GenerateNuspec"> | ||
<PropertyGroup> | ||
<Description>$([System.IO.File]::ReadAllText("$(MSBuildProjectDirectory)/../RELEASE-NOTES"))</Description> | ||
</PropertyGroup> | ||
</Target> | ||
|
||
<ItemGroup> | ||
<Content Include="CryptoNetLogo-icon.ico"> | ||
<CopyToOutputDirectory>Never</CopyToOutputDirectory> | ||
</Content> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" /> | ||
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0" PrivateAssets="All" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="CryptoNetLogo-icon.ico"> | ||
<CopyToOutputDirectory>Never</CopyToOutputDirectory> | ||
</Content> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" /> | ||
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="8.0.0" PrivateAssets="All" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="..\LICENSE" Pack="true" PackagePath="\" /> | ||
<None Include="..\README.md" Pack="true" PackagePath="\" /> | ||
<None Include="..\img\CryptoNetLogo-icon.png" Pack="true" PackagePath="\"> | ||
<CopyToOutputDirectory>Never</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Include="..\LICENSE" Pack="true" PackagePath="\" /> | ||
<None Include="..\README.md" Pack="true" PackagePath="\" /> | ||
<None Include="..\img\CryptoNetLogo-icon.png" Pack="true" PackagePath="\"> | ||
<CopyToOutputDirectory>Never</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\CryptoNet.Models\CryptoNet.Models.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\CryptoNet.Models\CryptoNet.Models.csproj" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,13 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<LangVersion>10.0</LangVersion> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<TargetFramework>netstandard2.0</TargetFramework> | ||
<LangVersion>10.0</LangVersion> | ||
<Nullable>enable</Nullable> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,50 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
<IsPackable>false</IsPackable> | ||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<Nullable>enable</Nullable> | ||
<IsPackable>false</IsPackable> | ||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="coverlet.msbuild" Version="6.0.2"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" /> | ||
<PackageReference Include="NUnit" Version="4.2.2" /> | ||
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" /> | ||
<PackageReference Include="coverlet.collector" Version="6.0.2"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="ReportGenerator" Version="5.3.11" /> | ||
<PackageReference Include="Shouldly" Version="4.2.1" /> | ||
<PackageReference Include="SharperHacks.CoreLibs.IO" Version="5.0.1" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="coverlet.msbuild" Version="6.0.2"> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
<PrivateAssets>all</PrivateAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.11.1" /> | ||
<PackageReference Include="NUnit" Version="4.2.2" /> | ||
<PackageReference Include="NUnit3TestAdapter" Version="4.6.0" /> | ||
<PackageReference Include="coverlet.collector" Version="6.0.2"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="ReportGenerator" Version="5.3.11" /> | ||
<PackageReference Include="Shouldly" Version="4.2.1" /> | ||
<PackageReference Include="SharperHacks.CoreLibs.IO" Version="5.0.1" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<ProjectReference Include="..\CryptoNet.Share\CryptoNet.Share.csproj" /> | ||
<ProjectReference Include="..\CryptoNet\CryptoNet.csproj" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\CryptoNet.Share\CryptoNet.Share.csproj" /> | ||
<ProjectReference Include="..\CryptoNet\CryptoNet.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Update="Resources\RsaKeys\RsaKeys"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
<None Update="Resources\TestFiles\test.docx"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
<None Update="Resources\TestFiles\test.pdf"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
<None Update="Resources\TestFiles\test.png"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
<None Update="Resources\TestFiles\test.xlsx"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Update="Resources\RsaKeys\RsaKeys"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
<None Update="Resources\TestFiles\test.docx"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
<None Update="Resources\TestFiles\test.pdf"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
<None Update="Resources\TestFiles\test.png"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
<None Update="Resources\TestFiles\test.xlsx"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.