I noticed that when looking at OpenPGP keys on a key server, the key's bits definition is usually followed by a letter, as in "4096D" for example. However, there are also keys with other letters than D, for example here are two keys with "D" and one with "R". There are also keys postfixed with a "g" , as seen here. What does that letter mean and how can I find out what is correct for my own key without uploading it to a keyserver?
I'm using GnuPG/MacGPG2 v2.0.