Code Monkey home page Code Monkey logo

dotnet-certificate-tool's Introduction

Welcome to my page!


I'm Stylianos Nicoletti (Stelios), Fullstack developer from Nicosia, Cyprus.

Things I work with:

React Webpack Docker capacitor TypeScript github actions poweshell ionic vscode Google Cloud Platform jira stripe eslint dotnet vstudio rpi angular twilio npm git html5 google analytics java aws Prettier linux csharp Nodejs androidstudio postgre python supabase shellscript markdown intelij webstorm

Where to find me:

twitter LinkedIn instagram Github

dotnet-certificate-tool's People

Contributors

dushyantsingh-ds avatar elonmallin avatar ivanpaulovich avatar kmosolov avatar pierre3 avatar shoshins avatar simon-wacker avatar stylianosnicoletti avatar yohanb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dotnet-certificate-tool's Issues

Trying to install on ubuntu 16.04 version with dotnet core version 2.1.816

Below is the error I get when trying to install,

" dotnet tool install --global dotnet-certificate-tool
error NU1202: Package dotnet-certificate-tool 2.0.6 is not compatible with netcoreapp2.1 (.NETCoreApp,Version=v2.1) / any. Package dotnet-certificate-tool 2.0.6 supports:
error NU1202: - net50 (.NETFramework,Version=v5.0) / any
error NU1202: - netcoreapp3.1 (.NETCoreApp,Version=v3.1) / any
The tool package could not be restored.
Tool 'dotnet-certificate-tool' failed to install. This failure may have been caused by:

  • You are attempting to install a preview release and did not use the --version option to specify the version.
  • A package by this name was found, but it was not a .NET Core tool.
  • The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
  • You mistyped the name of the tool. "

i am trying to dotnet a .dll file to check if the application runs but having below error,

Unhandled Exception: System.Security.Cryptography.CryptographicException: Unix LocalMachine X509Store is limited to the Root and CertificateAuthority stores. ---> System.PlatformNotSupportedException: Unix LocalMachine X509Store is limited to the Root and CertificateAuthority stores.

Please suggest if there is any solution.

X509Store is always empty when accessed from C#

I am using this tool to install a few PFX files on Linux.

After installation, I can confirm that the PFX files show up in the '~/.dotnet/corefx/cryptography/x509stores/my' location, as file named in the format, {thumbprint}.pfx.

However, when I try and access the x509 store in the following way:

        var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
        store.Open(OpenFlags.ReadOnly);
        var certCollection = store.Certificates;

My certCollection is always empty. Any ideas on why this is happening on my Linux machine?

Install root ca

Hi,

Could this also be used to also include a root CA certificate that the certificate has been signed with?
To avoid having to run the linux command to update the root ca store in linux?

.net 7 update

What is the plan for updating to net 7 ?
I see a PR for the same has been open for a while now.

Maintainer interest

Hi, Im interested in becoming a maintainer so creating an issue here as suggested in #34 .

My main interest in this is doing the .net updates as the company Im working for is using this tool. I wont be developing this actively but I'd be happy to look at PRs with tests included to add new features as well.

Looking at the history it seems to be a manageable amount of issues coming in.

Let me know if this sounds ok for you @stylianosnicoletti

Add Custom StoreLocation support

Suggestion:
Please add the possibility to specify Store location (System.Security.Cryptography.X509Certificates.StoreLocation).

How it works right now:
CurrentUser store location is hardcoded.
Example:
var store = new X509Store(storeName, StoreLocation.CurrentUser);

CurrentUser store not showing added certificates inside a Docker container.

I have added a .pfx certificate via the tool to a Docker container and it shows that it installs successfully.

image

However, when I try to list all certificates in said user store in a .NET Core application, the store indicates that there are 0 certificates contained within it.

Could this be an issue with a difference in Linux user on Docker build vs Docker run?

Seeking New Maintainers for dotnet-certificat-tool

Dear Community,
We hope this message finds you well. Over the years, dotnet-certificat-tool has grown significantly and has been used by many in various capacities. We are immensely proud of what we have accomplished together and grateful for the support, contributions, and feedback from the community.

However, after careful consideration, we have decided that Workleap will no longer be able to support dotnet-certificat-tool moving forward. This decision has not been made lightly and reflects a shift in our company’s strategic focus and resource allocation.

