joerg
c0597ae815
RETURN VALUES -> EXIT STATUS
2010-05-14 17:27:35 +00:00
joerg
db8ff3b4ab
Fix .Dd format.
2010-05-14 01:46:04 +00:00
joerg
5289091371
Fix date. Fix trailing whitespace.
2010-05-14 01:44:05 +00:00
jnemeth
ee8753142e
Fix tunnelling (ssh -w). The kernel expects a device to be passed
...
to the socked, not a path.
2010-05-10 20:28:05 +00:00
agc
5111f71337
if the home directory does not exist, still set its value as a netpgp
...
variable, as the netpgpkeys(1) program, for one, will try to create the
home directory if it does not exist.
should fix PR 42435
2010-05-08 04:17:45 +00:00
agc
763a92f619
create the home directory, if it doesn't exist, in a slightly less opaque manner
2010-05-08 04:16:20 +00:00
agc
313fa53dd5
use the correct filed type for a size_t
2010-05-08 02:54:25 +00:00
agc
5c29ffdc5b
regen for netpgp 3.99.2, 20100507 version
2010-05-08 02:45:45 +00:00
agc
3c1d4d3626
enumerate all the tests to see easily which ones failed.
...
add a test for signed armored detached signature and verification
2010-05-08 02:18:05 +00:00
agc
a6115c8c26
more uses of hexdump() rather than open-coded equivalents
2010-05-08 02:17:15 +00:00
agc
651dd2889a
use hexdump() where possible.
...
get rid of all traces of dmalloc - it's not used anymore. we can now g/c
initialisation functions which do not do anything.
also get rid of the pkeyid() functions, which just prints a
hexadecimal string
2010-05-08 00:33:28 +00:00
agc
afcc02d5b5
use hexdump() function where appropriate.
...
change the way that we generate a detached signature file, so that ascii
armour is used if --armor is specified. addresses PR 43248 from Juan RP.
2010-05-08 00:31:07 +00:00
agc
c31f7586f7
minor cosmetic indentation fixes - no functional change
2010-05-08 00:27:08 +00:00
agc
026af9fa14
don't try to be too clever and guess the signature file name from the
...
raw data - just conform to expected practice, and only infer names if
given an ascii armoured detached signature, or a binary detached
signature.
2010-05-08 00:26:39 +00:00
agc
3c9ac68a81
not much point in defining a function to dump in hexadecimal if we don't
...
use it.
2010-05-08 00:24:47 +00:00
agc
2c8603b102
Sync with reality using patch provided by Juan RP in PR 43259. Thanks!
2010-05-07 16:29:09 +00:00
agc
24bfedc52f
Don't rely on \r\n line endings when doing comparisons on strings for
...
the presence of ASCII armored signatures. Be consistent with the spelling
of certain transatlanticly-munged words.
2010-05-07 16:22:39 +00:00
agc
3644eb843e
Overhaul the mechanism used to decide what is a detached signature, and
...
a detached armoured signature, as well as just a plain standard signed
file.
This is in response to PR 43245 from Juan RP, and addresses the
verification of detached armoured signatures, but in a different way
to the patch provided in the PR which is hopefully more generic, and
less reliant upon size of detached signature files.
2010-05-07 16:20:07 +00:00
agc
4a8a90f84b
Remove a duplicate example - from Juan RP in private mail - thanks!
2010-05-07 05:58:25 +00:00
agc
3b87f49f1b
refer to the key fingerprint, and show how to find it in normal output.
2010-05-07 05:55:46 +00:00
agc
9ce8176ea5
Make this compile with gcc 4.5 - patch from Juan RP in PR pkg/43244
2010-05-04 00:02:46 +00:00
wiz
45d13a5b07
Fix date strings.
2010-04-29 18:14:09 +00:00
tron
ed8d7a6df6
Don't mention "umac-64@openssh.com" MAC algorithm which is not enabled
...
in our SSH client and daemon as it causes crashes on architectures which
strict aligment requirements (e.g. NetBSD/sparc64).
This fixes PR bin/43221 by myself.
2010-04-29 17:56:53 +00:00
agc
902794345f
update python bindings to work with newer library interface
2010-04-28 14:41:13 +00:00
agc
cc1edcab1c
refresh the perl bindings to catch up with the changes in the library
2010-04-28 14:01:27 +00:00
wiz
5543ce710d
Remove trailing whitespace; use standard section headers.
2010-04-14 08:14:26 +00:00
agc
67957bdf5e
Update netpgp to version 3.99.1
...
Changes to 3.99.1/20100413
+ bump major command versions to be compatible with shlib major
+ fixed a number of bugs in (RSA) key generation
+ modified netpgpkeys(1) to take an optional argument to --generate-key
if the argument is provided, it is used as the equivalent of the gecos
field for the newly-generated key.
2010-04-14 06:31:23 +00:00
agc
a01ab05761
WARNS=4 fix for an unused arg
2010-04-14 06:23:37 +00:00
agc
8c81a236f7
add a test for RSA key generation
2010-04-14 06:22:55 +00:00
agc
dbd4d2db70
sync manual page with reality, catch up with key generation
2010-04-14 04:01:55 +00:00
agc
d10356af5f
allow the user to pass the equivalent of the gecos information into the
...
key generation function.
2010-04-14 00:26:25 +00:00
agc
38beab948a
get rid of a hardcoded test for the hash agorithm being SHA1, which was just
...
plain wrong these days.
don't duplicate functionality needlessly.
2010-04-14 00:25:10 +00:00
agc
b286ee594c
allow the desired hash algorithm to be passed down from the user to the place
...
where it matters - change the required prototype.
2010-04-14 00:24:00 +00:00
agc
77e396863d
use a better name for a key in a function - no functional change
2010-04-14 00:23:09 +00:00
agc
10cd83189e
Fix (RSA) key generation.
...
Part of the fix for PR 42435 from Jukka Ruohonen.
2010-04-14 00:22:21 +00:00
agc
f0264dce79
Fixes to make key generation work properly - duplicate the public key RSA
...
BIGNUM fields - part of long-standing bug inherited from openpgpsdk.
Part of the fix for PR 42435 from Jukka Ruohonen.
Also pass the desired hash algorithm down, so that SHA1 is no longer
hardcoded.
2010-04-14 00:21:40 +00:00
agc
ed10b84f91
optimise one function a bit
2010-04-14 00:19:52 +00:00
agc
b71b7b3dbc
remove a comment which makes no sense any longer - subkey logic is done elsewhere
2010-04-14 00:19:22 +00:00
agc
4312921835
Don't warn about erroneous errors in skey_checksum_finaliser().
...
Allocate space for the checkhash before attempting to use it - a
long-standing bug from openpgpsdk. Part of the fix for PR 42435 from
Jukka Ruohonen.
2010-04-14 00:18:46 +00:00
joerg
1236f09bea
Regen with modern pod2man and drop trailing whitespace.
2010-04-12 18:03:46 +00:00
joerg
c987ee8936
Rename management target to not overlap with the normal mk rules.
...
Explicitly drop trailing whitespace after pod2man.
2010-04-12 18:02:46 +00:00
joerg
86c2d11e12
Regen man pages with modern pod2man to get more normalised version.
2010-04-12 17:59:37 +00:00
joerg
1e8d9fce59
Add management target for the man pages.
2010-04-12 17:58:40 +00:00
bouyer
769c627b01
Fix crash in openssl (I suspect caused by malformed packets):
...
handshake_dgst[] may be used without being allocated, causing NULL
pointer dereference.
Fix by checking that handshake_dgst is not NULL before use.
Reported to openssl as ticket openssl.org #2214 .
Fix tested on netbsd-5 by Luke Mewburn with apache, and by me with
freeradius (fixing segmentation fault in both cases).
2010-04-09 04:34:13 +00:00
vanhu
ba30b496b8
by Eric Preston: fixed a typo
2010-04-07 14:53:52 +00:00
christos
f1b28409da
ctime can return NULL
2010-04-04 01:36:03 +00:00
christos
4167ec87c5
make it obvious what ctime it is used for.
2010-04-02 15:28:16 +00:00
christos
ec03fa3be9
handle ctime returning NULL.
2010-04-02 15:26:17 +00:00
christos
467b66f1cd
make it obvious to grep that ctime is being checked.
2010-04-02 15:25:04 +00:00
christos
ef20b5e868
handle ctime returning NULL.
2010-04-02 15:23:17 +00:00