Questions tagged [hash]

Questions related to hashes, hash values or hash codes that are returned by hash functions such as MD5, SHA-1 and SHA-256 and provide a simple way to check the integrity of a download.

Filter by
Sorted by
Tagged with
0 votes
1 answer
185 views

How does Ubuntu's install CD file integrity self-check work (checksum, corrupt, digest)

How does the Ubuntu Install disk verify its own integrity after boot and before install? I'm very familiar with the process to do a manual check of the integrity of a Linux distro's .iso file with a ...
user avatar
0 votes
2 answers
108 views

need help MD5sum hash

Guys I have a question I have a txt file full of names and I want to hash to md5sum for all the names in the txt at once with one by command Can you help with that and thanks in advance. Thank you ...
user avatar
0 votes
1 answer
36 views

In Thunar, how are bookmarked folders hashed to create the accelerator shortcut in accels.scm?

Thunar's accels.scm file contains hashed values for each of my bookmarked folders. For instance, let's say I have the following folder bookmarked: /home/<username>/Personal/ If I open up the ...
user avatar
-5 votes
1 answer
42 views

Index of /ubuntu/dists/focal-updates/main/cnf

how do i get the old version of ubuntu focal-updates main cnf file on 12 January, 2022 as the size and hash-256 varies.? I need to get the exact hash 256 key and file size and not latest show in ...
user avatar
1 vote
1 answer
111 views

Progress bar / Loading icon whilst creating an MD5 hash for a USB

I'm trying to create a progress bar or some sort of loading icon to show that a hash is being created, instead of a blank screen with nothing happening... This is what I have so far: if [[ $hashing != ...
user avatar
0 votes
1 answer
163 views

How do I echo a string to a file and call a function to hash it in the same function?

I'm trying to create a function where I pass in 2 variables. First a string to be hashed, and then a variable to specify the kind of hash, md5 or sha1. This is the function I created: hashedWord () { ...
user avatar
1 vote
2 answers
7k views

Hcxpcap tool missing?

I have Ubuntu 20.04 installed on my laptop. I was using hcxdumptool to capture pmkids. After i captured them. I wanted to filter the output using hcxpcaptool, but i found that "Command Not Found &...
user avatar
0 votes
1 answer
777 views

Find hash of apt-get package already installed

i have already install package using apt-get install. I want to know the hash MD5 so that i can make sure it is the same software exactly in other laptops i install. What command will show me the hash ...
user avatar
0 votes
1 answer
2k views

Apt-get update fails after installing Ubuntu 20.04 [duplicate]

I just installed Ubuntu 20.04 on a laptop previously running Ubuntu 19.04. The complete "Erase disk and install Ubuntu" option was used and the installation medium was a USB stick. The first ...
user avatar
  • 31
0 votes
1 answer
745 views

Change hash method

Good morning, everyone, Do you know if it is possible to change the password hash method? Instead of DES, MD5, SHA256, SHA512 or other, I would like to be able to use bcrypt or argon2 for example. ...
user avatar
3 votes
2 answers
436 views

Store sha256 hashes into relatives files

I would like to generate sha256 hash for each log file in a folder and store that hash in a file named by the original file name suffixed with ".sha265" int he same folder. For example, I ...
user avatar
  • 33
2 votes
1 answer
1k views

Ubuntu Hash Sum Incorrect [duplicate]

I tried to install: Ubuntu 20.04 Xubuntu 20.04 Kubuntu 20.04 But, post install on execute sudo apt-get update, I received the message "Hash Sum mismatch" What is the problem? I tried: apt ...
user avatar
1 vote
0 answers
736 views

How to bypass Hash Sum check for apt-get update

I have ubuntu 16.04 based vms and dockers using mssqlserver driver 17. Installed the classic way curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - curl https://packages....
user avatar
0 votes
1 answer
1k views

How to find a file from the hash?

How do I find the file from given Hash value in Linux? Please note that I don't want to find the hash value of a file, I need the opposite of that.
user avatar
2 votes
0 answers
178 views

verifying ubuntu hashes for 19.10

I'm behind a proxy, and dirmngr doesn't seem to honour the http_proxy rules. So i'm doing these steps download sha256sums.gpg and sha256sums from ubuntuhashes gpg --verify sha256sums.gpg sha256sums ...
user avatar
0 votes
1 answer
2k views

How to use hashed passwords with netplan (for wpa2 enterprise) instead of plain text passwords?

I have a question concerning this post How do you configure Netplan on Ubuntu to store 802.1x credentials securely? Because I am a nooby, I don't have the reputation to comment on posts and creating ...
user avatar
  • 3
0 votes
1 answer
139 views

