Questions tagged [hash]

The tag has no usage guidance.

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

Nginx Fails To Start After Update To 1.25.4 - could not build optimal server_names_hash, then zero size shared memory zone "one"

I just updated nginx to 1.25.4 on one of my Ubuntu Linux 20.04.6 servers and it is now failing to start. Errors I am getting are as follows: 2024/03/07 12:46:28 [warn] 29836#29836: could not build ...
0 votes
1 answer
115 views

Gitlab - What does "roles@[hash]" in a project means?

What does roles @ hash in a gitlab project means? When clicking on roles it forwards to a role folder. When clicking on the hash it forwards to a branch which name is just the hash. The branch doesn'...
0 votes
2 answers
353 views

PureFTPD 1.0.50 with MariaDB fails to auth, possible reason wrong hash

I am using pure-ftpd with MariaDB to auth users. After upgrade to Debian 12 Bookworm it stopped working. Debian 12 includes new pure-ftpd 1.0.50, which has introduced the following change: Support for ...
0 votes
0 answers
78 views

Nginx: could not build map_hash, you should increase map_hash_bucket_size: 64 even when its set under http (stream module used)

since I can only ask questions here but its more of a solution for other people that have this issues I hope its still fine to be posting here, I didnt know a better place since I don't own a website ...
0 votes
0 answers
296 views

Storing Hashed Passwords for Docker and Docker Compose

What is the best way to store passwords and use them in Dockerfile and docker-compose.yaml. Can I store the secrets in a hashed format and make use of it, So that no one can read my real passwords ...
0 votes
1 answer
74 views

Strange hash lengths in OpenLDAP

I recently went through all the hashes stored in an LDAP instance I have access to and noticed something strange that I can't explain. Despite all the hashes being marked as SSHA (which should be ...
0 votes
2 answers
7k views

Generate SHA256 Hash of a STRING from Windows Command Line

While this is simple to do in the *nix world, I can't come up with a solution for generating a SHA256 hash of a string from the Windows command shell (not PowerShell) without installing a 3rd party ...
1 vote
1 answer
728 views

Malformed BASE64 value in vmail_ssl.map.db

I'm using postfix in Ubuntu 20.04.5 . Here's my vmail_ssl.map file, with domain names redacted: mail.domain.org /etc/letsencrypt/live/mail.domain.org/privkey.pem /etc/letsencrypt/live/mail.domain.org/...
0 votes
1 answer
222 views

PureFtpD to Proftp Password Conversion

I am planning to migrate users from pureftp to proftpd, i need a tool to perform password conversion Mysql password format- MYSQLCrypt md5 pureftp From: 9dd4e461268c8034f5c8564e155c67a6 Proftpd - ...
0 votes
1 answer
2k views

(Zimbra)OpenLDAP SSHA512

So, our employees use the Zimbra OpenLDAP, however, since this doesnt include PosixAccount we cant automatically link it to our Synology. So my boss wanted me to create an OpenLDAP Database, and ...
0 votes
1 answer
543 views

pgcrypto and password hashing

I'm thinking about my choices regarding how to store passwords in Postgres. One such option is to use pgcrypto. Reading their docs, I see that their crypt and gen_salt functions do not use sha256 but ...
3 votes
1 answer
681 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 ...
1 vote
1 answer
2k 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 ...
2 votes
1 answer
3k views

CSP nginx nonce

I have some problems with adding CSP to my site. I configured Content-Security-Policy-Report-Only in my nginx configuration. And i get this. adsbygoogle.js:37 [Report Only] Refused to apply inline ...
0 votes
1 answer
1k views

How to overcome the Weaker MD4 hash issue with samba

We are using samba configuration on our RedHat(RHEL7.9) systems, where SMB authentication is based on a NTLM password hash which basically a clear-text credential for a challenge-response ...
0 votes
1 answer
144 views

How to instruct Postfix to block a specific Hash (to protect against a known IOC attack) of attached files or content?

an attack is ongoing and we want to block at the relay mail level, some Hashes (of attached files or even the email content) to be sent or received. I want to instruct postfix to reject mail with ...
1 vote
0 answers
3k views

Can't change size of types_hash_max_size

