Provided by: munge_0.5.8-7_i386
unmunge - MUNGE credential decoder
The unmunge program validates a MUNGE credential (e.g., one created by
the munge program).
By default, the credential is read from stdin and the metadata &
payload are written to stdout. When the metadata and payload are
written to the same stream, they are separated by a blank line.
Display a summary of the command-line options.
Display license information.
Display version information.
-i, --input file
Input the credential from the specified file.
Discard all output.
-m, --metadata file
Output metadata to the specified file.
-o, --output file
Output the payload to the specified file.
-k, --keys string
Specify a subset of metadata keys to output. The keys are case-
insensitive and delimited by whitespace, commas, semicolons, or
periods -- as long as the string is treated as a single argument
by the shell (e.g., enclosed by quotes). If a subset is not
specified, all available keys are selected by default.
Display a list of metadata keys.
-S, --socket string
Specify the local domain socket for connecting with munged.
The following metadata keys are supported.
STATUS The status of the credential decode operation.
The address of the host on which the credential was encoded.
The time at which the credential was encoded (according to the
clock of the host that encoded it).
The time at which the credential was decoded (according to the
TTL The time-to-live value (in seconds) placed within the
CIPHER The cipher type used to encode the credential.
MAC The MAC type used to encode the credential.
ZIP The compression type used to encode the credential.
UID The user ID of the process that encoded the credential.
GID The group ID of the process that encoded the credential.
The user ID restriction placed within the credential.
The group ID restriction placed within the credential.
LENGTH The length (in bytes) of the payload.
The unmunge program returns an exit code corresponding to the return
code of munge_decode(3). On success, it returns a zero exit code which
signifies the credential is valid. On error, it prints an error
message to stderr and returns a non-zero exit code.
Chris Dunlap <firstname.lastname@example.org>
Copyright (C) 2002-2007 The Regents of the University of California.
Produced at Lawrence Livermore National Laboratory. UCRL-CODE-155910.
MUNGE is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
munge(1), remunge(1), munge(3), munge_ctx(3), munge_enum(3), munge(7),