Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [key-pair]

Public-key cryptography, or asymmetric cryptography, is any cryptographic system that uses pairs of keys: public keys that may be disseminated widely paired with private keys which are known only to the owner.

0 votes
0 answers
22 views

connecting to snowflake from python using a key pair on snowflake.connector 3.0.3

I am trying to connect to snowflake from my python code, using snowflake.connector package. unfortunately, due to legacy code I am constraing to use snowflake connector version 3.0.3 on python 3.7.3, ...
amit's user avatar
  • 3,412
0 votes
0 answers
16 views

Connecting using fabric errors

when I use the fabric library and try to connect to the server i get the errors: fab -f 2-do_deploy_web_static.py do_deploy:archive_path=versions/web_static_20170315003959.tgz -i ~/.ssh/key_pup ...
Shimaa's user avatar
  • 13
2 votes
2 answers
211 views

How can I use key from AndroidKeyStore instead of password to authenticate my SSH client connection?

I am unable to login to server using key authentication from my client Android app. I am able to login to server from my app using password authentication. I am able to login to server using key ...
user avatar
0 votes
0 answers
443 views

ADF Snowflake Connector - Key pair authentication - Failed to parse PEM block containing the private key

I have created RSA key pair for my snowflake service account. I tested authenticating snowflake with this RSA keys in python. Data from snowflake loaded successfully. Now I'm trying to use this RSA ...
Muzaffar Mohammed's user avatar
1 vote
1 answer
422 views

ssh-ed25519 string to public key in java

I'm pretty much novice in cryptography and has an issue with loading a ed25519 public key string into java.security.PublicKey. It works when I try a key using openssl, but not when I load a key which ...
dimuthu's user avatar
  • 897
1 vote
1 answer
68 views

SFTP in PHP with Key

I wish to use code in PHP to authenticate using keypair over SFTP. I am using Laravel, however I wish to code using seperate SFTP. From research I have: composer require phpseclib/phpseclib:~3.0 ...
Datadimension's user avatar
0 votes
0 answers
61 views

If a public key is rotated out for session that used the key to authenticate, do running queries fail?

If my session is authenticated with a keypair, and I start a query that runs so long that my key gets rotated out, does my query fail? I couldn't find documentation, and I haven't experimented myself. ...
Levin's user avatar
  • 1,985
2 votes
1 answer
240 views

Can't create a new key-pair using CloudFormation AWS

I am trying to create a new key pair using the CloudFormation service AWS. I wrote the yaml below and sent it to CF. But it caused a strange result. AWSTemplateFormatVersion: "2010-09-09" ...
agongji's user avatar
  • 181
0 votes
0 answers
32 views

EC2 Instance keypair no longer working after SSH Key created for Github

I created a keypair with the EC2 instance which I have been using to connect and transfer files successfully. Recently, I needed to generate an SSH Key on the instance for Github permissions and now, ...
Jenifer Crenshaw's user avatar
1 vote
0 answers
248 views

How to change the root certificate of a generated KeyPair on an android device?

I want to generate a KeyPair on my Android device that have a root certificate as a Google Hardware Attestation Root certificate. I've seen in the documentation on Android here that I can change the ...
Sacha.R's user avatar
  • 276
0 votes
0 answers
100 views

Android extract private and public key from JKS in assets

I have a JKS file in /src/main/res/raw/ecc.jks. The EC algorithm makes the JKS file with 256 lengths of key size. My issue is that I want to extract the private and public keys of the JKS file and ...
Hajitsu's user avatar
  • 774
0 votes
0 answers
54 views

How to use ECDsa

I'm creating a tool that generates EC key pair. I'm new to the Elliptic Curve Algorithm. I started with this function: public static void GenerateECPublicKey(byte[] p, byte[] g, byte[] a, byte[] b, ...
jmt's user avatar
  • 1
3 votes
2 answers
445 views

How to find a free TPM handle for saving a new key pair object?

I am new to TPM and currently working on a project that involves generating and storing serveral key pairs using tpm. I would like to know how to find an available TPM handle that can be used to save ...
Alireza Delkhahi's user avatar
-1 votes
2 answers
369 views

Using a terraform file (that is not created yet) in terraform file function

I am trying to create a terraform that will create a windows server, linux machine in an aws vpc and then will save the Windows server and the admin password in a local file, I Know that I will need ...
EBox's user avatar
  • 9
1 vote
1 answer
250 views

How to use jsondecode for to decode public aws ssh keys from vault

I am trying to see how to go about retrieving some aws public ssh keys from vault using terraform. Vault is returning a string instead of an array of strings, so I looks like it would have to treat ...
Carolina D Vallecillo's user avatar

15 30 50 per page
1
2 3 4 5
20