Currently I'm trying to setup a nextcloud server with nginx. Now I've the following in my /etc/nginx/sites-available/nextcloud.conf: server { listen 443 ssl; server_name localhost; (...) ...
3 votes
3 answers
635 views

Is checking data integrity with hashes useful for my scenario?

I have a NAS as production system (mostly video footage and project files) and a 1:1 backup. I only need to retrieve the backup data in cases of emergency. Such a case didn't occur yet. Lately I'm ...
0 votes
1 answer
1k views

Compute and update the md5 hash after the fact

So... I just realized that the utility I’ve been using to upload data to azure blobs has only been setting content-md5 hashes for the small files, leaving the larger (more important) files without a ...
1 vote
1 answer
248 views

Which EC2 Instance to hash a large amount of 25gb files

I have an EBS (elastic block storage) on AWS with large amount of 25GB files (1000). I would like to calculate a SHA256 sum for each file. Which EC2 instance would be the best for such task (cpu ...
5 votes
3 answers
177k views

Any way to see an Active Directory password?

Before you jump to conclusions, let me explain. We have a password reset tool that is not working. For some reason when you use it, it resets your password to some unknown value (Not what you changed ...
7 votes
2 answers
4k views

Why do some sites have a TXT record with only a base64 hash code? [closed]

What is the purpose of the TXT record in (for example) the root Microsoft.com zone? I don't see any reasonable tie into SPF, SenderID, DomainKeys, or even TLS-OBC or DANE for TLS. microsoft.com IN ...
0 votes
1 answer
498 views

Unknown directive "hash" for nginx while using with $remote_addr

I have using ip_hash in nginx conf file but found the requests were always redirected to same server address. Found that using $remote_addr should help to resolve this but nginx gives error 2020/05/...
0 votes
1 answer
2k views

multiple sha1 file hashes conversion

Issue Description: I'm trying to comply with our Security Advisories. The advisories contain nearly 1000 MD5 & Sha 256 file hashes. I need to convert them into sha1 and update them in our endpoint ...
0 votes
1 answer
6k views

How to reset Ubiquiti UniFi Controller admin password?

I need to get into a Ubiquiti UniFi Controller system that was setup by one of my predecessors. The admin password has long since been lost and the company now uses a different Wi-Fi system at the ...
1 vote
0 answers
42 views

What hash function is used to cache credentials on Windows 10?

I am looking for the hash function used by Windows to cache user passwords locally on a computer. The client machine would run Windows 10. The AD Controller would run Windows Server 2016.
0 votes
0 answers
65 views

Modify OpenLDAP hashing algorithm [duplicate]

I have a CentOS7 Server running slapd 2.4.44 and I'd like to modify the default hashing algorithm being used. Instead of using SSHA, i'd like to use SHA-256 or SHA-512. I've been having trouble ...
0 votes
1 answer
644 views

Openldap re-hashes already hashed password

I have an openldap with ppolicy on SSHA-512. When clear text password is sent from client, the password will be stored as SSHA-512, fine. My problem appears, once already hashed password is send e.g ...
1 vote
1 answer
1k views

Templated dict keys in ansible YAML

I am trying to use a dict in an Ansible task, which is defined like this: in vars/main.yml file: username: user1 userpass: pass1 users: "{{ username }}": pass: "{{ userpass }}" This doesn't ...
1 vote
1 answer
1k views

haproxy tls hash algorithm

I'm using HAProxy 1.7.5 and openssl 1.1.0f (from Debian 9.5 stabel) to serve TLS connections. Now there are clients offering SHA-384 and SHA-512 based signature algorithms in the client hello message. ...
1 vote
0 answers
36 views

Is there a way to tell what image was used to deploy a machine from Windows Deployment Services?

Is there a way to tell what image was used to deploy a machine from Windows Deployment Services? Is there some sort of a hash that would identify a machine being deployed from a particular image?
10 votes
7 answers
10k views

How does one check huge files identity if hashing is CPU bound?

For small files hashing is just ok, but with huge ones you can easily find md5sum is CPU bound. Is there any hashing algorithm able to scale out on multiple cores? Any workarounds? Ideas? Anything? :)
2 votes
1 answer
10k views

Set already hashed password for user against open ldap

Let me describe the infrastructure I am trying to configure. There is an opne ldap server on centOS (running slapd 2.4.40) as distributed authentication method for a couple of boxes. Is there a way ...
13 votes
3 answers
27k views

Nginx: could not build map_hash, you should increase map_hash_bucket_size: 64

I need to use redirect map with quite a lot rules (2k+ lines, file size is ~200K) I have the following settings in nginx: map $uri $new_uri { include /etc/nginx/conf.d/redirects.map; } ...
2 votes
1 answer
320 views

shasum returns an incorrect result

Calculating SHA256 gives me an incorrect result when I'm using "shasum": $ echo "abcd" | shasum -a 256 fc4b5fd6816f75a7c81fc8eaa9499d6a299bd803397166e8c4cf9280b801d62c - # or $ echo abcd | shasum -...
6 votes
4 answers
2k views

How to generate Amazon Glacier SHA-256 Tree Hash for a file locally?

To verify my files have uploaded correctly, is there a tool to generate the Amazon Glacier Tree Hash SHA-256 for files locally?
1 vote
3 answers
2k views

Can you set the number of rounds that ansible's password_hash jinja2 filter uses?

In ansible, it's pretty convenient to use something like this: - name: Make sure user password is set user: name: my_user password: "{{ user_password|password_hash('sha512', 'SomeSalt') }}"...
0 votes
1 answer
764 views

Linux FTP server which can work with unsalted SHA256 hashes?

Problem Some old WS_FTP server stopped booting at work after a Windows update. The corresponding admin is long gone. The only information I have is : file structure user names unsalted SHA256 hash ...
0 votes
0 answers
668 views

get SHA256 has of certificate chain of my certificate

I got my server certificate mycert.pem by command: cho -n | openssl s_client -connect <my.server.hostname> | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > mycert.pem. I would like ...
1 vote
2 answers
1k views

PBKDF2 (or BCrypt) hash implementation for Apache HTTPD or APR

Does anyone know of (simple) way to use PBKDF2 or BCrypt as a password hash within Apache HTTPD. The general scenario is that I have a resource in /private that I would like to restrict to a given ...
0 votes
1 answer
42 views

compare 2 directories with different files names and locations of the files

I'm currently having 2 (top level) directories with a lot of sub directories and files. There are a lot of duplicate files between those directories but there is one problem with it, the names of the ...
0 votes
1 answer
494 views

sendmail authentication with passwords in SHA512 hash

Is it possible for sendmail to authenticate users from LDAP with passwords stored as SHA512 hash ? If yes, how? Edit: OS is Arch Linux and i want to use only LDAP to authenticate users.
4 votes
3 answers
3k views

How does "your new password must differ at least n characters from the previous" work when only hash codes are stored?

I am wondering how the password policy "your new password must differ at least n characters from your old password" works. My understanding is that the OS never actually stores the old passwords ...
0 votes
2 answers
2k views

Secure link depending only on directory name?

I am currently struggling to make nginx secure just folder name, dependlessly what the file name inside of it is. Let's say, I'm accessing a file in a folder /one/two/three, it would look like this: ...
3 votes
1 answer
8k views

How to use SHA-256 hashed (and salted) passwords from OpenLDAP in pam_ldap?

I have hashed and salted passwords in OpenLDAP for login via PAM in Linux. The setup works when the hashes are of type SHA-1 (salted or unsalted) or plain text. In these cases everything works fine ...
0 votes
1 answer
1k views

Does any varnish using directors.hash() and hash.backend() always choose the same backend?

I have 2 varnish, each of them having 2 backends (same varnish versions -v4.x- and configuration file). Incoming client connections are randomly distributed to any available varnish. I need clients ...
0 votes
1 answer
1k views

Custom algorithm for password hashing with vsftpd

Traditionally, when the client logs in, it sends the credentials (username+pw) without any further processing. The server then checks if an entry exists in its user database that matches the supplied ...
11 votes
3 answers
3k views

Windows 2012 R2 - Search for Files using MD5 Hash?

My organization recently discovered malware that was sent to some users via email that managed to get past our email security in a sophisticated, targeted attack. The names of the files vary from user ...
14 votes
1 answer
1k views

Why isn't MacTripleDes algorithm output in PowerShell stable?

I am checking the file hashes using several different algorithms in powershell. When I use MacTripleDes, I always get different hashes. All of the others, such as SHA256 or MD5 always give reliable ...
0 votes
1 answer
178 views

ansible hash summ of vaiables

Help please, the second day can not solve the problem. I need to add checksum sha1 in file that is created from a template Example: {{ item.some_var1 | hash('sha1') }} - work fine But when I'm trying ...