Skip to main content
Filter by
Sorted by
Tagged with
-4 votes
0 answers
65 views

I’m working on a project where privacy is extremely important for both the client and the backend. Neither side should expose any sensitive or identifying information. A senior developer suggested ...
Skipper's user avatar
0 votes
0 answers
82 views

I have stopped being able to run instrumented tests on Android Studio. They were working fine for weeks. But now even the simplest instrumented test will result in this error, in Build Output: :app:...
John Gorenfeld's user avatar
0 votes
1 answer
69 views

Problem I am attempting to create an HTTPS server using TLS certificates using rustls_pki_types. I am attempting to read from files the server's certificate chain and the server's own private key with ...
mwolfe 11's user avatar
  • 181
0 votes
1 answer
140 views

using (RSA rsa = RSA.Create()) { rsa.ImportFromPem(privateKeyString); byte[] dataToSign = Encoding.UTF8.GetBytes(signData); byte[] signedData = rsa.SignData(dataToSign, HashAlgorithmName....
Orgil's user avatar
  • 317
0 votes
0 answers
162 views

I have a C# program (running on .NET 8) that signs data using an RSA key that is stored in Windows cert-/keystore. The key had been imported using Windows certmgr.msc into the "Personal" ...
JMax's user avatar
  • 1,222
1 vote
1 answer
292 views

I'm working on a project where I generate a TPM-protected private key using tpm2-pytss in Python, and then try to use that key in OpenSSL to generate a certificate. However, I face an issue when the ...
Autolab's user avatar
  • 93
1 vote
0 answers
177 views

This code returns private key in .NET 4.8, but throws an exception in .NET 8.0: var store = new X509Store(StoreLocation.LocalMachine); store.Open(OpenFlags.ReadOnly); var certificates = store....
Yola's user avatar
  • 19.4k
1 vote
1 answer
778 views

I noticed that Tonkeeper somehow generates different Wallet Address(be it v4, v5, v3 etc) even though it is the same Mnemonics that was used. The below is my code in Javascript to generate the Wallet ...
PariWin Lamari's user avatar
0 votes
0 answers
122 views

I am developing an ASP.NET Core Web API and want to use JWT (JSON Web Tokens) for authentication. I want to sign the tokens using RSA encryption. The API should be deployable on both Linux and Windows ...
user28663263's user avatar
1 vote
1 answer
120 views

Context: We developed a PCB integrating several sensors and a system on module (SoM) using Torizon (a Linux distribution), one of the roles of this PCB is to host an OPC-UA server. We also included an ...
Autolab's user avatar
  • 93
0 votes
1 answer
125 views

i am trying to read private key from a file using the below code and getting an exception. is there any way to resolve it? generatePrivate() method throws invalidkeyspecexception. import java.nio....
Vara Lakshmi's user avatar
0 votes
0 answers
1k views

I am working on Snowflake Database Key-Pair implementation (migrating from user_id & password to Key-Pair) in .net Framework 4.8. I have installed Snowflake data connector version 4.0. I have ...
Swapnil Shopping's user avatar
0 votes
0 answers
135 views

I'm working on validating a passphrase for a private key in PHP. My goal is to confirm whether the provided passphrase is correct for a given private key. Here's the basic approach I’m trying, but I ...
Ibtekarlabs's user avatar
1 vote
0 answers
125 views

When importing a new certificate (.pfx with password) on a windows server (2022) with .net framework 4.8 using Powershell from a remote device, the problem of addings users that can manage the private ...
Loemi's user avatar
  • 11
0 votes
1 answer
274 views

I have this SFTP-SSH action inside Power Automate, where I am trying to connect to Amazon Web Service using those details: Private key using RSA FingerPrint USerName EndPoint URL As follow:- But ...
microsoftdeveloperdesigner's user avatar
1 vote
1 answer
461 views

I use nuxt (nitro as backend) and have an error in one of my endpoints which is the callback endpoint for a github app installation. In that endpoint I just import user data into our database. I don't ...
ihaveaquestion's user avatar
1 vote
0 answers
182 views

I was testing loading public key and failed. At first, I create a private key and public key using openssl as follow. $ openssl genrsa -out test-priv.pem 4096 $ openssl req -subj '/C=US/ST=Texas/L=...
Cprogrammer's user avatar
0 votes
0 answers
394 views

As per the title, I'm trying to configure Apache 2.4 on a Windows server (Win 2022) to support HTTPS connections. The CA signing service I'm using provided me a CRT and KEY file in PEM (Base64) ...
JDM's user avatar
  • 1,823
1 vote
1 answer
343 views

I need to generate a deterministic set ECDSA keys using zero dependencies javascript, for which I produce a pkcs8 key out of raw bytes and then import it as ECDSA private key. Is this logically ...
user avatar
0 votes
1 answer
91 views

I am looking into sign JWT token with secret key (pem). I did some investigation and it seems JWT is suppose to utilize private key to sign the claim. What if can I sign the JWT claims with public key ...
youmo's user avatar
  • 1
1 vote
0 answers
56 views

I have generated the keypair using secure enclave with (SecKeyCreateRandomKey()) , then created csr and then certificate is issued by CA. I have stored the certificate in keychain with (SecItemAdd()). ...
Rahul M's user avatar
  • 11
1 vote
0 answers
166 views

Apologies but I am very new to Powershell however I have a few basic API integrations setup that I need to move from basic auth to OAUTH (JWT). I am trying to create a JWT and an RSA Certificate and ...
JEH's user avatar
  • 33
0 votes
1 answer
223 views

I'm trying to import a private key to sign an XML file in NodeJS. To sign the XML, I'm using xmldsigjs which requires the key to be passed in a CryptoKey object that is obtained by crypto.subtle....
Alaa Eddine Cherif's user avatar
1 vote
1 answer
411 views

I am using Zitadel as an Identity Provider, and created there a project and an API with a key. I now want to obtain a M2M token through the “JWT bearer token with private key” method, which is the ...
physicalattraction's user avatar
0 votes
1 answer
552 views

I am building an app with sveltekit and I have decided to implement passkeys as a form of authentication. So, I started researching about them and found out that in their foundation is the concept of ...
standard's user avatar
1 vote
0 answers
254 views

I'm encountering a peculiar issue with Airflow. I've stored a private key as a variable in Airflow, but it seems to be adding an extra backslash (\) to newline characters (\n). Here's an example of ...
daniel guo's user avatar
0 votes
1 answer
615 views

This is the setup AD CS (windows server 2019 Hyper-V VM) Created a new template by duplicating smartcard logon template. Changed provider to Microsoft Software Key Storage Provider. Algorithm is RSA ...
HNR's user avatar
  • 111
-2 votes
1 answer
109 views

So I'm trying to encrypt my own message but its coming out in symbols instead of letters. Here is my code below while b != 0: a, b = b, a % b return a s0, s1 = 1, 0 t0, t1 = 0,...
Lonkin_p's user avatar
0 votes
1 answer
547 views

I'm having a really weird problem where when I connect to an SSH server (that has a pretty standard default configuration, including a default MaxAuthTries of 6) using Net::SSH, the connection fails ...
Guss's user avatar
  • 32.8k
0 votes
0 answers
266 views

I have a key in the format -----BEGIN PRIVATE KEY----- -----END PRIVATE KEY----- I want to convert it to an RSA key to create a JWT from it. I'm using .NET 3.5 Framework. But when I Use this code ...
Bam's user avatar
  • 11
0 votes
0 answers
352 views

In a new Github repo I have added a workflow file. I can edit that file in the online editor. But when I clone the repo, change the workflow and then try to push, I am getting: $ LANG=C git push ...
emacs drives me nuts's user avatar
2 votes
1 answer
354 views

I am trying to create CSR using PHP and OpenSSL extension, but when I do that it gives me an error which says: Failed to generate private key: error:2006D080:BIO routines:BIO_new_file:no such file ...
momo's user avatar
  • 73
0 votes
0 answers
51 views

I'm not at all sure how to add my Private keys path into the .env file in GitHub. I managed to download a private-key.pem to my PC but have no idea how I get the path to add into it. PRIVATE_KEY_PATH=&...
Dave's user avatar
  • 2,148
1 vote
1 answer
941 views

I wanted to sign a hex data using ECDSA private key with the P-256 (secp256k1) curve. But most of the methods in Android use PKCS#8 encoded private key for signature generation. How to convert an ...
Nahan R N's user avatar
0 votes
0 answers
210 views

When attempting to call the randomPrivateKey function from the 'secp256k1' module, I have an issue that is preventing me from generating a private key. const secp = require("ethereum-cryptography/...
Amine Merad's user avatar
0 votes
1 answer
201 views

I'm using the ncrypt.dll in order to create a hash using both MD5 + SHA1 for DTLS like this: private static class NCryptInterop { private struct BCRYPT_PKCS1_PADDING_INFO { internal ...
Krissy's user avatar
  • 11
0 votes
2 answers
1k views

I'd like to generate an RSA key pair in Java 21 using plain Java API (without using BouncyCastle or similar libraries). The private key should be processable by both OpenSSL and Java. Based on Java ...
rsenden's user avatar
  • 141
0 votes
1 answer
2k views

My requirement: Hash Algorithm during signing: SHA256 Sender signs the encrypted message using its private key Receiver verifies the signature using Sender’s public key I am having the below ...
MM Ary's user avatar
  • 11
0 votes
1 answer
364 views

I'm trying to use Google Cloud Storage to upload image files in my Nextjs website. Everything works fine in development, but as soon as I deploy to Vercel, it's saying that there is no private key. I ...
Cip 's user avatar
  • 171
-1 votes
2 answers
567 views

I have a requirement to replace my non-encrypted RSA private key with an encrypted one. I used openssl ... -newkey rsa:2048 -new sha256 ... (Omitted non-essential stuff) to generate the pem. I see ...
Victor Grazi's user avatar
  • 16.6k
0 votes
0 answers
136 views

I'm following this document to add PRIVATE_KEY in, https://glitch.com/, in this documentation they mentioned like this, Click on the file ".env" on the left sidebar, then click on ✏️ Plain ...
Prasath S's user avatar
  • 3,614
0 votes
0 answers
53 views

I am trying to generate a JWT and sign it with node private key. Private key is in txt format. token_header=echo -n '{"alg":"RS256","typ":"JWT"}' | base64 | sed ...
Mohammed Inayathullah's user avatar
1 vote
0 answers
173 views

I don't understand how I would use the built in xml signing library in java with google kms. I have my pub/private key in google kms. I do the following without google kms: val keyPair = getKeyPair() /...
bink1time's user avatar
  • 171
1 vote
1 answer
868 views

I just received my code signing eToken (the little USB dongle) for my EV code signing certificate, and I'm trying to use it to sign my code. In Windows Powershell (running as Administrator), I'm ...
Peter's user avatar
  • 13.8k
1 vote
1 answer
134 views

I want to convert an private key to an String so that user can store it in hard state . i tried to convert the private key using Base64 but it gives me error stating privateKey.getEncoded() is null ...
Rudra's user avatar
  • 103
2 votes
1 answer
1k views

Age is a practical toos for file encryption, here it is its presentation page: age. With age-keygen, we are going to be able to create a couple of public key and private key together like below: # ...
VictoireT's user avatar
0 votes
1 answer
1k views

I'm trying to configure DBT to connect to Snowflake database using a private key in Base64-encoded DER format. The documentation mentions this format, but I'm not sure how to create the key or include ...
Adrien Arcuri's user avatar
0 votes
1 answer
3k views

I am trying to import a certificate.pem file to an azure key vault in the certificate section, that looks like this: -----BEGIN RSA PRIVATE KEY----- {my key} -----END RSA PRIVATE KEY----- -----BEGIN ...
Marvin Core's user avatar
1 vote
0 answers
349 views

openSSL pkcs8 -in private-key.pem -topk8 -nocrypt -out private-pkc8.pk8 I run this command and it prompts; "Could not find private key of key from private-key.pem" I can't seem to find a ...
yigozer's user avatar
  • 11
0 votes
1 answer
606 views

I am trying to complete a process using Python via an Azure Function App. This process takes a private key (.PEM, which has been uploaded to Azure Key Vault as a Key) as well as two secrets (our API ...
LostMary's user avatar

1
2 3 4 5
33