While we will not be able to contribute, manage, or maintain dotnet-certificat-tool as we have in the past, we believe in the value it provides and are hopeful for its future. Therefore, we are officially looking for new maintainers or a new organization to take over its stewardship. We are committed to a smooth transition process and will provide support to the new maintainers during this changeover period.

If you are interested in becoming a maintainer, or if your organization is willing to support and continue the development of dotnet-certificat-tool, please reach out by opening an issue in this repository or directly contacting me at [email protected].

We want to express our sincerest thanks to everyone who has contributed time, code, issues, or support towards dotnet-certificat-tool. It has been an inspiring journey, and we look forward to seeing how dotnet-certificat-tool evolves under new leadership.

Thank you for your understanding and support.

Best Regards,

Eric De Carufel
Principal Backend Software Architect
Workleap

ArgumentOutOfRangeException: Specified argument was out of the range of valid values.

I'm getting this error with the sample project (and my actual project) after running: docker run -v /tmp:/app/tmp docker-example --cert_filepath /app/tmp/cert.pfx --cert_password 'mypassword' --cert_thumbprint ''.

Unhandled exception. System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter 'value')
at CommandLine.Text.HelpText.AddLine(StringBuilder builder, String value, Int32 maximumLength)
at CommandLine.Text.HelpText.AddPreOptionsLine(String value, Int32 maximumLength)
at CommandLine.Text.HelpText.AddPreOptionsLine(String value)
at CommandLine.Text.HelpText.DefaultParsingErrorsHandler[T](ParserResult1 parserResult, HelpText current) at CommandLine.Text.HelpText.<>c__DisplayClass39_01.b__2(HelpText current)
at CommandLine.Text.HelpText.AutoBuild[T](ParserResult1 parserResult, Func2 onError, Func2 onExample, Boolean verbsIndex, Int32 maxDisplayWidth) at CommandLine.Text.HelpText.AutoBuild[T](ParserResult1 parserResult, Int32 maxDisplayWidth)
at CommandLine.Parser.<>c__DisplayClass17_01.<DisplayHelp>b__1(IEnumerable1 _, TextWriter writer)
at CSharpx.MaybeExtensions.Do[T1,T2](Maybe1 maybe, Action2 action)
at CommandLine.Parser.<>c__DisplayClass17_01.<DisplayHelp>b__0(IEnumerable1 errors)
at CommandLine.ParserResultExtensions.WithNotParsed[T](ParserResult1 result, Action1 action)
at CommandLine.Parser.DisplayHelp[T](ParserResult1 parserResult, TextWriter helpWriter, Int32 maxDisplayWidth) at CommandLine.Parser.MakeParserResult[T](ParserResult1 parserResult, ParserSettings settings)
at CommandLine.Parser.ParseArguments(IEnumerable1 args, Type[] types) at CommandLine.ParserExtensions.ParseArguments[T1,T2](Parser parser, IEnumerable1 args)
at GSoft.CertificateTool.Program.Main(String[] args) in /Users/yohan.belval/git/dotnet-certificate-tool/src/Program.cs:line 31
./docker-entrypoint.sh: line 36: 8 Aborted ./certificate-tool add -f ${cert_filepath} -t ${cert_thumbprint} -p ${cert_password}
The following 0 certificate(s) are installed:

Any ideas? I can't see anything wrong with the values I'm putting in (or if there is, it's not a very friendly error message...)

Remove Multiple Certificates in one go

What are your thoughts on supporting the remove of multiple thumbprints in one go. Ideally the API would look like this and you could chain them as long as you want and as long as they were all within the same certificate store & location.

dotnet certificate-tool remove -t EB669E265C328BBA4108C51D6D20A38709C76A78 44CCD0915A99A3E28EB58064434F2F2A605A6185

I would be willing to contribute this.

Nuget.org package ownership tranfer

Facing an issue with publishing to the Nuget.org and I believe it is because am not an owner of the package, so am not able to publish with my api keys a package with the same name.

@decarufe can you please specify me as an additional owner, or transfer the package ownership as well from Nuget.org.

There are some instructions here:
https://devblogs.microsoft.com/nuget/managing-package-owners/

My profile on Nuget.org:
https://www.nuget.org/profiles/stylianosnicoletti

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.