Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [cryptography]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Cryptomator Volume on WSL

One of my main volumes on Windows, P:, gets encrypted with Cryptomator. I then unlock the vault’s contents via X:, which I want to access using WSL. I am opening the installed Ubuntu 20.04 WSL distro ...
user avatar
  • 13
0 votes
1 answer
28 views

Understanding SSH Public Key Auth Ciphers

I have a technical recommendation for SSH that states we should only use the following algorithms for Public Key authentication. Unfortunately the guide does not mention the exact names of ciphers as ...
user avatar
0 votes
1 answer
122 views

Docker container CMAKE gives crypto/fips/fips.c:153: OpenSSL internal error: FATAL FIPS SELFTEST FAILURE - dracut-fips crypto.fips_enabled = 1

Getting crypto/fips/fips.c:153: OpenSSL internal error: FATAL FIPS SELFTEST FAILURE when dracut-fips package is installed and sysctl -a shows crypto.fips_enabled = 1 Restriction: Can not disable ...
user avatar
  • 115
0 votes
1 answer
158 views

Create new SubCA certificate fails with NTE_PROV_TYPE_NOT_DEF

I am trying to manually create a key and CSR for a new Windows AD CS Enterprise Subordinate CA (Windows Server 2019). I'd like to store the key in the modern Microsoft Software Key Storage Provider. ...
user avatar
  • 6,663
1 vote
1 answer
548 views

Windows Server 2012: how to prevent IIS from choosing SHA-1 for connections?

The problem: IIS on Windows 2012 picks SHA-1 algorithm when the client uses SHA-1 certificate. Even though the server-side certificate is SHA-256. So Chrome/Edge don't work. On analogous Windows 2016 ...
user avatar
0 votes
0 answers
67 views

Are there any Operating Systems or Browsers that still depend on having these Ciphers enabled?

Doing a litle Cryptography Research and hit a case of conflicting data so wanted to try here. I'm running a Web Service and currently support these 2 Ciphers: TLS_DHE_RSA_WITH_AES_256_GCM_SHA384 (0X9F)...
user avatar
-5 votes
1 answer
42 views

Which mobile VPN type, of IPSec, SSL/TLS, and SSH, would be better for travelling workers? [closed]

Not too sure on the specifics of each that would make one better for travelling.
user avatar
  • 1
0 votes
1 answer
15 views

How to list all of the known root keys in docker (Docker Content Trust)

How can I list all of the Docker Content Trust root keys on my system? I am setting up a CI process that will use the debian:stable-latest docker image to build my application's releases in ephemeral ...
user avatar
1 vote
1 answer
257 views

What is the difference between the TVOCache and the URLCache in Microsoft CAPI2?

In the CAPI2 log, I'm seeing some CertVerifyRevocation events that have the location TvoCache and some that have the location UrlCache for the validation of the same certificate: <Event> <...
user avatar
0 votes
1 answer
36 views

server host key usage problem

I have my server host key(private key) in Openssl format that i want to use for server authentication. I prefer to use the trust model that client local database should associates each host name with ...
user avatar
0 votes
1 answer
530 views

Digital Signature is not valid

I recently received a digital signed email from a friend and the certificate is issued by COMODO RSA Client Authentication and Secure Email. My problem is the thunderbird detect it as a "Not Valid ...
user avatar
2 votes
1 answer
624 views

smart card for UAC only

I'm in the process of configuring USB Yubikeys as a smart card for our company so that staff can elevate to an admin account (added to the computer's local administrators group) by simply inserting ...
user avatar
  • 548
0 votes
1 answer
55 views

Two salts, One password [closed]

If I have two different MD5 password hashes with two different salts (the salts are known), is there any way to cryptographically deduce if the two passwords match? Other than brute force password ...
user avatar
2 votes
1 answer
272 views

MySQL - SSL with ECDSA Private Key

Under the list of supported TLS cipher suites here, MySQL contains support for a number of ECDSA suites. I tried to setup MySQL to use SSL with an ECDSA private key, but this does not appear to work: ...
user avatar
1 vote
1 answer
2k views

How to make sure TLS is using AES 256

I am trying to establish a secure TLS connection between my system and a third party API. Third party mandates that I have to use AES 256 for all communication, Now I have installed a X509 ...
user avatar
  • 113
1 vote
1 answer
156 views

Windows Server 2008 R2 - Cryptographic Operators group issue

I have a problem similar to this question: Windows 7 “Cryptographic Operators”. I am attempting to add a cryptographic rule. When I get to the step to set the cryptographic algorithms I get an "...
user avatar
1 vote
3 answers
3k views

How is a self-signed certificate different from a certificate signing request?

