Questions tagged [verification]
The verification tag has no usage guidance.
44
questions
0
votes
0
answers
16
views
Test driver for developing USB Devices?
I've recently finished up Linux Device Drivers and have had moderate success writing the device (as opposed to host) side code for a dev board. For most applications, indeed almost all applications in ...
1
vote
0
answers
44
views
How to verify CAN interfaces with Linux?
I want to verify the CAN interfaces on my embedded system. It has two can ports: can0 and can1.
I bring them both up with the following sequence:
# ip link set can0 type can bitrate 1000000 dbitrate ...
-1
votes
1
answer
77
views
How to make Linux installation verifiable/auditable?
A major goal of open source is being able to audit/verify the software you run. But the moment we use that software hosted by a third-party we need to trust them..
If I ran an OSS service on a Linux ...
0
votes
2
answers
83
views
How to properly setup a verified mail signature?
I've renewed and imported my old self-generated GPG certificate. After setting the new expiration date I've uploaded my cert using gpg --keyserver pgp.mit.edu --send-keys <key id>
Receiving a ...
0
votes
1
answer
149
views
How can suppress the warning info when to verify apache?
Warning info "This key is not certified with a trusted signature!" when to verify apache :
wget https://downloads.apache.org/accumulo/1.10.2/accumulo-1.10.2-bin.tar.gz
wget https://downloads....
2
votes
1
answer
2k
views
How to verify fstab concisely?
I have been using the following command so far to verify my /etc/fstab:
sudo findmnt --verify
Unfortunately, it spills out warnings for each unreachable disk (which I don't care about) and I have not ...
1
vote
0
answers
427
views
Checksum or validate .tar file contents with directory in shell
Scenario:
Using Linux shell to back up a directory of many sub files and compressing the data with ‘tar -cvpJf filename.tar /savedir/’.
Goal:
Using shell — checksum or validate the newly created ‘.tar’...
2
votes
1
answer
5k
views
How do I verify the certificate of a specific computer when the DNS gives me one of many IP addresses?
I have a cloud setup with 6 front end computers using Apache. I installed a new SSL certificate. Now I want to verify that all the machines have the certificate.
The problem is if I just use https://...
0
votes
0
answers
85
views
How dangerous is it to allow a "sandboxed" program to write anywhere in virtual memory?
This is a question about the interaction between a process and the linux kernel. This is in the context of a formal proof, so the setting may seem a bit weird. Suppose I have a program, loaded from an ...
1
vote
1
answer
908
views
Verify password of current user, even when it’s root
Is there a simple command to verify the password of the current user? The command
$ su -c true $(id -nu)
suffices for non-root users. However a root user doesn’t need to verify his identity when ...
0
votes
0
answers
576
views
How can I validate the integrity of a torrent retrieved through DHT?
I've just downloaded a dataset made available through BitTorrent and (at length) transferred it to my home PC.
Now I want to validate that nothing's been corrupted along the way.
Unfortunately, the ...
-1
votes
1
answer
99
views
SATA drive validation
I am trying to validate a drive that supports secure erase in multiple formats. The format is specified in a vendor specific ATA-8 packet. Our technician has solved the issue quite ingeniously by ...
0
votes
2
answers
140
views
Copying files, verifying and then zipping with a shell script
I am looking to create a script - a linux or a python scrip so that it can create the following things for me as well as Verify the files for me which are copied from a folder.
I Have two folders:
...
0
votes
1
answer
2k
views
How to import pgp keys from a search on an keyserver using curl?
Is there a standard method for searching and importing a pgp key using curl or wget?
I was going through verifying the download with a gpg signed shasum256 file and encountered the problem of trying ...
1
vote
1
answer
372
views
PureOS verification of download
PureOS has SHA256 verification of download, but I've heard that SHA isn't so secure. Do they sign their files or provide associated .sig files? And is it true that that would be more secure?
1
vote
1
answer
260
views
Verification of packages in a local mirror
Packages for several BSD and Linux operating systems / distributions are downloaded over a potentially insecure connecting or are later on replaced with a malicious version on the local disk.
The ...
1
vote
1
answer
2k
views
What happened to elfsign and elfverify?
In "Uninformed Research -- informative information for the uninformed." 2003 mentions a tool called elfsign and elfverify. This is a tool to checksum and sign an ELF binary.
I can't find that tool in ...
2
votes
0
answers
2k
views
How do I verify linux kernel signature with gpg?
Following the notes at the kernel.org site, but I cannot seem to verify the signature of the kernel. I tried to use the given script to handle it for me, but that has failed too.
user@localhost ~ $ ...
1
vote
2
answers
500
views
How do I verify https://files.devuan.org/devuan-devs.gpg
I am running Devuan Jessie. I want to install another Devuan Ascii from scratch. So I downloaded:
https://files.devuan.org/devuan_ascii/installer-iso/devuan_ascii_2.0.0_amd64_netinst.iso
https://...
0
votes
2
answers
74
views
One line read verification [closed]
I have this read operation:
read -p "Please enter your name:" username
How could I verify the users name, in one line?
If it's not possible in a sane way in one line, maybe a Bash function putted ...
-2
votes
1
answer
375
views
How to check email mailbox in min time?
I am trying to verify emails which is over 70 lac.
I am using the this script
But it is taking approx 2-3 min for one email. Since I try other code, but all are using the same method. So I am ...
0
votes
3
answers
1k
views
Is there a `cp` like command for verifying data and removing files?
I have some photo files on my phone, and I am backing them up to an external drive. (Everything is mounted on a linux laptop.)
I have copied the files, when I should really have mv'ed them.
However, ...
4
votes
2
answers
7k
views
How to checksum a CD/DVD? (to verify integrity of my Debian installation)
So I'd like to checksum my Debian 9.0 installation DVD to be able to compare it to the respective .iso file's hashes and the published hashes to be able to verify my installation's integrity.
I ...
22
votes
5
answers
14k
views
Does dd do any kind of verification?
I'm using dd to copy data from an old hard drive to a new one. I want to be sure that the data's integrity is secure.
On this answer, Gilles says
If [dd] terminated successfully, then the backup ...
1
vote
2
answers
3k
views
Will apt-get dist-upgrade -y confirm updates with verification issues?
I would like to have chron run my updates periodically and I have been told that the command: apt-get dist-upgrade -y should accept the updates. My concern is that numerous times when manually ...
4
votes
0
answers
2k
views
Should [email protected] be a valid email address?
Our postfix setup uses recipient address verification. Obviously, postfix uses a special email address for this process, defined right here.
$ /usr/sbin/postconf | grep double_bounce_sender
...
3
votes
2
answers
4k
views
Stunnel: How to ignore the cert expiry date
I would like to setup stunnel but the certificate from my other tunnel is expired. How would I tell stunnel to ignore verification of expiry date of the certificate coming from stunnel client mode to ...
14
votes
3
answers
15k
views
How to check if a video is completely downloaded?
I have a bunch of videos which I want to check if they are complete or not. Some of them may be downloaded partially, but they are not faulty. How can I efficiently check if these video are completely ...
4
votes
1
answer
101
views
LXC: Are downloaded templates verified?
Debian 8.3,
LXC 1:1.0.6-6+deb8u2
When LXC downloads the base packages for a Debian container, are the packages verified? Verifying a Debian CD involves comparing signed checksum files against the ...
3
votes
1
answer
3k
views
How to verify debian cds with gpg?
I have downloaded Debian installation iso from http://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/. I have also downloaded the MD5SUMS and MD5SUMS.sign .
I verified the md5sum of iso matches ...
2
votes
1
answer
407
views
Re-setting perms on RPM's does not seem to work
I am using RPM for file verification. What I do is run
rpm -Va
to get a list of files that have been changed. Then I run
rpm -qf
to get the package name the file belongs to. Finally I run
rpm -...
3
votes
1
answer
1k
views
Generate SFV file, optimizing hard links
I'm currently running cfv -C -rr to generate a SFV file that contains the CRC32 checksums of all files in all subdirectories. The issue is that because there are so many hardlinks, this process is ...
1
vote
2
answers
4k
views
Host key verification failed.#015
I am trying to execute a script on a remote computer. Lets call this (Secondary), the script is as follows, for simplicity porposes,
#!/bin/bash
echo "This is the Remote Machine (Secondary)" > /...
1
vote
0
answers
4k
views
How to compare file sizes in two directories?
I have copied some files to an SFTP-only server.
I want to verify that all the files arrived intact. Since the server is SFTP-only, I cannot run e.g., an MD5sum on the remote host.
I have the server ...
2
votes
1
answer
501
views
apt-get update: How to check for GPG errors when using scripts?
When running.
sudo apt-get update
For example something like this could happen.
W: GPG error: http://deb.torproject.org wheezy Release: The following signatures were invalid: KEYEXPIRED 1409325681 ...
3
votes
2
answers
330
views
Identify lines that are out of order
I have a process that generates output mostly in lexicographically sorted order according to a (timestamp) field, but occasionally the lines will be output in the wrong order:
2014-08-14 15:42:02....
2
votes
1
answer
1k
views
How to verify a file automatically over sftp?
I am trying to create a cron job to perform backup of a server over the internet using sftp. But before the actual backup is performed, I would like to verify that the server is connecting to the ...
1
vote
2
answers
3k
views
Extract TAR to SD-Card and verify contents afterwards
We currently extract a TAR archive to a SD-Card like this
tar xf ${ROOT}/rootfs.tar -C /cynox/${DRIVE}/${TARGET}
As a side note: The rootfs.tar contains files for an embedded Linux system. Some of ...
1
vote
1
answer
3k
views
postfix configuration to verify all recipients
I have a mail server that should receive all mails, even if no user exists.
My big problem is the: Postfix Address Verification like mentioned here: http://www.postfix.org/ADDRESS_VERIFICATION_README....
4
votes
1
answer
754
views
How to figure out GRUB2's menu output
I have just updated a remote machine which is running Ubuntu Server 12.04. I have only access through SSH and now it's asking for a reboot. I'm guessing a new kernel was installed. I need to make it ...
0
votes
1
answer
155
views
Cent OS 6.3 Hidden files in shell
I want to be able to check whether a file is hidden or not in Cent OS 6.3. These are often referred to as (dot) files but I can clearly see Cent OS 6.3 handling these by appending a ~(tilde) to the ...
103
votes
7
answers
119k
views
Does rsync verify files copied between two local drives?
I want to make a fresh new copy of a large number of files from one local drive to another.
I've read that rsync does a checksum comparison of files when sending them to a remote machine over a ...
13
votes
5
answers
13k
views
Is there MD5 (or similar) to a folder? How to verify if two folders are equal?
I'd like to find an md5sum (or similar calculation) of a folder without compressing it into an archive.
For example, if in the folder MyFolder we have the files 1.txt, 2.txt and 3.txt, containing:
1....
1
vote
3
answers
265
views
Tool to remove all non-package files on a system
If you want to keep for example a build or server system clean, it is very useful to be able to check that all files are present and accounted for by the package metadata. At work we have a very nice ...