Public-key cryptography (encryption is a misnomer) is the process of creating two keys during the encryption of plain text, one private and one public.

learn more… | top users | synonyms

1
vote
2answers
412 views

How do you create an AES XTS key?

I am interested in hacking around with Gluster cloud FS whose most recent beta uses AES with XTS only. It also requires openssl >= 1.0.1. The 1.0.1f Jan 2014 openssl (with 64 bit lib) install for my ...
1
vote
1answer
125 views

Finding sshd log file

I'm experiencing some problems with SSHD on my server. I'm trying to set up passwordless (pub/pv keys) authentication. It worked for my other servers, but not for this one. The SSHD agent adds my ...
1
vote
1answer
199 views

SSH rsa key works with external IP not internal IP

I am using rackspace cloud hosting. I have 2 servers behind a load balancer. Each server has an external IP and an internal IP. I want to setup a sync job that uses SSH to transfer files. I made ...
0
votes
1answer
22 views

gpg does not ask for passphrase on one encrypted file

I have a test encrypted file on my computer that when I run gpg(2) --verify message.txt.asc I get: gpg: Signature made Tue Mar 3 21:16:41 2015 PST using RSA key ID ******* gpg: Good signature ...
0
votes
1answer
39 views

openssl smime message signing: why do I need a -certfile key?

Here is how one should sign a message with openssl smime? according to the docs openssl smime -sign -in in.txt -text -out mail.msg -signer mycert.pem \ -inkey mykey.pem -certfile mycerts.pem But ...
0
votes
1answer
80 views

GPG 2 decrypt from STDIN via pasting inconsistency

Does anyone know why in some cases you can do this: gpg2 -d And paste your GPG message into the terminal, type ctrl+D, get prompted for your passphrase and get the results to STDOUT? But in other ...
0
votes
1answer
35 views

After Updating to SHA2, private and public doesn't match

I've upgraded to SHA2 certificate, but after upgrading the new certificate key doesn't match my old private key. Public key has changed after updating and it doesn't match to previous private key. ...
0
votes
1answer
457 views

Errors generating gpg keypair

I posted this originally on stackoverflow, but was told that it was offtopic and this would be the better place to post it, so I am reposting it here and deleting my original topic. I have a rather ...
3
votes
0answers
218 views

Is there a tool like dm-crypt/luks using RSA encryption?

Is there a library/tool available for linux, similar to dm-crypt/LUKS using RSA encryption instead of symmetric ciphers? I want the "public side" to only be able to create these volumes, and the ...
3
votes
0answers
483 views

How to decrypt a message sent via Pidgin-Encryption?

A friend sent me an offline Google Talk message that was encrypted via Pidgin-Encryption. It didn't appear in my Pidgin logs because I wasn't logged in when it was sent, but I do have the encrypted ...
2
votes
0answers
47 views

Duplicati uses symmetric encryption despite giving the recipient ID_key

I have a question regarding decrypt using gpg asymmetrically. I use duplicity encrypt copies asymmetrically. E.g: `Duplicati.CommandLine.exe backup s3://testduplicatigpg3 C:\Users\test\Desktop\tt --...
2
votes
0answers
76 views

How can I allow a user to connect to my OpenVPN by knowing their public key?

Given the public key of a remote user, I would like to run OpenVPN and allow that user to connect to my network. I only need to be connected to one remote machine at a time. The options outlined in ...
1
vote
0answers
14 views

When adding a gpg key with homedir parameter error

When adding a key using the cmd Gpg2 –-homedir . –-gen-key And Im getting the error Can’t connect to the agent: Invalid value passed to IPC This is something to do with the homedir parameter ...
1
vote
0answers
217 views

SSH keys cached remotely?

I wanted to install a new public key on a remote server. I created a keypair using ssh-keygen -t rsa on my Macbook, then added its public key to authorized_keys on the remote server. It is the only ...
0
votes
0answers
103 views

How to verify downloads by GPG4Win

In particular, I am installing Gentoo Linux following this manual up to this point: Verifying the downloaded files Through the .DIGESTS and .DIGESTS.asc files, the validity of the ISO file ...
0
votes
0answers
168 views

How to sniff passwords remembered by applications?

Suppose someone forgets their password for a web application such as gmail, facebook or some other application installed on the system such as skype, but the web browser or skype still remembers the ...
0
votes
0answers
544 views

why does public key used to authenticate ssh seem to expire after a while?

I want to ssh from client to server without a password, so I append client's public key to server's authorized_keys. While previously I needed a password, immediately after I do the above, I don't ...