summaryrefslogtreecommitdiffstats
path: root/TODO
blob: 55380b5fb3727e1eae808c637826fa46a35596ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
Bugs
----
    * clearsig: keep lineendings as they are. Remember that trailings
      blanks are not hashed.  Funny: pgp263in works fine even with
      a source file with CR,LF but GnuPG and pgp263in has problems
      if the clearsign has been created by pgp263ia.
      Needs more investigation - anyone?

    * clearsign bug Greg Troxel Jan 11.

Important
----------
    * Check revocation and expire stuff.  PLEASE: THIS MUST BE TESTED!

    * Check calculation of key validity. PLEASE: IT IS IMPORTED THAT
      THIS GET TESTED.

    * See why we always get this "Hmmm public key lost"

    * print a warning when a revoked/expired secret key is used.

> 0.9.1: I get some occasional segfaults during 'make check' unless I use
> --with-included-zlib. It's strange, I have zlib-1.1.2 on one machine, and
> zlib-1.1.3 on another, and both of them fail on occasion (maybe half of the

> gpg: /home/jam/.gnupg/pubring.gpg: can't open gdbm file: Can't be writer
> gpg: keyblock resource `/home/jam/.gnupg/pubring.gpg': file open error
> gpg: OOPS in close enum_keyblocks - ignored

    > Indeed, comparing zero to 0xfe returns 2, not -something, and this is
> the problem.	This seems to fix it, but I don't know how you want to
> handle this.
>
  I'll better write a autoconf test as memcmp is used all over the place.

Needed
------
    * remove more "Fixmes"

    * Replace Blowfish by Twofish and add the new encrypted packet type
      which has a MACing option (append SHA1 hash to the plaintext and
      encrypt this all) - We need an identifier for Twofish to put this
      one into the cipher preferences.

    * The -export-dynamic flag to ld works only for FreeBSD 3.0.  It does
      not exist on FreeBSD's 2.2.x version of ld.
      Also, on my FreeBSD 2.2-stable box, i simply removed the
      -Wl,-export-dynamic flag from my Makefile and it linked and seems to
      be working OK so far.

    * text_filter.c: use iobuf_readline for cleartext signatures.


Minor Bugs
----------

    * There is a race condition which leaves lock files after process
      termination (a signal while in make_dotlock).  Change the dotlock
      implementaion to a create handle, make and release implemenation
      and use an atexit to cleanup all pending locks.  This is also
      faster.

Nice to have
------------
    * preferences of hash algorithms are not yet used.
    * new menu to delete signatures and list signature in menu
    * Replace the SIGUSR1 stuff by semaphores to avoid loss of a signal.
      or use POSIX.4 realtime signals.
    * add test cases for invalid data (scrambled armor or other random data)
    * add checking of armor trailers
    * Burn the buffers used by fopen(), or use read(2). Does this
      really make sense?
    * change the fake_data stuff to mpi_set_opaque
    * How about letting something like 'gpg --version -v', list the
      effective options.
    * Stats about used random numbers.