jwt – JwtBearer middleware with ES256 always 401 Bearer error=”invalid_token”, error_description=”The signature key was not found”

token is created using public class AppTokenHandler : TokenValidator, IAppTokenHandler { private readonly JwtSecurityTokenHandler _handler = new JwtSecurityTokenHandler(); private readonly AppTokenConfiguration _appTokenConfiguration; private readonly RsaSecurityKey _publicKey; private readonly ECDsa _key; public AppTokenHandler(IOptions<AppTokenConfiguration> appTokenConfiguration, RsaSecurityKey publicKey, ECDsa key) { _appTokenConfiguration = appTokenConfiguration.Value; _publicKey = publicKey; _key = key; } public string Create(Dictionary<string, object> claims) { var … Read more

mysql – “An error occurred during the signature verification.” in apt-update after adding key 3A79BD29 and sudo apt-key del on Debian

the server I work on is a Debian 9.13 OS and “mysql Ver 14.14 Distrib 5.7.34,”. I tried downloading package information from all configured sources with the following command: sudo apt update then I faced to the following error: Hit:1 http://security.debian.org stretch/updates InRelease Hit:2 http://packages.cloud.google.com/apt google-cloud-monitoring-stretch-all InRelease Hit:3 http://packages.cloud.google.com/apt cloud-sdk-stretch InRelease Hit:4 http://packages.cloud.google.com/apt google-compute-engine-stretch-stable InRelease … Read more