Displaying 4 results from an estimated 4 matches for "gen_candidates".
2015 Apr 23
16
[Bug 2388] New: build fixups for --without-openssl
https://bugzilla.mindrot.org/show_bug.cgi?id=2388
Bug ID: 2388
Summary: build fixups for --without-openssl
Product: Portable OpenSSH
Version: 6.8p1
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5
Component: Build system
Assignee: unassigned-bugs at
2007 Mar 01
1
Proposed patch: ssh-keygen allows writing to stdout for moduli generation
...ut, to do
something like e.g.:
$ ssh-keygen -G - -b 2048 | ssh-keygen -T - -f - >moduli
Best regards,
Christian
--- ssh/ssh-keygen.c.old 2007-03-01 12:43:06.000000000 +0100
+++ ssh/ssh-keygen.c 2007-03-01 12:47:32.000000000 +0100
@@ -1270,13 +1270,16 @@ main(int ac, char **av)
}
if (do_gen_candidates) {
- FILE *out = fopen(out_file, "w");
-
- if (out == NULL) {
- error("Couldn't open modulus candidate file \"%s\": %s",
- out_file, strerror(errno));
- return (1);
- }
+ FILE *out;
+
+ if (strcmp(out_file, "-") != 0) {
+ if ((out = fop...
2015 May 27
3
Weak DH primes and openssh
On Wed 2015-05-27 05:23:41 -0400, Hubert Kario wrote:
> On Tuesday 26 May 2015 15:10:01 Daniel Kahn Gillmor wrote:
>> On Tue 2015-05-26 14:02:07 -0400, Hubert Kario wrote:
>> > OEIS A014233
>>
>> Hm, this is a sequence, but not an algorithm. It looks to me like it is
>> not exhaustive, just a list of those integers which are known to have
>> the stated
2004 Oct 03
3
[PATCH] PreferAskpass in ssh_config
...clude "xmalloc.h"
#include "key.h"
#include "rsa.h"
@@ -27,6 +28,7 @@
#include "pathnames.h"
#include "log.h"
#include "misc.h"
+#include "readconf.h"
#ifdef SMARTCARD
#include "scard.h"
@@ -84,6 +86,11 @@
int gen_candidates(FILE *, int, int, BIGNUM *);
int prime_test(FILE *, FILE *, u_int32_t, u_int32_t);
+Options options;
+
+uid_t original_real_uid;
+
+
static void
ask_filename(struct passwd *pw, const char *prompt)
{
@@ -788,7 +795,7 @@
main(int ac, char **av)
{
char dotsshdir[MAXPATHLEN], comment[1024], *...