Checksums aren't martching for kubuntu

I have downloaded kubuntu 18.04.2 from here. I verified ISO by sha256 checksums, surprisingly they are different. The sha256sum for ISO: ...
user avatar
0 votes
3 answers
2k views

change many file names to hash (sha256)?

I have a bunch of video files where all the file names are un-useful gibberish. 1) Is there an easy command to change the names of all the files in a folder to a hash, like (sha256).mp4? I don't want ...
user avatar
0 votes
0 answers
111 views

hashed password of encrupted pdf

I try to understand the meaning/name of individual strings which are separated by '*' in the following pdf hash.txt , but I can't get any description,,,Is there anybody to help please!? MyPDF.pdf:$...
user avatar
  • 1
0 votes
1 answer
224 views

hash doesn't show me a list of Bash commands

I read in the O'reilly Bash book (third edition, 2005) what I understood as that if I'll execute hash I'll see a "hash table" with a list of all possible Bash commands plus all commands common to most ...
user avatar
0 votes
0 answers
116 views

Migrating servers

For my sins I am assisting a friend in migrating from a 10 year old SuSE mail server to one running Ubuntu-18.04. One of the things I need to do is migrate over about a dozen or so users--several of ...
user avatar
  • 101
0 votes
0 answers
57 views

Where is the authoritative location for new Ubuntu releases? [duplicate]

