abpframework / abpframework/abp

Better path finding for tempkey.rsa

Open
#12,120 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

abp-module-identityserver priority:low
Dominant language
C#
Stars
14.4k
Forks
3.7k
Avg merge
15h 32m
Merged PRs (30d)
106

Description

Following code searches in the C:\Windows\system32\tempkey.jwk path in desktop apps like UWP and most probably MAUI Blazor.

https://github.com/abpframework/abp/blob/e3e1779de6df5d26f01cdc8e99ac9cbcb3d24d3c/modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/AbpIdentityServerBuilderExtensions.cs#L76

We should get executing dll directory or make it configurable.


Originally posted here: https://support.abp.io/QA/Questions/2797/AbpInitializationException

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in modules/identityserver/src/Volo.Abp.IdentityServer.Domain/Volo/Abp/IdentityServer/AbpIdentityServerBuilderExtensions.cs around line 76, where the tempkey.jwk path is searched. Check how the path behaves in UWP and MAUI Blazor desktop apps, then determine whether using the executing DLL directory or a configurable path meets the issue; done means tempkey.rsa lookup no longer defaults incorrectly.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
authentication, desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.