<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to patches</title><link href="https://sourceforge.net/p/pwgen/patches/" rel="alternate"/><link href="https://sourceforge.net/p/pwgen/patches/feed.atom" rel="self"/><id>https://sourceforge.net/p/pwgen/patches/</id><updated>2008-11-25T23:54:48Z</updated><subtitle>Recent changes to patches</subtitle><entry><title>made pwgen win32 compilable</title><link href="https://sourceforge.net/p/pwgen/patches/6/" rel="alternate"/><published>2008-11-25T23:54:48Z</published><updated>2008-11-25T23:54:48Z</updated><author><name>David Foerster</name><uri>https://sourceforge.net/u/userid-2302688/</uri></author><id>https://sourceforge.net47db0c70c4eb6c0af391be538f009e22cc50c538</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I managed no make pwgen compile with VC++ 8 and run it on Win32. However I'm n ot pretty shure how support the patch, so I'm just posting th diff file as attachment.&lt;/p&gt;
&lt;p&gt;To get it to work I had to add a getopt()-implementation which can be used instead of unistd.h. Windows CAPI will be used as entropy source, so this is pretty sophisticated. Anyway rand() resp. random() work as well when no encryption provider is available.&lt;br /&gt;
The most basic way to compile it would probably be "cl /DWIN32 *.c -o pwgen.exe -link advapi32.lib". As you can see, I made heavy use of "#ifdef WIN32" to tell wether to compile for a windows machine or not.&lt;/p&gt;
&lt;p&gt;Please contact me, if there's anything I can optimize on this patch report. :]&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Enforce upper case with --ambiguous option</title><link href="https://sourceforge.net/p/pwgen/patches/5/" rel="alternate"/><published>2007-03-22T16:24:34Z</published><updated>2007-03-22T16:24:34Z</updated><author><name>Kevin Ou</name><uri>https://sourceforge.net/u/hikingou/</uri></author><id>https://sourceforge.netf244ddefca63593f63e25c3d003d25344d97c5b3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When the --ambiguous option is used, the generated password doesn't always have capitalized letter, even the --capitalize option is used explicitly or implicitly. The attached patch should fix the problem.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Several fixs and new features</title><link href="https://sourceforge.net/p/pwgen/patches/4/" rel="alternate"/><published>2005-01-24T09:30:08Z</published><updated>2005-01-24T09:30:08Z</updated><author><name>Olivier</name><uri>https://sourceforge.net/u/wolog/</uri></author><id>https://sourceforge.netb3ef6f4c24f29f25e7f726aca27aab1bdc97bce6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;* Proposal for a 2.04 release&lt;/p&gt;
&lt;p&gt;* General cleanup, remove some unused variable and&lt;br /&gt;
structure declarations, make code compile without warning&lt;/p&gt;
&lt;p&gt;* pw_phonemes.c: Modify pw_element and pw_phonemes to&lt;br /&gt;
generate more readable, but (I hope) more secure&lt;br /&gt;
passwords. Based on comments from Debian bug #276976,&lt;br /&gt;
but does not adresses it. (Human readeable passwords&lt;br /&gt;
cannot be as secure as pure random password, it's obvious)&lt;/p&gt;
&lt;p&gt;* pw_rand.c: Take care of pw_flags to generate&lt;br /&gt;
passwords without capitals and/or without digits.&lt;br /&gt;
Adresse Debian bug #276307&lt;/p&gt;
&lt;p&gt;* pw_rand.c: Fix what seems to be a bug, to allow more&lt;br /&gt;
than one digit and more than one capital in passwords.&lt;br /&gt;
Fix Debian bug #182595&lt;/p&gt;
&lt;p&gt;* sha1.c: Gpl'd lib to compute sha1 hash, contributed&lt;br /&gt;
by Christophe Devine&lt;/p&gt;
&lt;p&gt;* sha1num.c: Add an alternative to true random numbers,&lt;br /&gt;
by using sha1 hash of given file and given seed. &lt;/p&gt;
&lt;p&gt;* pwgen.c: Add -B, --ambiguous option, to prevent use&lt;br /&gt;
of ambiguous characters in generated passwords. (ie:&lt;br /&gt;
2/Z, 0/O, etc...) Adresses (?) Debian bug #51307&lt;br /&gt;
This option is effective in pw_rand and pw_phonemes&lt;/p&gt;
&lt;p&gt;* pwgen.c: Make -A an alias to --no-capitalize, and&lt;br /&gt;
make this option effective in pw_rand. &lt;/p&gt;
&lt;p&gt;* pwgen.c: Make -0 an alias to --no-numerals and make&lt;br /&gt;
this option effective in pw_rand.&lt;/p&gt;
&lt;p&gt;* pwgen.c: Add -H, --sha1 option, to allow computing&lt;br /&gt;
reproducibles passwords, given a know file, and a know&lt;br /&gt;
seed.&lt;br /&gt;
(ie: pwgen -H ~/my_favourite.mp3#olivier@guerrier.com&lt;br /&gt;
gives me a list of possibles passwords for my pop3&lt;br /&gt;
account, and I can ask this list again and again)&lt;br /&gt;
This option is effective in pw_rand and pw_phonemes&lt;/p&gt;
&lt;p&gt;* pwgen.c: Add -y, --symbols option, which add one one&lt;br /&gt;
more specials characters in generated passwords&lt;br /&gt;
This option is effective in pw_rand and pw_phonemes&lt;/p&gt;
&lt;p&gt;* pwgen.1: Updated with new options and features&lt;br /&gt;
&lt;/p&gt;
&lt;p&gt;* Makefile.in: Add sha1.c sha1.h sha1num.c where needed&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Fix SIGPFE on HPUX when redir output</title><link href="https://sourceforge.net/p/pwgen/patches/3/" rel="alternate"/><published>2002-03-13T14:01:26Z</published><updated>2002-03-13T14:01:26Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net9f2fc4620078b898bde656f7498636a09fe19865</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Problem:&lt;br /&gt;
pwgen 8 1 &amp;amp;gt; /tmp/mypw&lt;br /&gt;
ksh(pid): Floating point exception&lt;/p&gt;
&lt;p&gt;Solution:&lt;br /&gt;
RCS file: pwgen.c,v&lt;br /&gt;
retrieving revision 1.1&lt;br /&gt;
rdiff -c -r1.1 pwgen.c&lt;br /&gt;
*** /var/tmp/,RCSt1a13711       Wed Mar 13 13:49:20 &lt;br /&gt;
2002&lt;br /&gt;
--- pwgen.c     Wed Mar 13 13:48:40 2002&lt;br /&gt;
***************&lt;br /&gt;
*** 160,166&lt;br /&gt;
else&lt;br /&gt;
printf(&amp;amp;quot;%s &amp;amp;quot;, buf);&lt;br /&gt;
}&lt;br /&gt;
!       if ((i % num_cols) != 0 &amp;amp;amp;&amp;amp;amp; (num_cols &amp;amp;gt; 1))&lt;br /&gt;
fputc('\n', stdout);&lt;br /&gt;
free(buf);&lt;/p&gt;
&lt;p&gt;--- 160,166 -----&lt;br /&gt;
else&lt;br /&gt;
printf(&amp;amp;quot;%s &amp;amp;quot;, buf);&lt;br /&gt;
}&lt;br /&gt;
!       if ((num_cols &amp;amp;gt; 1) &amp;amp;amp;&amp;amp;amp; (i % num_cols) != 0)&lt;br /&gt;
fputc('\n', stdout);&lt;br /&gt;
free(buf);&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>make random passwords with only letters</title><link href="https://sourceforge.net/p/pwgen/patches/2/" rel="alternate"/><published>2001-08-21T11:38:53Z</published><updated>2001-08-21T11:38:53Z</updated><author><name>jens persson</name><uri>https://sourceforge.net/u/userid-14083/</uri></author><id>https://sourceforge.net71bd673a6ebe542e75f97090a7ddf7e826aab6ba</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This patch adds the option -S (or -- semisecure)&lt;br /&gt;
that generates a random password as -s but with&lt;br /&gt;
only letters and numbers.&lt;/p&gt;
&lt;p&gt;It also fixes a typo in randnum.c that made pwgen&lt;br /&gt;
dump core under AIX.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Build a shared lib with automake/libtool</title><link href="https://sourceforge.net/p/pwgen/patches/1/" rel="alternate"/><published>2001-06-20T02:51:45Z</published><updated>2001-06-20T02:51:45Z</updated><author><name>Matt Zimmerman</name><uri>https://sourceforge.net/u/mzimmerman/</uri></author><id>https://sourceforge.net96994ea16b002719fa7ca1fa29651bcd26d1b87f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;There are many circumstances where it would be useful&lt;br /&gt;
to be able to use pwgen's password-generating algorithm&lt;br /&gt;
from&lt;br /&gt;
within other programs, without having to call out to an&lt;br /&gt;
external program.  To this end, here is a patch to&lt;br /&gt;
use automake and libtool to build libpwgen.  Other&lt;br /&gt;
benefits that came with using automake:&lt;/p&gt;
&lt;p&gt;- &amp;amp;quot;make dist&amp;amp;quot; will generate a tarball suitable for&lt;br /&gt;
distribution, including only files used in the build&lt;br /&gt;
or explicitly named (no cruft). &amp;amp;quot;make distcheck&amp;amp;quot; will&lt;br /&gt;
additionally perform a test build.&lt;/p&gt;
&lt;p&gt;- depfix.sed, wordwrap.pl and their associated Makefile&lt;br /&gt;
rules are obsolete, as automake handles dependencies&lt;br /&gt;
automatically&lt;/p&gt;
&lt;p&gt;- Makefile.am is shorter (22 lines) and easier to&lt;br /&gt;
maintain than Makefile.in&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>