An AWS droplet running Ubuntu is now reporting itself as Ubuntu 16.04.5 LTS but I find no reference to this version on ubuntu.com. The latest version is showing as 16.04.4 (http://releases.ubuntu....
user avatar
1 vote
2 answers
9k views

Hash Sum mismatch error when trying to upgrade [duplicate]

I am getting this error when trying to upgrade: E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.157.15_all.deb Hash Sum mismatch To check what is ...
user avatar
  • 11
4 votes
2 answers
15k views

Error CL_PLATFORM_NOT_FOUND_KHR in running HashCat 4.0.1

I've downloaded HashCat 4.0.1 form its official website. Running it show following error: root@mstehr:~/hashcat-4.0.1# ./hashcat64.bin -I hashcat (v4.0.1) starting... clGetPlatformIDs(): ...
user avatar
  • 43
0 votes
2 answers
2k views

Acceptable Hashes by shadow

What hash algorithms does /etc/shadow accept? I've tried generating password hashes from PHP, using password_hash("password1234", PASSWORD_DEFAULT);, but that doesn't seem to work when I try to ...
user avatar
  • 39
2 votes
1 answer
1k views

What packages in Ubuntu repositories provide BLAKE2 sums on 16.04?

I am looking to calculate BLAKE2 hashes for files on my Ubuntu 16.04 machine. I would like something similar to md5sum or sha512sum for BLAKE2, however have not found a package in the Ubuntu ...
user avatar
  • 133
4 votes
1 answer
5k views

How can I verify Lubuntu ISOs? [duplicate]

I want to download and verify the ISO of lubuntu. The problem is I can't find a secure channel in the first place. The official ISO here is being downloaded with http (not https). Of course I can ...
user avatar
  • 143
0 votes
1 answer
659 views

hashdeep with sha1 and sha1sum create different results

I computed a sha1 hash of the file '/etc/mtab' with hashdeep on Ubuntu 16.04. Then I computed a sha1 hash of the same file with sha1sum. And I got a different hash! When computing hashes for other ...
user avatar
  • 3
4 votes
1 answer
17k views

Ubuntu 16.04 LTS Failed to fetch / Hash Sum mismatch [duplicate]

Here's what I keep getting when I sudo apt update Hit:1 http://archive.canonical.com/ubuntu xenial InRelease Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease Get:3 http:...
user avatar
1 vote
1 answer
209 views

Changing between keymappings leading to defective keys - custom mappings a solution?

Original title: Losing the # key after swapping between keymappings When I swap between to key-mappings, I seem to lose the functionality of several keys. This seems to affect the hash symbol (...
user avatar
  • 283
4 votes
1 answer
4k views

How to increase the number of hashing rounds for /etc/shadow?

I usually use long passwords for my machines, but I heard that it's possible to increase the number of hashing rounds and get the same security with a shorter one. How would I make my system use more ...
user avatar
  • 529
7 votes
3 answers
764 views

How to protect from CIA #Vault7-like attacks into Linux from Windows

Linux is compiled from open-source and thousands of developers would spot any malicious source code. However many Linux users dual boot Windows and malware / spyware / "spook"ware (CIA) software could ...
user avatar
5 votes
3 answers
23k views

authconfig: command not found ubuntu

I'm trying to use hashcat to validate a hashing algorithm but keeping this error when using authconfig command. error: authconfig: command not found ubuntu Am I missing something? I haven't ...
user avatar
18 votes
1 answer
32k views

"hash sum mismatch" error when doing update [duplicate]

I have just installed 16.04 LTS. However, I cannot update. $ sudo apt-get update Fetched 34,3 MB in 1h 51min 52s (5.110 B/s) Reading package lists... Done E: ...
user avatar
  • 213
1 vote
1 answer
210 views

Why are there no gpg signed hashes for the mini.iso

None of the gpg-signed files I've found containing hashes for various ubuntu iso files contain a hash for the mini.iso files. The only hashes for the mini.iso files I've found are plain md5sums on the ...
user avatar
4 votes
1 answer
4k views

How do I generate a 'Hash-Code' for a document or photograph?

I want to generate a 'Hash-Code' for a document and a photograph. How do I do this please?
user avatar
1 vote
1 answer
520 views

How are password hashes compared?

I was doing an exercise today, which includes creating a new user by manually editing /etc/group ; /etc/shadow ; /etc/passwd Now, referring to /etc/shadow, I had to create password hashes. I used ...
user avatar
  • 113
2 votes
1 answer
428 views

Ubuntu partitioning and hashing

I need to split up Ubuntu in two partitions: one partition that contains all the files that do not change over time, for instance because of changes in the date/time and logins, and another partition ...
user avatar
  • 125
1 vote
1 answer
2k views

How do I update shadow file password hashes after changing the encryption method?

I had gone through with this link. Suppose my current-encr is SHA-512, SHA-256, or another, the password hash would be stored (in /etc/shadow) of the user based on the current encr and would use ...
user avatar
1 vote
1 answer
92 views

Where can I locate legacy hashes for older minor releases? [closed]

I need md5sum or sha1sum hashes for version Ubuntu 14.04.3 Can someone please help me locate them?
user avatar
0 votes
1 answer
349 views

Steam hash sum mismatch and invalid file format errors

I have Steam Beta installed, and when I just ran: sudo apt-get update I got the following output: Ign http://security.ubuntu.com vivid-security InRelease Ign http://gb.archive.ubuntu.com vivid ...
user avatar
2 votes
2 answers
3k views

Why hash file are always different in openssl aes-256-cbc output files?

I tried to encrypt file using this command: openssl enc -aes-256-cbc -in $infile -out $outfile -pass file:$keyfile For the same input file, Why the output files has different hashes.
user avatar
  • 143
1 vote
1 answer
94 views

How to file a bug report against Ubuntu in general?

I am wanting to file a bug report against Ubuntu in general, because I have noticed that the Ubuntu security hashes provided, are only MD5sums, and as for security reasons MD5 is being phased out, it ...
user avatar
2 votes
1 answer
757 views

Nautilus script to compare hash values of two files

Sometimes I need to check if two files are identical. I attempted to make a bash script to achieve that but I can not make my head around it. I found below script on the net, I placed it in Nautilus ...
user avatar
  • 4,874
3 votes
1 answer
93 views

How to search for files through hashsums

I search for files often in my files system by either using the tree command and grep, or the find command, but recently I downloaded some content from a site, but forgot where I saved it, now I know ...
user avatar
10 votes
2 answers
2k views

How to generate randomart of anyfile?

We all know the ASCII randomart generated by ssh-keygen when creating or validating ssh public keys. We also know you can generate hashes of any file with sha1sum or md5sum. But, is it possible to ...
user avatar
1 vote
1 answer
4k views

Differences between md5pass and md5sum

This question may be insane ,but due to definition of hash algorithms, hash algorithms are some kind of functions that accept variable length input and make it encrypted and the output always has a ...
user avatar
0 votes
1 answer
782 views

ubuntu MD5SUM hash doesnt match, now how to repair the iso image?

I have checked MD5SUM hash for the downloaded Ubuntu desktop 14.04 and it didn't match. I have downloaded the file from official website without using any client like utorrent etc. How can I repair ...
user avatar
-1 votes
2 answers
459 views

ubuntu-14.10-desktop-amd64.iso might be broken or hash wrong [closed]

I downloaded the file ubuntu-14.10-desktop-amd64.iso three times and i got always the md5-hash f58827df4b80befc7f1e5cf3816d6d36. https://help.ubuntu.com/community/UbuntuHashes says the md5-hash is ...
user avatar
  • 1
0 votes
1 answer
518 views

MD5 of official Ubuntu downloads NEVER match

I have tried to download the 14.04.1 and 14.04 versions of Ubuntu serveral times from different mirrors on different PCs/Laptops using Firefox to download from the site and BitTorrent to download via ...
user avatar
  • 109