search for: sha512sum

Displaying 20 results from an estimated 42 matches for "sha512sum".

2008 Mar 11
3
Automatically send CTRL-D
Hi, Sorry for the little bit off-topic. I have a script that has to performe a hash over a password. Problem is that sha512sum expects CTRL-D to be pressed to return to the command prompt. I've searched all over Google, but either I didn't do the right search or there is nothing relevant about this. Bottom line is that I need this command to print the password hash and returns to the shell automatically: $ sha51...
2017 Feb 07
1
Re: [PATCH v2 1/7] mllib: factorize code to add Checksum.get_checksum function
...-let verify_checksum csum ?tar filename = > - let prog, csum_ref = > +let do_compute_checksum csum ?tar filename = > + let prog = > match csum with > - | SHA1 c -> "sha1sum", c > - | SHA256 c -> "sha256sum", c > - | SHA512 c -> "sha512sum", c > + | SHA1 _ -> "sha1sum" > + | SHA256 _ -> "sha256sum" > + | SHA512 _ -> "sha512sum" > in > - > let cmd = > match tar with > | None -> > @@ -66,9 +65,17 @@ let verify_checksum csum ?tar filename...
2017 Feb 07
0
[PATCH v2 1/7] mllib: factorize code to add Checksum.get_checksum function
...| _ -> invalid_arg csum_type -let verify_checksum csum ?tar filename = - let prog, csum_ref = +let do_compute_checksum csum ?tar filename = + let prog = match csum with - | SHA1 c -> "sha1sum", c - | SHA256 c -> "sha256sum", c - | SHA512 c -> "sha512sum", c + | SHA1 _ -> "sha1sum" + | SHA256 _ -> "sha256sum" + | SHA512 _ -> "sha512sum" in - let cmd = match tar with | None -> @@ -66,9 +65,17 @@ let verify_checksum csum ?tar filename = | [] -> error (f_"%s did no...
2017 Feb 10
0
[PATCH v3 01/10] mllib: factorize code to add Checksum.get_checksum function
...m_value = | "sha512" -> SHA512 csum_value | _ -> invalid_arg csum_type -let verify_checksum csum ?tar filename = - let prog, csum_ref = - match csum with - | SHA1 c -> "sha1sum", c - | SHA256 c -> "sha256sum", c - | SHA512 c -> "sha512sum", c +let compute_checksum csum_type ?tar filename = + let prog = + match csum_type with + | "sha1" -> "sha1sum" + | "sha256" -> "sha256sum" + | "sha512" -> "sha512sum" + | _ -> error (f_"unhandled chec...
2012 Sep 03
1
[PATCH] daemon: provide list of checksum commands
...XT_CMD(str_xargs, xargs); +GUESTFSD_EXT_CMD(str_cksum, cksum); +GUESTFSD_EXT_CMD(str_md5sum, md5sum); +GUESTFSD_EXT_CMD(str_sha1sum, sha1sum); +GUESTFSD_EXT_CMD(str_sha224sum, sha224sum); +GUESTFSD_EXT_CMD(str_sha256sum, sha256sum); +GUESTFSD_EXT_CMD(str_sha384sum, sha384sum); +GUESTFSD_EXT_CMD(str_sha512sum, sha512sum); static const char * program_of_csum (const char *csumtype) { if (STRCASEEQ (csumtype, "crc")) - return "cksum"; + return str_cksum; else if (STRCASEEQ (csumtype, "md5")) - return "md5sum"; + return str_md5sum; else if (S...
2015 Jul 28
0
[PATCH 02/10] builder: create and use a new Checksums module
...Utils + +open Printf + +type csum_t = +| SHA512 of string + +let string_of_csum_t = function + | SHA512 _ -> "sha512" + +let string_of_csum = function + | SHA512 c -> c + +let verify_checksum csum filename = + let prog, csum_ref = + match csum with + | SHA512 c -> "sha512sum", c + in + + let cmd = sprintf "%s %s" prog (quote filename) in + if verbose () then printf "%s\n%!" cmd; + let lines = external_command cmd in + match lines with + | [] -> + error (f_"%s did not return any output") prog + | line :: _ -> + let c...
2006 Dec 08
2
1 file of 16000 always being updated
Hi all! I'm trying rsync synchronizing some directories with about 16.000 files. After the first synchronization, the others are transfering just the changed files, as it is expected to be, except for 1 single file, that is not changed (size or time) and is being transfered in all synchronization. The file is called JSPWiki.war, and is a java war file. I checked the size and times on both
2010 Dec 17
15
Centos 5.5 - Kernel Panic while booting.
Dear centos community, I was in the process of loading the latest 5.5 release of centos in a VMWARE ESX 4.1 host as my first virtual machine, suddenly while booting I got a panic error with the following on screen. Can someone point me in the right direction. This machine has 24 cores and I allocated 1 for Centos to use with 1024MB of memory. Any clues or workaround to solve this problem? Thank
2016 Sep 30
6
[PATCH 0/4] Consolidate Checksums as common code
Hi, this small series moves the OCaml Checksums module from virt-builder to mllib, adding more features to use it also for v2v. Thanks, Pino Toscano (4): mllib: move Checksums from builder mllib, builder: add and use Checksums.of_string mllib: add SHA1 support in Checksums v2v: -i ova: use Checksums builder/Makefile.am | 2 -- builder/builder.ml | 6 +++-
2018 Mar 08
1
Fwd: Re: [Gluster-Maintainers] [gluster-packaging] glusterfs-4.0.0 released
...ntainers <maintainers at gluster.org>, packaging at gluster.org On 03/06/2018 10:25 AM, jenkins at build.gluster.org wrote: > SRC: https://build.gluster.org/job/release-new/45/artifact/glusterfs-4.0.0.tar.gz > HASH: https://build.gluster.org/job/release-new/45/artifact/glusterfs-4.0.0.sha512sum > > This release is made off jenkins-release-45 > Status update: I've made some progress on Debian packaging of glusterd2. Debian golang packaging using dh-make-golang is strongly biased toward downloading the $HEAD from github and building from that. I haven't been able to fin...
2010 Dec 17
4
using rsync to keep squeeze amd64 image freshened.
Hi all, ? ? ? I tried to get my query of how to use rsync by the mailing list debian-user at lists.debian.org but the answers were not satisfactory. You can see the whole thread starting from http://lists.debian.org/debian-user/2010/12/msg00651.html What I want to do is to keep the weekly amd64 squeeze build , from t its
2016 Sep 30
0
[PATCH 1/4] mllib: move Checksums from builder
...-> "sha256" - | SHA512 _ -> "sha512" - -let string_of_csum = function - | SHA256 c -> c - | SHA512 c -> c - -let verify_checksum csum filename = - let prog, csum_ref = - match csum with - | SHA256 c -> "sha256sum", c - | SHA512 c -> "sha512sum", c - in - - let cmd = sprintf "%s %s" prog (quote filename) in - let lines = external_command cmd in - match lines with - | [] -> - error (f_"%s did not return any output") prog - | line :: _ -> - let csum_actual = fst (String.split " " line) in...
2011 Sep 06
1
Inconsistent md5sum of replicated file
I was wondering if anyone would be able to shed some light on how a file could end up with inconsistent md5sums on Gluster backend storage. Our configuration is running on Gluster v3.1.5 in a distribute-replicate setup consisting of 8 bricks. Our OS is Red Hat 5.6 x86_64. Backend storage is an ext3 RAID 5. The 8 bricks are in RR DNS and are mounted for reading/writing via NFS automounts.
2015 Jul 28
0
[PATCH 03/10] builder: add SHA256 support in Checksums
...-> "sha256" | SHA512 _ -> "sha512" let string_of_csum = function + | SHA256 c -> c | SHA512 c -> c let verify_checksum csum filename = let prog, csum_ref = match csum with + | SHA256 c -> "sha256sum", c | SHA512 c -> "sha512sum", c in diff --git a/builder/checksums.mli b/builder/checksums.mli index 6833879..4dc9dc0 100644 --- a/builder/checksums.mli +++ b/builder/checksums.mli @@ -17,6 +17,7 @@ *) type csum_t = +| SHA256 of string | SHA512 of string val verify_checksum : csum_t -> string -> unit -...
2016 Nov 04
0
[PATCH 1/5] mllib: compute checksum of file inside tar
..._ -> invalid_arg csum_type -let verify_checksum csum filename = +let verify_checksum csum ?(tar = "") filename = let prog, csum_ref = match csum with | SHA1 c -> "sha1sum", c @@ -53,7 +53,13 @@ let verify_checksum csum filename = | SHA512 c -> "sha512sum", c in - let cmd = sprintf "%s %s" prog (Filename.quote filename) in + let cmd = + if tar = "" then + sprintf "%s %s" prog (Filename.quote filename) + else + sprintf "tar xOf %s %s | %s" + (Filename.quote tar) (Filename.quot...
2016 Nov 12
0
[PATCH v2 1/5] mllib: compute checksum of file inside tar
...csum_value | _ -> invalid_arg csum_type -let verify_checksum csum filename = +let verify_checksum csum ?(tar) filename = let prog, csum_ref = match csum with | SHA1 c -> "sha1sum", c @@ -53,7 +53,14 @@ let verify_checksum csum filename = | SHA512 c -> "sha512sum", c in - let cmd = sprintf "%s %s" prog (Filename.quote filename) in + let cmd = + match tar with + | None -> + sprintf "%s %s" prog (Filename.quote filename) + | Some tar -> + sprintf "tar xOf %s %s | %s" + (Filename.quote t...
2016 Dec 07
0
[PATCH v3 1/6] mllib: compute checksum of file inside tar
...2 csum_value | _ -> invalid_arg csum_type -let verify_checksum csum filename = +let verify_checksum csum ?tar filename = let prog, csum_ref = match csum with | SHA1 c -> "sha1sum", c @@ -53,7 +53,14 @@ let verify_checksum csum filename = | SHA512 c -> "sha512sum", c in - let cmd = sprintf "%s %s" prog (Filename.quote filename) in + let cmd = + match tar with + | None -> + sprintf "%s %s" prog (Filename.quote filename) + | Some tar -> + sprintf "tar xOf %s %s | %s" + (Filename.quote t...
2017 Jan 03
0
[PATCH 2/5] mllib: factorize code to add Checksum.get_checksum function
...e csum_value = | "sha512" -> SHA512 csum_value | _ -> invalid_arg csum_type -let verify_checksum csum filename = - let prog, csum_ref = - match csum with - | SHA1 c -> "sha1sum", c - | SHA256 c -> "sha256sum", c - | SHA512 c -> "sha512sum", c - in - +let get_checksum csum filename = + let prog = (string_of_csum_t csum) ^ "sum" in let cmd = sprintf "%s %s" prog (Filename.quote filename) in let lines = external_command cmd in match lines with | [] -> error (f_"%s did not return any o...
2023 Jul 07
1
Asterisk Release 20.3.1
Le 07/07/2023 à 12:49, Joshua C. Colp a écrit : > On Fri, Jul 7, 2023 at 6:40 PM Jean-Denis Girard <jd.girard at sysnux.pf > <mailto:jd.girard at sysnux.pf>> wrote: > > There seems to be a problem with the tar.gz archive on github. It's > correct on downloads.asterisk.org <http://downloads.asterisk.org>. > > > Can you be more specific?
2015 Jul 28
19
[PATCH 00/10] RFC: builder: first support for Simple Streams metadata
Hi, this series adds a basic support for Simple Streams v1.0 metadata files. This makes it possible to create a repository .conf files with [cirros] uri=http://download.cirros-cloud.net format=simplestreams to read the latest version of each CirrOS image. TODO items: - a bit more testing: listing and creating images works, so the current metadata is correct - handle revisions, so newer