-
Notifications
You must be signed in to change notification settings - Fork 207
Open
Description
macos 15.6
Unhandled exception. Interop+AppleCrypto+AppleCommonCryptoCryptographicException: The specified item is no longer valid. It may have been deleted from the keychain.
at Interop.AppleCrypto.X509CopyWithPrivateKey(SafeSecCertificateHandle, SafeSecKeyRefHandle, SafeKeychainHandle)
at System.Security.Cryptography.X509Certificates.AppleCertificatePal.CopyWithPrivateKey(SafeSecKeyRefHandle)
at System.Security.Cryptography.X509Certificates.AppleCertificatePal.CopyWithPrivateKey(RSA)
at System.Security.Cryptography.X509Certificates.RSACertificateExtensions.CopyWithPrivateKey(X509Certificate2, RSA)
at System.Security.Cryptography.X509Certificates.CertificateRequest.CreateSelfSigned(DateTimeOffset, DateTimeOffset)
at FastGithub.HttpServer.Certs.CertGenerator.CreateCACertificate(X500DistinguishedName subjectName, DateTimeOffset notBefore, DateTimeOffset notAfter, Int32 rsaKeySizeInBits, Int32 pathLengthConstraint)
at FastGithub.HttpServer.Certs.CertService.CreateCaCertIfNotExists()
at FastGithub.KestrelServerExtensions.UseTls(ListenOptions listen)
at FastGithub.KestrelServerExtensions.<>c__DisplayClass1_0.<ListenHttpProxy>b__0(ListenOptions listen)
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions.ListenLocalhost(Int32, Action`1)
at FastGithub.KestrelServerExtensions.ListenHttpProxy(KestrelServerOptions kestrel)
at FastGithub.Startup.<>c.<ConfigureWebHost>b__1_0(KestrelServerOptions kestrel)
at Microsoft.Extensions.Options.ConfigureNamedOptions`1.Configure(String , TOptions)
at Microsoft.Extensions.Options.OptionsFactory`1.Create(String)
at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value()
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.CreateServiceContext(IOptions`1, ILoggerFactory, DiagnosticSource)
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl..ctor(IOptions`1 options, IEnumerable`1 transportFactories, IEnumerable`1 multiplexedFactories, ILoggerFactory loggerFactory, DiagnosticSource diagnosticSource)
at System.RuntimeMethodHandle.InvokeMethod(Object, Void**, Signature, Boolean)
at System.Reflection.ConstructorInvoker.Invoke(Object, IntPtr*, BindingFlags)
at System.Reflection.RuntimeConstructorInfo.InvokeWithManyArguments(RuntimeConstructorInfo, Int32, BindingFlags, Binder, Object[], CultureInfo)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags, Binder, Object[], CultureInfo)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite, RuntimeResolverContext)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite, TArgument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitRootCache(ServiceCallSite, RuntimeResolverContext)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite, TArgument)
at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.CreateServiceAccessor(Type)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey, Func`2)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type, ServiceProviderEngineScope)
at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService(IServiceProvider provider, Type serviceType)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at Microsoft.AspNetCore.Builder.WebApplication.get_ServerFeatures()
at Microsoft.AspNetCore.Builder.WebApplication..ctor(IHost)
at Microsoft.AspNetCore.Builder.WebApplicationBuilder.Build()
at FastGithub.Program.CreateWebApplication(WebApplicationOptions options)
at FastGithub.Program.Main(String[] args)
[1] 7079 abort /Users/seldoon/Applications/fastgithub/fastgithub
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels