Marcus Brinkmann <marcus@g10code.com>
[gnupg.git] / TODO
blob6f369dd39be4b6257abe180ad8f113f44ab959a3
1                                                               -*- outline -*-
3 * src/base64                                                  
4 ** Make parsing more robust
5    Currently we don't cope with overlong lines in the best way.
6 ** Check that we really release the ksba reader/writer objects.
8 * sm/call-agent.c
9 ** Some code should go into import.c
10 ** When we allow concurrent service request in gpgsm, we
11    might want to have an agent context for each service request
12    (i.e. Assuan context).
14 * sm/certchain.c
15 ** Try to keep certificate references somewhere
16   This will help with some of our caching code.  We also need to test
17   that caching; in particular "regtp_ca_chainlen".
19 * sm/decrypt.c
20 ** replace leading zero in integer hack by a cleaner solution
22 * sm/gpgsm.c
23 ** mark all unimplemented commands and options.
24 ** Implement --default-key
25 ** support the anyPolicy semantic
28 * sm/keydb.c
29 ** Check file permissions
30 ** Check that all error code mapping is done.
31 ** Remove the inter-module dependencies between gpgsm and keybox
32 ** Add an source_of_key field
34 * agent/
35 ** If we detect that a private key has been deleted
36    Bump the key event counter.
38 * agent/command.c
39 ** Make sure that secure memory is used where appropriate
41 * agent/pkdecrypt.c, agent/pksign.c
42 ** Support DSA
44 * Move pkcs-1 encoding into libgcrypt.
46 * Use a MAC to protect sensitive files.
47   The problem here is that we need yet another key and it is unlikely
48   that users are willing to remember that key too.  It is possible to
49   do this with a smartcard, though.
51 * sm/export.c
52 ** Return an error code or a status info per user ID.
54 * scd/tlv.c
55   The parse_sexp function should not go into this file.  Check whether
56   we can change all S-expression handling code to make use of this
57   function.
59 * scd
60 ** Application context vs. reader slot
61   We have 2 concurrent method of tracking whether a reader is in use:
62   Using the session_list in command.c and the lock_table in app.c.  IT
63   would be better to do this just at one place. First we need to see
64   how we can support cards with multiple applications.
65 ** Detecting a removed card works only after the ticker detected it.
66   We should check the card status in open-card to make this smoother.
67   Needs to be integrated with the status file update, though.  It is
68   not a real problem because application will get a card removed
69   status and should then send a reset to try solving the problem.
70 ** Resolve fixme in do_sign of app-dinsig.
72 ** Add a regression test to check the extkeyusage.
74 * Windows port (W32)
75 ** No card status notifications.
76 ** Regex support is disabled
77   We need to adjust the test to find the regex we have anyway in 
78   gpg4win.  Is that regex compatible to the OpenPGP requirement?
81 * sm/
82 ** check that we issue NO_SECKEY xxx if a -u key was not found
83    We don't. The messages returned are also wrong (recipient vs. signer).
84 ** gpgsm_format_name2
85    Replace by an estream based implementation.
87 * jnlib/
88 ** provide jnlib_malloc and try to remove all jnlib_xmalloc.
90 * g10/
91 ** issue a NO_SECKEY xxxx if a -u key was not found.
94 * When switching to libgcrypt 1.4
95 ** scd#encode_md_for_card, g10#encode_md_value, sm@do_encode_md
96    Remove the extra test for a valid algorithm as libgcrypt will do it
97    then in gcry_md_algo_info.
98 ** skclist.c
99    Remove the hard coded constant in random_is_faked.
100 ** g10/ Replace DIGEST_ALGO_SHA224
101    We can't do that right now because it is only defined by newer
102    versions of libgcrypt. 
103 ** GCRY_MD_USER
104    Remove these definitions.
105 ** MY_GCRY_PK_ECDSA
106    Remove this.
107 ** MY_GCRY_MD_SHA224
108    Remove this.
111 * Extend selinux support to other modules
113 * Remove -sat PGP2 compatibility hack
115 * UTF-8 specific TODOs
116   None.
118 * Pinpad Reader
119   We do not yet support P15 applications.  The trivial thing using
120   ASCII characters will be easy to implement but the other cases need
121   some more work.
123 * Bugs
124 ** After disabling scdaemon and sending a HUP
125    scdaemon stays as a zombie and gpg-agent does not perform any more
126    commands.
128 * Howtos
129 ** Migrate OpenPGP keys to another system
131 * Gpg-Agent Locale
132   Although we pass LC_MESSAGE from gpgsm et al. to Pinentry, this has
133   only an effect on the stock GTK strings (e.g. "OK") and not on any
134   strings gpg-agent generates and passes to Pinentry.  This defeats
135   our design goal to allow changing the locale without changing
136   gpg-agent's default locale (e.g. by the command updatestartuptty).
138 * RFC 4387: Operational Protocols: Certificate Store Access via HTTP
139   Do we support this?