ruby-password 0.15.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,840 @@
1
+ ? Changelog
2
+
3
+ RCS file: /var/cvs/ruby-password/CHANGES,v
4
+ Working file: CHANGES
5
+ head: 1.10
6
+ branch:
7
+ locks: strict
8
+ access list:
9
+ symbolic names:
10
+ v0-5-3: 1.10
11
+ v0-5-2: 1.9
12
+ v0-5-1: 1.7
13
+ v0-5-0: 1.5
14
+ v0-4-1: 1.4
15
+ v0-4-0: 1.3
16
+ v0-3-0: 1.2
17
+ v0-2-0: 1.1
18
+ keyword substitution: kv
19
+ total revisions: 10; selected revisions: 10
20
+ description:
21
+ ----------------------------
22
+ revision 1.10
23
+ date: 2006/03/02 19:44:13; author: ianmacd; state: Exp; lines: +8 -2
24
+
25
+ Updated for 0.5.3.
26
+ ----------------------------
27
+ revision 1.9
28
+ date: 2004/09/04 22:20:27; author: ianmacd; state: Exp; lines: +2 -2
29
+
30
+ - update to 0.5.2
31
+ ----------------------------
32
+ revision 1.8
33
+ date: 2004/09/04 22:16:47; author: ianmacd; state: Exp; lines: +9 -1
34
+
35
+ - updated to 0.5.2
36
+ ----------------------------
37
+ revision 1.7
38
+ date: 2004/04/13 00:02:04; author: ianmacd; state: Exp; lines: +3 -1
39
+
40
+ - one last change for 0.5.1
41
+ ----------------------------
42
+ revision 1.6
43
+ date: 2004/04/12 23:36:55; author: ianmacd; state: Exp; lines: +9 -1
44
+
45
+ - updated for 0.5.1
46
+ ----------------------------
47
+ revision 1.5
48
+ date: 2004/04/09 08:28:45; author: ianmacd; state: Exp; lines: +68 -1
49
+
50
+ - updated for 0.5.0
51
+ ----------------------------
52
+ revision 1.4
53
+ date: 2003/11/12 09:25:40; author: ianmacd; state: Exp; lines: +7 -1
54
+
55
+ - warning in Ruby 1.8.x caused by use of rb_enable_super() has been fixed
56
+ ----------------------------
57
+ revision 1.3
58
+ date: 2003/06/11 06:43:58; author: ianmacd; state: Exp; lines: +13 -4
59
+
60
+ - update version to 0.4.0
61
+ ----------------------------
62
+ revision 1.2
63
+ date: 2002/10/03 05:46:10; author: ianmacd; state: Exp; lines: +21 -4
64
+
65
+ - updates for 0.3.0
66
+ ----------------------------
67
+ revision 1.1
68
+ date: 2002/09/18 07:36:43; author: ianmacd; state: Exp;
69
+
70
+ - initial check-in
71
+ =============================================================================
72
+
73
+ RCS file: /var/cvs/ruby-password/INSTALL,v
74
+ Working file: INSTALL
75
+ head: 1.3
76
+ branch:
77
+ locks: strict
78
+ access list:
79
+ symbolic names:
80
+ v0-5-3: 1.3
81
+ v0-5-2: 1.3
82
+ v0-5-1: 1.3
83
+ v0-5-0: 1.3
84
+ v0-4-1: 1.2
85
+ v0-4-0: 1.2
86
+ v0-3-0: 1.2
87
+ v0-2-0: 1.2
88
+ keyword substitution: kv
89
+ total revisions: 3; selected revisions: 3
90
+ description:
91
+ ----------------------------
92
+ revision 1.3
93
+ date: 2004/04/07 09:29:03; author: ianmacd; state: Exp; lines: +7 -11
94
+
95
+ - updated
96
+ ----------------------------
97
+ revision 1.2
98
+ date: 2002/06/18 23:58:16; author: ianmacd; state: Exp; lines: +11 -1
99
+
100
+ - add piece on generating and installing documentation
101
+ ----------------------------
102
+ revision 1.1
103
+ date: 2002/06/18 22:18:38; author: ianmacd; state: Exp;
104
+
105
+ - first versions
106
+ =============================================================================
107
+
108
+ RCS file: /var/cvs/ruby-password/README,v
109
+ Working file: README
110
+ head: 1.5
111
+ branch:
112
+ locks: strict
113
+ access list:
114
+ symbolic names:
115
+ v0-5-3: 1.5
116
+ v0-5-2: 1.5
117
+ v0-5-1: 1.5
118
+ v0-5-0: 1.5
119
+ v0-4-1: 1.3
120
+ v0-4-0: 1.3
121
+ v0-3-0: 1.3
122
+ v0-2-0: 1.3
123
+ keyword substitution: kv
124
+ total revisions: 5; selected revisions: 5
125
+ description:
126
+ ----------------------------
127
+ revision 1.5
128
+ date: 2004/04/07 09:42:48; author: ianmacd; state: Exp; lines: +8 -4
129
+
130
+ - updated
131
+ ----------------------------
132
+ revision 1.4
133
+ date: 2004/04/07 09:25:51; author: ianmacd; state: Exp; lines: +5 -6
134
+
135
+ - updated
136
+ ----------------------------
137
+ revision 1.3
138
+ date: 2002/06/19 06:26:19; author: ianmacd; state: Exp; lines: +6 -1
139
+
140
+ - add small section on target audience
141
+ ----------------------------
142
+ revision 1.2
143
+ date: 2002/06/18 23:20:49; author: ianmacd; state: Exp; lines: +13 -1
144
+
145
+ - add section on licence
146
+ ----------------------------
147
+ revision 1.1
148
+ date: 2002/06/18 22:18:38; author: ianmacd; state: Exp;
149
+
150
+ - first versions
151
+ =============================================================================
152
+
153
+ RCS file: /var/cvs/ruby-password/extconf.rb,v
154
+ Working file: extconf.rb
155
+ head: 1.13
156
+ branch:
157
+ locks: strict
158
+ access list:
159
+ symbolic names:
160
+ v0-5-3: 1.13
161
+ v0-5-2: 1.12
162
+ v0-5-1: 1.11
163
+ v0-5-0: 1.11
164
+ v0-4-1: 1.8
165
+ v0-4-0: 1.8
166
+ v0-3-0: 1.8
167
+ v0-2-0: 1.7
168
+ standard: 1.1.1.1
169
+ default: 1.1.1
170
+ keyword substitution: kv
171
+ total revisions: 14; selected revisions: 14
172
+ description:
173
+ ----------------------------
174
+ revision 1.13
175
+ date: 2006/03/02 17:35:06; author: ianmacd; state: Exp; lines: +2 -3
176
+
177
+ Cannot build with packer.h. Scrap it.
178
+ ----------------------------
179
+ revision 1.12
180
+ date: 2004/09/04 01:46:24; author: ianmacd; state: Exp; lines: +2 -1
181
+
182
+ - add /var/cache/cracklib/cracklib_dict.pwd to search path for dictionaries
183
+ (this is the location for Debian Linux systems)
184
+ ----------------------------
185
+ revision 1.11
186
+ date: 2004/04/09 08:27:16; author: ianmacd; state: Exp; lines: +2 -2
187
+
188
+ - make rm recursive to get doc/ directory
189
+ ----------------------------
190
+ revision 1.10
191
+ date: 2004/04/09 07:53:56; author: ianmacd; state: Exp; lines: +6 -1
192
+
193
+ - make a test target for running the unit tests
194
+ ----------------------------
195
+ revision 1.9
196
+ date: 2004/04/08 09:17:53; author: ianmacd; state: Exp; lines: +5 -12
197
+
198
+ - update for RDoc documentation; RD docs are gone now
199
+ ----------------------------
200
+ revision 1.8
201
+ date: 2002/09/20 05:05:55; author: ianmacd; state: Exp; lines: +28 -17
202
+
203
+ - portability enhancements from Akinori MUSHA <knu@iDaemons.org>
204
+ ----------------------------
205
+ revision 1.7
206
+ date: 2002/06/19 00:29:52; author: ianmacd; state: Exp; lines: +4 -10
207
+
208
+ - no need to avoid linking against libruby - my Ruby was broken
209
+ ----------------------------
210
+ revision 1.6
211
+ date: 2002/06/18 23:49:13; author: ianmacd; state: Exp; lines: +2 -5
212
+
213
+ - avoid append operation to add extra targets
214
+ ----------------------------
215
+ revision 1.5
216
+ date: 2002/06/18 23:36:46; author: ianmacd; state: Exp; lines: +5 -6
217
+
218
+ - use in-place editing to get rid of $(RUBY_INSTALL_NAME)
219
+ ----------------------------
220
+ revision 1.4
221
+ date: 2002/06/18 23:21:51; author: ianmacd; state: Exp; lines: +2 -2
222
+
223
+ - delete doc files when running extra-clean target
224
+ ----------------------------
225
+ revision 1.3
226
+ date: 2002/06/18 23:05:13; author: ianmacd; state: Exp; lines: +9 -6
227
+
228
+ - this code to remove the reference to libruby actually works
229
+ ----------------------------
230
+ revision 1.2
231
+ date: 2002/06/18 22:51:29; author: ianmacd; state: Exp; lines: +19 -2
232
+
233
+ - add some more Makefile targets
234
+ - attempt in-place editing to remove $(RUBY_INSTALL_NAME) from LIBS, since
235
+ that makes us link to libruby, which makes our binary unnecessarily large
236
+ (unfortunately, this in-place edit doesn't work)
237
+ ----------------------------
238
+ revision 1.1
239
+ date: 2002/06/18 08:26:46; author: ianmacd; state: Exp;
240
+ branches: 1.1.1;
241
+ Initial revision
242
+ ----------------------------
243
+ revision 1.1.1.1
244
+ date: 2002/06/18 08:26:46; author: ianmacd; state: Exp; lines: +0 -0
245
+
246
+ - initial check-in
247
+ =============================================================================
248
+
249
+ RCS file: /var/cvs/ruby-password/pwgen.1,v
250
+ Working file: pwgen.1
251
+ head: 1.2
252
+ branch:
253
+ locks: strict
254
+ access list:
255
+ symbolic names:
256
+ v0-5-3: 1.2
257
+ v0-5-2: 1.2
258
+ v0-5-1: 1.2
259
+ v0-5-0: 1.1
260
+ keyword substitution: kv
261
+ total revisions: 2; selected revisions: 2
262
+ description:
263
+ ----------------------------
264
+ revision 1.2
265
+ date: 2004/04/13 00:01:07; author: ianmacd; state: Exp; lines: +5 -2
266
+
267
+ - document -v|--version
268
+ ----------------------------
269
+ revision 1.1
270
+ date: 2004/04/08 09:02:20; author: ianmacd; state: Exp;
271
+
272
+ - man page for pwgen
273
+ =============================================================================
274
+
275
+ RCS file: /var/cvs/ruby-password/rbcrack.c,v
276
+ Working file: rbcrack.c
277
+ head: 1.20
278
+ branch:
279
+ locks: strict
280
+ access list:
281
+ symbolic names:
282
+ v0-5-3: 1.20
283
+ v0-5-2: 1.18
284
+ v0-5-1: 1.17
285
+ v0-5-0: 1.16
286
+ v0-4-1: 1.11
287
+ v0-4-0: 1.10
288
+ v0-3-0: 1.8
289
+ v0-2-0: 1.3
290
+ standard: 1.1.1.1
291
+ default: 1.1.1
292
+ keyword substitution: kv
293
+ total revisions: 21; selected revisions: 21
294
+ description:
295
+ ----------------------------
296
+ revision 1.20
297
+ date: 2006/03/02 19:41:44; author: ianmacd; state: Exp; lines: +3 -3
298
+
299
+ Update copyright messages.
300
+ ----------------------------
301
+ revision 1.19
302
+ date: 2006/03/02 17:35:06; author: ianmacd; state: Exp; lines: +1 -6
303
+
304
+ Cannot build with packer.h. Scrap it.
305
+ ----------------------------
306
+ revision 1.18
307
+ date: 2004/09/04 22:20:27; author: ianmacd; state: Exp; lines: +2 -2
308
+
309
+ - update to 0.5.2
310
+ ----------------------------
311
+ revision 1.17
312
+ date: 2004/04/12 23:53:07; author: ianmacd; state: Exp; lines: +2 -2
313
+
314
+ - bumped to version 0.5.1
315
+ ----------------------------
316
+ revision 1.16
317
+ date: 2004/04/07 09:00:00; author: ianmacd; state: Exp; lines: +15 -2
318
+
319
+ - document Password#check
320
+ ----------------------------
321
+ revision 1.15
322
+ date: 2004/04/06 10:15:31; author: ianmacd; state: Exp; lines: +45 -43
323
+
324
+ - run through indent
325
+ ----------------------------
326
+ revision 1.14
327
+ date: 2004/04/06 10:13:52; author: ianmacd; state: Exp; lines: +1 -6
328
+
329
+ - don't define Password::VERSION here. Define it in password.rb instead
330
+ ----------------------------
331
+ revision 1.13
332
+ date: 2004/04/06 10:09:54; author: ianmacd; state: Exp; lines: +7 -12
333
+
334
+ - rename BadDictionary exception to DictionaryError and make it a subclass
335
+ of StandardError instead of RuntimeError
336
+ - make WeakPassword exception a subclass of StandardError instead of
337
+ RuntimeError
338
+ ----------------------------
339
+ revision 1.12
340
+ date: 2004/04/06 09:40:17; author: ianmacd; state: Exp; lines: +4 -17
341
+
342
+ - remove passwd_init (Password#initialize) from here, as it's now implicitly
343
+ done in password.rb, by having the Password class be a subclass of String.
344
+ - bump version to 0.5.0
345
+ ----------------------------
346
+ revision 1.11
347
+ date: 2003/11/12 09:25:40; author: ianmacd; state: Exp; lines: +5 -3
348
+
349
+ - warning in Ruby 1.8.x caused by use of rb_enable_super() has been fixed
350
+ ----------------------------
351
+ revision 1.10
352
+ date: 2003/06/11 06:43:58; author: ianmacd; state: Exp; lines: +3 -3
353
+
354
+ - update version to 0.4.0
355
+ ----------------------------
356
+ revision 1.9
357
+ date: 2002/10/03 22:44:42; author: ianmacd; state: Exp; lines: +28 -4
358
+
359
+ - in passwd_check(), raise a Password:BadDictionary exception when the path
360
+ to the crack dictionary is incorrect.
361
+ ----------------------------
362
+ revision 1.8
363
+ date: 2002/10/03 05:19:51; author: ianmacd; state: Exp; lines: +19 -19
364
+
365
+ - dispense with Crack class; use only Password
366
+ ----------------------------
367
+ revision 1.7
368
+ date: 2002/09/28 20:07:05; author: ianmacd; state: Exp; lines: +2 -2
369
+
370
+ - version number updates
371
+ ----------------------------
372
+ revision 1.6
373
+ date: 2002/09/28 20:03:14; author: ianmacd; state: Exp; lines: +2 -2
374
+
375
+ - update version to 0.2.1
376
+ ----------------------------
377
+ revision 1.5
378
+ date: 2002/09/24 00:17:50; author: ianmacd; state: Exp; lines: +20 -2
379
+
380
+ - add GPL header
381
+ ----------------------------
382
+ revision 1.4
383
+ date: 2002/09/20 05:05:55; author: ianmacd; state: Exp; lines: +9 -2
384
+
385
+ - portability enhancements from Akinori MUSHA <knu@iDaemons.org>
386
+ ----------------------------
387
+ revision 1.3
388
+ date: 2002/09/18 07:45:57; author: ianmacd; state: Exp; lines: +2 -2
389
+
390
+ - update version number
391
+ ----------------------------
392
+ revision 1.2
393
+ date: 2002/09/18 07:27:37; author: ianmacd; state: Exp; lines: +17 -6
394
+
395
+ - make Crack#check return true on success, raise exception on failure
396
+ ----------------------------
397
+ revision 1.1
398
+ date: 2002/06/18 08:26:46; author: ianmacd; state: Exp;
399
+ branches: 1.1.1;
400
+ Initial revision
401
+ ----------------------------
402
+ revision 1.1.1.1
403
+ date: 2002/06/18 08:26:46; author: ianmacd; state: Exp; lines: +0 -0
404
+
405
+ - initial check-in
406
+ =============================================================================
407
+
408
+ RCS file: /var/cvs/ruby-password/ruby-password.spec,v
409
+ Working file: ruby-password.spec
410
+ head: 1.20
411
+ branch:
412
+ locks: strict
413
+ access list:
414
+ symbolic names:
415
+ v0-5-3: 1.20
416
+ v0-5-2: 1.19
417
+ v0-5-1: 1.18
418
+ v0-5-0: 1.16
419
+ v0-4-1: 1.14
420
+ v0-4-0: 1.13
421
+ v0-3-0: 1.10
422
+ v0-2-0: 1.6
423
+ keyword substitution: kv
424
+ total revisions: 20; selected revisions: 20
425
+ description:
426
+ ----------------------------
427
+ revision 1.20
428
+ date: 2006/03/02 19:44:13; author: ianmacd; state: Exp; lines: +6 -2
429
+
430
+ Updated for 0.5.3.
431
+ ----------------------------
432
+ revision 1.19
433
+ date: 2004/09/04 22:20:27; author: ianmacd; state: Exp; lines: +8 -2
434
+
435
+ - update to 0.5.2
436
+ ----------------------------
437
+ revision 1.18
438
+ date: 2004/04/13 00:02:53; author: ianmacd; state: Exp; lines: +2 -1
439
+
440
+ - one last change to document
441
+ ----------------------------
442
+ revision 1.17
443
+ date: 2004/04/12 23:38:44; author: ianmacd; state: Exp; lines: +7 -2
444
+
445
+ - updated version and changelog
446
+ ----------------------------
447
+ revision 1.16
448
+ date: 2004/04/09 09:44:42; author: ianmacd; state: Exp; lines: +2 -2
449
+
450
+ - pwgen was installed with the wrong mode
451
+ ----------------------------
452
+ revision 1.15
453
+ date: 2004/04/09 09:18:48; author: ianmacd; state: Exp; lines: +61 -16
454
+
455
+ - update version and changelog
456
+ ----------------------------
457
+ revision 1.14
458
+ date: 2003/11/12 09:25:40; author: ianmacd; state: Exp; lines: +6 -2
459
+
460
+ - warning in Ruby 1.8.x caused by use of rb_enable_super() has been fixed
461
+ ----------------------------
462
+ revision 1.13
463
+ date: 2003/06/11 06:52:35; author: ianmacd; state: Exp; lines: +8 -2
464
+
465
+ - determine version of Ruby to require at build time
466
+ ----------------------------
467
+ revision 1.12
468
+ date: 2003/06/11 06:43:58; author: ianmacd; state: Exp; lines: +12 -5
469
+
470
+ - update version to 0.4.0
471
+ ----------------------------
472
+ revision 1.11
473
+ date: 2003/03/29 22:01:42; author: ianmacd; state: Exp; lines: +3 -3
474
+
475
+ - fix a gsub for 1.8
476
+ ----------------------------
477
+ revision 1.10
478
+ date: 2002/10/03 06:03:21; author: ianmacd; state: Exp; lines: +2 -2
479
+
480
+ - no TODO file
481
+ ----------------------------
482
+ revision 1.9
483
+ date: 2002/10/03 05:48:59; author: ianmacd; state: Exp; lines: +10 -4
484
+
485
+ - update version and changelog
486
+ ----------------------------
487
+ revision 1.8
488
+ date: 2002/09/28 20:09:21; author: ianmacd; state: Exp; lines: +2 -2
489
+
490
+ - typo in date
491
+ ----------------------------
492
+ revision 1.7
493
+ date: 2002/09/28 20:07:05; author: ianmacd; state: Exp; lines: +6 -2
494
+
495
+ - version number updates
496
+ ----------------------------
497
+ revision 1.6
498
+ date: 2002/09/18 07:39:30; author: ianmacd; state: Exp; lines: +9 -4
499
+
500
+ - updated version and changelog
501
+ ----------------------------
502
+ revision 1.5
503
+ date: 2002/07/11 05:37:19; author: ianmacd; state: Exp; lines: +7 -2
504
+
505
+ - update release to 0.1.1
506
+ ----------------------------
507
+ revision 1.4
508
+ date: 2002/06/19 00:29:52; author: ianmacd; state: Exp; lines: +1 -2
509
+
510
+ - no need to avoid linking against libruby - my Ruby was broken
511
+ ----------------------------
512
+ revision 1.3
513
+ date: 2002/06/19 00:03:30; author: ianmacd; state: Exp; lines: +2 -2
514
+
515
+ - don't bother making docs; we'll just add them to the tar file
516
+ ----------------------------
517
+ revision 1.2
518
+ date: 2002/06/19 00:01:26; author: ianmacd; state: Exp; lines: +6 -3
519
+
520
+ - package documentation as well
521
+ ----------------------------
522
+ revision 1.1
523
+ date: 2002/06/18 09:21:28; author: ianmacd; state: Exp;
524
+
525
+ - initial check-in of .spec file
526
+ =============================================================================
527
+
528
+ RCS file: /var/cvs/ruby-password/example/example.rb,v
529
+ Working file: example/example.rb
530
+ head: 1.7
531
+ branch:
532
+ locks: strict
533
+ access list:
534
+ symbolic names:
535
+ v0-5-3: 1.7
536
+ v0-5-2: 1.7
537
+ v0-5-1: 1.7
538
+ v0-5-0: 1.7
539
+ v0-4-1: 1.6
540
+ v0-4-0: 1.6
541
+ v0-3-0: 1.6
542
+ v0-2-0: 1.3
543
+ standard: 1.1.1.1
544
+ default: 1.1.1
545
+ keyword substitution: kv
546
+ total revisions: 8; selected revisions: 8
547
+ description:
548
+ ----------------------------
549
+ revision 1.7
550
+ date: 2004/04/07 09:49:06; author: ianmacd; state: Exp; lines: +9 -11
551
+
552
+ - no longer need to call Password.new on strings fetched with Password.get and
553
+ Password.getc.
554
+ ----------------------------
555
+ revision 1.6
556
+ date: 2002/10/03 05:54:35; author: ianmacd; state: Exp; lines: +3 -3
557
+
558
+ - return Password::WeakPassword on weak password
559
+ ----------------------------
560
+ revision 1.5
561
+ date: 2002/09/24 00:29:20; author: ianmacd; state: Exp; lines: +17 -1
562
+
563
+ - add GPL header
564
+ ----------------------------
565
+ revision 1.4
566
+ date: 2002/09/20 00:39:50; author: ianmacd; state: Exp; lines: +6 -1
567
+
568
+ - don't reask for password with Password.get if password with Password.getc
569
+ fails
570
+ ----------------------------
571
+ revision 1.3
572
+ date: 2002/09/18 07:23:57; author: ianmacd; state: Exp; lines: +12 -13
573
+
574
+ - modifications in line with changes to Password#check
575
+ ----------------------------
576
+ revision 1.2
577
+ date: 2002/06/18 23:21:27; author: ianmacd; state: Exp; lines: +2 -2
578
+
579
+ - use MD5 on Linux, otherwise DES
580
+ ----------------------------
581
+ revision 1.1
582
+ date: 2002/06/18 08:26:46; author: ianmacd; state: Exp;
583
+ branches: 1.1.1;
584
+ Initial revision
585
+ ----------------------------
586
+ revision 1.1.1.1
587
+ date: 2002/06/18 08:26:46; author: ianmacd; state: Exp; lines: +0 -0
588
+
589
+ - initial check-in
590
+ =============================================================================
591
+
592
+ RCS file: /var/cvs/ruby-password/example/pwgen,v
593
+ Working file: example/pwgen
594
+ head: 1.3
595
+ branch:
596
+ locks: strict
597
+ access list:
598
+ symbolic names:
599
+ v0-5-3: 1.3
600
+ v0-5-2: 1.3
601
+ v0-5-1: 1.2
602
+ v0-5-0: 1.1
603
+ keyword substitution: kv
604
+ total revisions: 3; selected revisions: 3
605
+ description:
606
+ ----------------------------
607
+ revision 1.3
608
+ date: 2004/09/04 22:20:27; author: ianmacd; state: Exp; lines: +2 -2
609
+
610
+ - update to 0.5.2
611
+ ----------------------------
612
+ revision 1.2
613
+ date: 2004/04/12 23:59:30; author: ianmacd; state: Exp; lines: +8 -3
614
+
615
+ - add a -v|--version option
616
+ ----------------------------
617
+ revision 1.1
618
+ date: 2004/04/08 08:47:57; author: ianmacd; state: Exp;
619
+
620
+ - Ruby version of Ted Ts'o's pwgen program
621
+ =============================================================================
622
+
623
+ RCS file: /var/cvs/ruby-password/lib/password.rb,v
624
+ Working file: lib/password.rb
625
+ head: 1.24
626
+ branch:
627
+ locks: strict
628
+ access list:
629
+ symbolic names:
630
+ v0-5-3: 1.24
631
+ v0-5-2: 1.22
632
+ v0-5-1: 1.21
633
+ v0-5-0: 1.19
634
+ v0-4-1: 1.13
635
+ v0-4-0: 1.12
636
+ v0-3-0: 1.9
637
+ v0-2-0: 1.6
638
+ standard: 1.1.1.1
639
+ default: 1.1.1
640
+ keyword substitution: kv
641
+ total revisions: 25; selected revisions: 25
642
+ description:
643
+ ----------------------------
644
+ revision 1.24
645
+ date: 2006/03/02 19:42:33; author: ianmacd; state: Exp; lines: +2 -2
646
+
647
+ Update to 0.5.3.
648
+ ----------------------------
649
+ revision 1.23
650
+ date: 2006/03/02 19:41:44; author: ianmacd; state: Exp; lines: +3 -3
651
+
652
+ Update copyright messages.
653
+ ----------------------------
654
+ revision 1.22
655
+ date: 2004/09/04 22:20:27; author: ianmacd; state: Exp; lines: +3 -3
656
+
657
+ - update to 0.5.2
658
+ ----------------------------
659
+ revision 1.21
660
+ date: 2004/04/12 23:53:07; author: ianmacd; state: Exp; lines: +3 -3
661
+
662
+ - bumped to version 0.5.1
663
+ ----------------------------
664
+ revision 1.20
665
+ date: 2004/04/12 08:49:08; author: ianmacd; state: Exp; lines: +4 -3
666
+
667
+ - ensure that Password.get does not fail when $stdin reaches EOF with no
668
+ input.
669
+ ----------------------------
670
+ revision 1.19
671
+ date: 2004/04/08 09:48:38; author: ianmacd; state: Exp; lines: +21 -8
672
+
673
+ - Password.get will now detect whether STDIN is connected to a tty. If not, no
674
+ password prompt is displayed and no attempt will be made to manipulate
675
+ terminal echo.
676
+ - Running password.rb directly will now result in a call to Password.phonemic
677
+ and the display of the password returned.
678
+ ----------------------------
679
+ revision 1.18
680
+ date: 2004/04/07 09:03:14; author: ianmacd; state: Exp; lines: +39 -107
681
+
682
+ - Remove old RD documentation.
683
+ - Bump version to 0.5.0.
684
+ - Improve RDoc documentation with examples.
685
+ - Duplicate exception definitions for DictionaryError and WeakPassword from
686
+ rbcrack.c, so that they can be properly documented here.
687
+ - Fixed a reference to non-existent local variable 'output', which should have
688
+ been 'crypt'.
689
+ ----------------------------
690
+ revision 1.17
691
+ date: 2004/04/07 07:55:56; author: ianmacd; state: Exp; lines: +68 -43
692
+
693
+ - Password::VERSION is now defined here, rather than in rbcrack.c.
694
+ - Make Password class a subclass of String.
695
+ - CryptError is now Password::CryptError and is a subclass of StandardError,
696
+ not RuntimeError.
697
+ - VALID_CHARS has been renamed PASSWD_CHARS.
698
+ - A new constant, SALT_CHARS, lists the characters valid as salt characters
699
+ when invoking #crypt.
700
+ - Password.getc now returns a Password, not a String.
701
+ - Password.phonemic now returns a Password, not a String.
702
+ - Password.random now returns a Password, not a String.
703
+ - Password.urandom now returns a Password, not a String.
704
+ - Password::CryptError is now raised if a salt passed to #crypt contains a bad
705
+ character.
706
+ ----------------------------
707
+ revision 1.16
708
+ date: 2004/04/06 08:18:56; author: ianmacd; state: Exp; lines: +112 -96
709
+
710
+ - Shuffle things around a bit.
711
+ ----------------------------
712
+ revision 1.15
713
+ date: 2004/04/06 07:58:45; author: ianmacd; state: Exp; lines: +75 -23
714
+
715
+ - Improve RDoc documentation
716
+ - Alter Password.get and Password.getc so that the prompt is passed in its
717
+ entirety when required. We no longer append ': ' to it, so that completely
718
+ null prompts are now possible.
719
+ ----------------------------
720
+ revision 1.14
721
+ date: 2004/04/05 02:44:37; author: ianmacd; state: Exp; lines: +198 -8
722
+
723
+ - new class method, Password.phonemic, generates phonemic passwords
724
+ (code inspired by Ted Ts'o's pwgen program:
725
+ http://sourceforge.net/projects/pwgen/). This uses some new constants
726
+ and another class method, Password.get_vowel_or_consonant
727
+ - rename Password.random to Password.urandom for historical purposes
728
+ - new Password.random implementation does not rely on /dev/urandom, and
729
+ so is portable.
730
+ ----------------------------
731
+ revision 1.13
732
+ date: 2003/11/12 09:25:40; author: ianmacd; state: Exp; lines: +3 -3
733
+
734
+ - warning in Ruby 1.8.x caused by use of rb_enable_super() has been fixed
735
+ ----------------------------
736
+ revision 1.12
737
+ date: 2003/06/11 06:43:58; author: ianmacd; state: Exp; lines: +3 -3
738
+
739
+ - update version to 0.4.0
740
+ ----------------------------
741
+ revision 1.11
742
+ date: 2003/06/11 00:17:28; author: ianmacd; state: Exp; lines: +12 -3
743
+
744
+ - in Password.getc, we need to turn off line buffering for Ruby 1.8, or
745
+ the password prompt may not appear
746
+ ----------------------------
747
+ revision 1.10
748
+ date: 2002/10/03 22:47:01; author: ianmacd; state: Exp; lines: +5 -4
749
+
750
+ - documentation changes to indicate that a Password::BadDictionary exception
751
+ is now raised when a bad dictionary path is passed to Password#check
752
+ ----------------------------
753
+ revision 1.9
754
+ date: 2002/10/03 05:27:02; author: ianmacd; state: Exp; lines: +6 -14
755
+
756
+ - with the Crack class gone, Password is now a direct subclass of String
757
+ - the Password.initialize and Password#check methods are no longer
758
+ needed here, since the ones in rbcrack.c now pertain to the Password class
759
+ - Password#check now raises a Password::WeakPassword exception if the
760
+ password is weak, not a Crack::WeakPassword exception
761
+ ----------------------------
762
+ revision 1.8
763
+ date: 2002/09/28 20:07:05; author: ianmacd; state: Exp; lines: +3 -3
764
+
765
+ - version number updates
766
+ ----------------------------
767
+ revision 1.7
768
+ date: 2002/09/24 18:23:07; author: ianmacd; state: Exp; lines: +7 -6
769
+
770
+ - format GNU message for man page
771
+ ----------------------------
772
+ revision 1.6
773
+ date: 2002/09/18 07:22:55; author: ianmacd; state: Exp; lines: +11 -11
774
+
775
+ - Password#check now returns true on success and raises a Crack::WeakPassword
776
+ exception on failure.
777
+ ----------------------------
778
+ revision 1.5
779
+ date: 2002/07/11 05:20:09; author: ianmacd; state: Exp; lines: +3 -3
780
+
781
+ - update version to 0.1.1
782
+ ----------------------------
783
+ revision 1.4
784
+ date: 2002/07/10 04:02:02; author: ianmacd; state: Exp; lines: +3 -3
785
+
786
+ - default to assigning a null string when Password.new is called, to avoid
787
+ this having to be passed by the user
788
+ ----------------------------
789
+ revision 1.3
790
+ date: 2002/07/09 18:53:07; author: ianmacd; state: Exp; lines: +6 -6
791
+
792
+ - Password.get now returns an instance of Password, not String
793
+ ----------------------------
794
+ revision 1.2
795
+ date: 2002/06/18 22:19:47; author: ianmacd; state: Exp; lines: +95 -11
796
+
797
+ - added a lot of embedded documentation, renamed some variables for
798
+ clarity, and performed some very minor code clean-up
799
+ ----------------------------
800
+ revision 1.1
801
+ date: 2002/06/18 08:26:46; author: ianmacd; state: Exp;
802
+ branches: 1.1.1;
803
+ Initial revision
804
+ ----------------------------
805
+ revision 1.1.1.1
806
+ date: 2002/06/18 08:26:46; author: ianmacd; state: Exp; lines: +0 -0
807
+
808
+ - initial check-in
809
+ =============================================================================
810
+
811
+ RCS file: /var/cvs/ruby-password/test/tc_password.rb,v
812
+ Working file: test/tc_password.rb
813
+ head: 1.3
814
+ branch:
815
+ locks: strict
816
+ access list:
817
+ symbolic names:
818
+ v0-5-3: 1.3
819
+ v0-5-2: 1.3
820
+ v0-5-1: 1.3
821
+ v0-5-0: 1.2
822
+ keyword substitution: kv
823
+ total revisions: 3; selected revisions: 3
824
+ description:
825
+ ----------------------------
826
+ revision 1.3
827
+ date: 2004/04/12 08:50:06; author: ianmacd; state: Exp; lines: +7 -2
828
+
829
+ - add a test for null $stdin
830
+ ----------------------------
831
+ revision 1.2
832
+ date: 2004/04/09 07:21:49; author: ianmacd; state: Exp; lines: +2 -2
833
+
834
+ - modify path to make sure crack.so gets found before installation
835
+ ----------------------------
836
+ revision 1.1
837
+ date: 2004/04/07 09:19:18; author: ianmacd; state: Exp;
838
+
839
+ - initial set of unit tests
840
+ =============================================================================