From the wiki page for a Certificate signing request: In Public Key Infrastructure (PKI) systems, a Certificate Signing Request (also CSR or certification request) is a message sent from an ...
user avatar
  • 259
0 votes
2 answers
237 views

Group Policy Preferences item-level targeting propagation

I'm using GPPs to deliver some registry values and grabbed these using the Registry Wizard tool. This has created a collection with folder structure underneath. I want to use Item-level targeting to ...
user avatar
  • 341
1 vote
1 answer
632 views

IIS RC4 vulnerability Windows Server 2012 R2

I need to disable insecure cypher suites on a server with Windows Server 2012 R2 to pass a PCI vulnerability scan. From the research I've done it seems this is to done in IIS with some registry ...
user avatar
  • 295
0 votes
0 answers
548 views

How to configure a Tomcat 7 TLS connector for maximum security

I'm trying to configure a Tomcat 7 TLS connector for best possible security. To test, I'm allowing the Qualsys test to run against my server. However I keep failing on the following points: ...
user avatar
  • 851
-1 votes
1 answer
78 views

Secure access to a site using SSL sertificate

I need to implement secure access to the corporate site using SSL certificates. After long time of searching I've came to conclusion that there are 2 ways to do that: creating own self-signed root CA ...
user avatar
  • 149
1 vote
1 answer
2k views

TLS-PSK vs TLS-PKI

I have read that once TLS-PSK encryption is about equally secure as TLS-PKI. The level of security by both depends on the data entered to configure the encryption. Could you please confirm this? ...
user avatar
-1 votes
1 answer
2k views

Create random file with openssl [closed]

So I read this questionUrandom Alternative, but I am unable to make a comment there (without 50 rep) - therefore I open a separate question: If I use this command instead of dd and urandom, how do I ...
user avatar
2 votes
2 answers
2k views

Integrating Apache with PKCS#11 device via engine_pkcs11 and OpenSSL

I have problem with mod_ssl exactly with SSLCryptoDevice directive. When I run command "openssl engine" returns all available engines including pkcs11 (libengine-pkcs11-openssl), but When I set ...
user avatar
  • 23
12 votes
6 answers
8k views

Generate entropy for PGP key

I'm logged onto a VM remotely and trying to generate a 4096bit PGP key, it just hangs forever because there is no entropy and since I'm working through remote desktop it probably does not detect the ...
user avatar
  • 121
1 vote
1 answer
54 views

Does my SSL cert have anything to do with or say about the symmetric session key?

The answer found on this server fault thread is my jumping off point for this general topic: https://serverfault.com/a/313558 ... and this question can be thought of as a follow-up to that answer. ...
user avatar
  • 11
1 vote
3 answers
3k views

How to create a digital signature and verify it through a server

