The cryptography tag has no wiki summary.
3
votes
1answer
22 views
Asynchronous and parallel algorithms in the Linux kernel
In the Linux kernel configuration, I see these options:
config CRYPTO_PCRYPT
tristate "Parallel crypto engine"
depends on SMP
select PADATA
select CRYPTO_MANAGER
...
1
vote
2answers
62 views
DNSCrypt, Unbound and DNSSEC
I would like to have an encrypted DNS queries + a DNS Cache + Domain Name System Security Extensions (DNSSEC) .
I used this bash script to install DNSCrypt and I choosed to use dnscrypt.eu servers :
...
5
votes
1answer
57 views
Using kernel cryptographic functions
Is it possible to use kernel cryptographic functions in the userspace? Let's say, I don't have md5sum binary installed on my system, but my kernel has md5sum support. Can I use the kernel function ...
4
votes
1answer
83 views
generate Token for OAuth (Twitter)
I am writing a simple bash script to download stream from Twitter:
curl -H "Authorization: ${TOKEN}" "$URL"
and I am looking for a way to generate the $TOKEN. I have all the input necessary ...
2
votes
0answers
32 views
What is the correct partition type for a geli-crypted partition on FreeBSD?
I am currently in the process of setting up an encrypted homeserver with zfs and geli.
However I am not sure what the correct partition type for geli-crypted filesystems are.
Do I just take ...
1
vote
1answer
66 views
generate SCRAM-SHA-1 hash of a password
I am looking for a simple way (perhaps using openssl) to generate SCRAM-SHA-1 hash of a password for use for Prosody Jabber Server. The passwords on the server are stored in the following form:
...
2
votes
0answers
121 views
Linux cryptography with hidden hardware-stored key
I am running Linux on iMX233, an ARM CPU with hardware-accelerated AES engine. The AES key can be programmed permanently into the chip ROM (OTP). This key is not directly accessible by software. ...
3
votes
1answer
699 views
Cli verification of digitally signed email
I am Alice and I've received signed email from Bob.
I use Web e-Mail client (e.g. GMail) and I see that one of attachements is smime.p7s.
I've found option "show original message" and saved contents ...
2
votes
1answer
233 views
RIPEMD-160 file digest
How can I make a file digest under Linux with the RIPEMD-160 hash function, from the command line?
1
vote
2answers
136 views
PGP words of an RSA fingerprint
Is there a program that displays my SSH RSA key fingerprint
43:51:43:a1:b5:fc:8b:b7:0a:3a:a9:b1:0f:66:73:a8
as PGP words?
Added on 16th October 2012:
I decided to write my own code. I found ...
10
votes
1answer
611 views
Why aren't the Fedora GPG keys signed?
Fedora uses GPG-keys for signing RPM packages and ISO checksum files. They list the keys in use (including fingerprints) on a web page. The web page is delivered via https.
For example the checksum ...
4
votes
3answers
441 views
How do I tell which GPG key an RPM package was signed with?
The cryptographic signature of an RPM can be verified with the rpm -K command. This returns a string containing gpg (or pgp) and ending in OK if the signature is in RPM's database and is valid.
If ...
0
votes
1answer
293 views
nacl crypto installation on arch
I am trying to install nacl crypto on my system:
% uname -a
Linux (none) 2.6.39-ARCH #1 SMP PREEMPT Mon Jun 6 22:37:55 CEST 2011 x86_64 Intel(R) Core(TM) i5 CPU M 540 @ 2.53GHz GenuineIntel GNU/Linux
...
6
votes
3answers
15k views
How to encrypt messages/text with RSA? (using openssl?)
I'm Bob.
I have Alice's public key. I want to send Alice an -> RSA <- encrypted message.
How can I do it using the openssl command?
The message is:
Hi Alice! Please bring malacpörkölt for dinner!
...
5
votes
4answers
3k views
How can I get a base64 encoded shaX on the cli?
sha1sum outputs a hex encoded format of the actual sha. I would like to see a base64 encoded variant. possibly some command that outputs the binary version that I can pipe, like so: echo -n "message" ...
2
votes
1answer
602 views
How to restore GnuPG key after reinstall?
I know that GnuPG is all about security, thus it's not giving many chance of retrieve private keys (otherwise anyone could do it) but I've got a private key, and my own rev.asc file.
I had to ...
7
votes
5answers
11k views
Program for decrypt linux shadow file
Is there any program or script available for decrypt Linux shadow file ?