juanTelez - 2008-11-25

This is what happens when I try to add a public key made with PGP Desktop 9.90. I add other made with an older version without problem.

Server Error in '/pks' Application.
--------------------------------------------------------------------------------

Invalid character in a Base-64 string.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: Invalid character in a Base-64 string.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:

[FormatException: Invalid character in a Base-64 string.]
   System.Convert.FromBase64String(String s) +0
   Key.set_base64Key(String value) in C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\keyserver\keyserver\classes\Key.cs:67
   Key.processArmouredKey(String keyText) in C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\keyserver\keyserver\classes\Key.cs:249
   keyserver.add.Page_Load(Object sender, EventArgs e) in C:\Documents and Settings\Administrator\My Documents\Visual Studio 2008\Projects\keyserver\keyserver\add.aspx.cs:33
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433