I am trying to find out a way to create a digital signature for the employees of my company and place it in a server from where they can retrieve them and attach it with any digital document (Office ...
user avatar
  • 111
0 votes
1 answer
69 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. ...
user avatar
9 votes
3 answers
18k views

How are Windows MachineKey Container File Name's Derived?

In the C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys directory there's an enumeration of Key Containers. The naming convention is <uniqueGUID>_<staticGUID> and I presume the <...
user avatar
  • 2,387
3 votes
1 answer
344 views

Deprecation of RSA-SHA-1 in DKIM keys?

I recently noticed that opendkim on my mail server is objecting to DKIM signatures from a client, saying their key is insecure. It may be that that's due to lack of secure DNS (confirmation?) but I ...
user avatar
  • 5,736
0 votes
0 answers
1k views

Check for SSL Weak Ciphers SSL3_RSA_RC4_128_MD5, SSL3_RSA_RC4_128_SHA, TLS1_RSA_RC4_128_MD5, TLS1_RSA_RC4_128_SHA

I am getting a serve ready for PCI compliance, and have one area with crypto from apache with the following report: Weak ciphers offered by this service: SSL3_RSA_RC4_128_MD5 SSL3_RSA_RC4_128_SHA ...
user avatar
  • 1,120
0 votes
1 answer
390 views

Can't build crc32c(a nodejs package)

It's not really nodejs related. It's a C implementation. Firstly, while building, it exits with error: "warning: linux/if_alg.h: No such file or directory". Then I run yum install kernel-devel-{...
user avatar
-2 votes
2 answers
192 views

Is uploading your openssh public key to ~/.ssh/ for a given user safe?

I like to upload my public key (eg: ~/.ssh/id_rsa.pub) to various servers that I connect to on various networks for work. I use this same public key on github. If I am on a shared user account and I ...
user avatar
  • 495
1 vote
1 answer
267 views

Cisco ASA crypto keys, SSH, and VPN

I'm new to the ASA and wanted to know if regenerating crypto keys on an existing ASA with established VPN tunnels could negatively affect the tunnels. The reason for wanting to regenerate crypto keys ...
user avatar
  • 123
2 votes
1 answer
239 views

Linux Kernel setup: is it good idea to enable everything in Cryptographic API?

There are several implementations for some algorithms, which use CPU instructions which may or may not be available on current system. Is it good idea to just enable (in kernel, not as modules) all of ...
user avatar
  • 535
3 votes
2 answers
357 views

how is a website certificate file cryptographically readable by windows?

I have a .crt file signed by a CA. I cat the file to see that it is ascii text. Yet when I double click on the .crt file in windows, it opens it up and somehow displays all the information that's ...
user avatar
8 votes
1 answer
8k views

Logging SSL ciphersuite used in Windows Server 2008 R2

Is there a way to see /log which cipher suites are (actively) being used to establish SSL connections on Windows Server 2008 R2? Ideally on a per request basis, like an extra column in the IIS logs.
user avatar
  • 183
-1 votes
2 answers
3k views

how to sign a binary in Linux? [closed]

I have a Linux device that needs to be able to perform a software update of some binaries that may be coming from an insecure source I'd like to find a way to sign these binaries using a public/...
user avatar
  • 657
5 votes
1 answer
3k views

Is there a way to see which groups/users have access to an RSA key container?

I used aspnet_regiis to create an RSA key container (machine container). I want to secure it and I know I can use the -pa and -pr commands to specify access. But is there a way to see which ...
user avatar
  • 511
8 votes
2 answers
3k views

Https for embedded devices, local addresses

I am trying to add https to the embedded devices I am working on. These devices are generally assigned local ip addresses and so cannot get their own ssl certificates. So essentially my question is ...
user avatar
  • 183
3 votes
1 answer
2k views

Strong Cryptography in Solaris Zone

I'm trying to setup a Kerberos KDC on a Solaris zone but ran into a bit of a problem with the Cryptographic Framework on Solaris 10 even though the packages for strong encryption (SUNWcry & ...
user avatar
  • 2,119
1 vote
2 answers
851 views

virtual machines and cryptography

I suspect I'm a bit offtopic with the site mission, but it seems me more fitting for the question than stackoverflow i'm in preparing to create a vm with sensible data (personal use, it will be a web+...
user avatar
  • 13
9 votes
1 answer
5k views

md5sum returns a different hash value than online hash generators

On suse10 md5sum myname gives md5 hash as 49b0939cb2db9d21b038b7f7d453cd5d. The file myname contains string "ravi" while some of the online md5 hash generators for the same string seem to give a ...
user avatar
  • 91
12 votes
2 answers
11k views

Entropy on virtual machines

As you might know that it's not as easy to generate entropy on a virtual machine as on a "normal" pc. Generating a gpg-key on a virtual machine can take a while, even with the correct tools. There ...
user avatar
  • 403
5 votes
3 answers
352 views

PGP: on the web, what if everything was tampered?

I am trying to wrap my head around how Public Key Cryptography can really work in a secure manner. From what I can gather, you go to example.com and download their PGP/GPG Public Key and add it to ...
user avatar
  • 63
14 votes
4 answers
8k views

Validating signature trust with gpg?

We would like to use gpg signatures to verify some aspects of our system configuration management tools. Additionally, we would like to use a "trust" model where individual sysadmin keys are signed ...
user avatar
  • 40.3k
1 vote
1 answer
1k views

apache2 SSL Diffie Hellman key sizes

How to make apache 2.2 in debian lenny use Diffie Hellman key exchange with keys larger than 1024bits? I found a patch that theoretically adds this ability at Apache bugzilla but can't find any ...
user avatar
  • 6,331
0 votes
1 answer
1k views

Smartcard (USB Cryptostick) and Firefox

I am having a GPF-Cryptostick running on ubuntu 11.04 with firefox 5.0. Using a smartcard is such a great thing, but i did not found any good how-tos. Maybe it is just a lack of understanding. First: ...
user avatar
  • 1,141
8 votes
1 answer
9k views

What kind of algorithm does .htpasswd uses?

I am trying to generate this kind of hashes programmatically: axF3s9cdEnsNP But I can't identify what kind of hash it is. The hash comes from a .htpasswd file. All the online htpasswd generators I ...
user avatar
  • 83
2 votes
2 answers
133 views

ssl communication handshake question

During SSL communication, the server sends its certificate to the client for authentication. Optionally, the client could send its certificate too, for client authentication. My question is, does the ...
user avatar
  • 349