Git Product home page Git Product logo

certxplorer's Introduction

GitHub Stats Lang Stats

certxplorer's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar odalet avatar odalet-addup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

certxplorer's Issues

CertXplorer - Normalize the View model

All tool windows should implement IView (or IDocumentView) and provide an activation/deactivation capability. Also the same model for embedding classes should be applied.

For instance, we have:

  • Asn1DocumentView (a DockContent Form) contains Asn1DocumentControl which contains Asn1Viewer (which is an ISelectionSource), but
  • CertificateListWindow (which is a ToolWindow which is a DockContent) contains CertificateListControl (which is a ServicedUserControl and an ISelectionSource)...

Some refactoring may also be useful: the CertManager and Asn1Decoder namespaces contain non related classes (GlobalSelectionService for instance) !

Achieving this would help resolve issues #7 and #13 in a non hacky way!

This issue was migrated from issue #14 in former Delta repository
Originally created by @odalet and assigned to @odalet
Originally created at 2013-10-13T16:06:48+00:00
Originally updated at 2013-10-13T16:07:13+00:00
Original url: https://api.github.com/repos/odalet/Delta/issues/14

Plugins UI

Misc improvements for plugins:

  • Allow global plugins to appear in a toolstrip
  • Allow plugins to display a specific "About" box accessible from the main About box
  • Rework the main About box so that plugins are displayed in a tree: Assembly > Plugin.
  • Allow plugins to add panes to the (future) options dialog.

This issue was migrated from issue #6 in former Delta repository
Originally created by @odalet and assigned to @odalet
Originally created at 2013-09-29T16:45:15+00:00
Originally updated at 2013-09-29T16:51:51+00:00
Original url: https://api.github.com/repos/odalet/Delta/issues/6

Prevent application from stalling when loading some invalid files

In some cases, when loading invalid files (most of the times, these files are not ASN.1/DER encoded at all), the application gets stuck in an (supposedly) infinite loop (and errors are scrolling endless in the log box).

The application should detect this and not loop forever trying to read the same data again and again.

UX: Certificates Tree

When one double-clicks a store in the Certificate Store tree, the Certificates list window should become active if it is not already

To do so, see how a document's window becomes active when a certificate is double-clicked in the certificates list window

This issue was migrated from issue #7 in former Delta repository
Originally created by @odalet and assigned to @odalet
Originally created at 2013-09-29T16:47:18+00:00
Originally updated at 2013-10-13T16:06:49+00:00
Original url: https://api.github.com/repos/odalet/Delta/issues/7

CertXplorer - Loosing selected item in Certificates View

Steps to reproduce:

  • Open the Certificate View and selected an item
  • Double-click, the ASN1 viewer opens (and the property grid displays the deatils of the selected node.
  • Back to the Certificates View, the certificate is still selected, but the property grid is not refreshed with the certificate's properties.

Same problem when selecting another certificate, going back to a previously opened ASN1 view, the property grid keeps displaying the certificate's properties, not the selected node ones.

This issue was migrated from issue #13 in former Delta repository
Originally created by @odalet and assigned to @odalet
Originally created at 2013-10-13T15:37:23+00:00
Originally updated at 2013-10-13T16:06:49+00:00
Original url: https://api.github.com/repos/odalet/Delta/issues/13

CertXplorer - Broken "Open File" command

  • [System.IndexOutOfRangeException] Index was outside the bounds of the array.
    | at Delta.CertXplorer.Commanding.BaseCommand1.ParseArguments(Object[] arguments) | at Delta.CertXplorer.Commanding.BaseCommand1.Run(IVerb verb, Object[] arguments)
    | at Delta.CertXplorer.Commanding.Commands.ExecuteCommand(Type commandType, IVerb verb, Object[] arguments)
    | at Delta.CertXplorer.Commanding.Commands.RunVerbImpl(IVerb verb, Object[] arguments, Type firstArgumentType)
    | at Delta.CertXplorer.Commanding.Commands.RunVerb[T](IVerb verb, T[] arguments)
    | at Delta.CertXplorer.Commanding.Commands.RunVerb(IVerb verb, Object[] arguments)
    | at Delta.CertXplorer.Chrome.b__2(Object s, EventArgs e)
    | at Delta.CertXplorer.UI.Actions.UIAction.OnRun(EventArgs e)
    | at Delta.CertXplorer.UI.Actions.UIAction.DoRun()
    | at Delta.CertXplorer.UI.Actions.UIAction.HandleClick(Object sender, EventArgs e)
    | at Delta.CertXplorer.UI.Actions.UIAction.target_Click(Object sender, EventArgs e)
    | at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    | at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    | at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    | at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    | at System.Windows.Forms.Control.WndProc(Message& m)
    | at System.Windows.Forms.ToolStrip.WndProc(Message& m)
    | at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

This issue was migrated from issue #10 in former Delta repository
Originally created by @odalet and assigned to @odalet
Originally created at 2013-10-04T16:28:54+00:00
Originally updated at 2013-10-05T22:25:30+00:00
Originally closed at 2013-10-05T22:25:30+00:00
Original url: https://api.github.com/repos/odalet/Delta/issues/10

CertXplorer - Broken "Open Certificate" command

  • [System.ApplicationException] No arguments were provided to command [Open Certificate Document].
    | at Delta.CertXplorer.Commanding.BaseCommand1.ParseArguments(Object[] arguments) | at Delta.CertXplorer.Commanding.BaseCommand1.Run(IVerb verb, Object[] arguments)
    | at Delta.CertXplorer.Commanding.Commands.ExecuteCommand(Type commandType, IVerb verb, Object[] arguments)
    | at Delta.CertXplorer.Commanding.Commands.RunVerbImpl(IVerb verb, Object[] arguments, Type firstArgumentType)
    | at Delta.CertXplorer.Commanding.Commands.RunVerb[T](IVerb verb, T[] arguments)
    | at Delta.CertXplorer.Commanding.Commands.RunVerb(IVerb verb, Object[] arguments)
    | at Delta.CertXplorer.Chrome.b__3(Object s, EventArgs e)
    | at Delta.CertXplorer.UI.Actions.UIAction.OnRun(EventArgs e)
    | at Delta.CertXplorer.UI.Actions.UIAction.DoRun()
    | at Delta.CertXplorer.UI.Actions.UIAction.HandleClick(Object sender, EventArgs e)
    | at Delta.CertXplorer.UI.Actions.UIAction.target_Click(Object sender, EventArgs e)
    | at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
    | at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
    | at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
    | at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    | at System.Windows.Forms.Control.WndProc(Message& m)
    | at System.Windows.Forms.ToolStrip.WndProc(Message& m)
    | at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

This issue was migrated from issue #11 in former Delta repository
Originally created by @odalet and assigned to @odalet
Originally created at 2013-10-04T16:29:38+00:00
Originally updated at 2013-10-05T22:25:30+00:00
Originally closed at 2013-10-05T22:25:30+00:00
Original url: https://api.github.com/repos/odalet/Delta/issues/11

CapiNet - Support Certificate Trust Lists

Should be similar to CRLs:

This issue was migrated from issue #8 in former Delta repository
Originally created by @odalet and assigned to @odalet
Originally created at 2013-09-29T16:49:37+00:00
Originally updated at 2013-10-05T22:25:30+00:00
Originally closed at 2013-10-05T22:25:30+00:00
Original url: https://api.github.com/repos/odalet/Delta/issues/8

CertXplorer - OverflowException when trying to print

When trying to print (or print preview) from the log box (or the crypto helper plugin)
An OverflowException is raised in PrintableRichTextBox.cs line 109:

System.OverflowException was unhandled by user code
  HResult=-2146233066
  Message=Arithmetic operation resulted in an overflow.
  Source=mscorlib
  StackTrace:
       at System.IntPtr.op_Explicit(IntPtr value)
       at Delta.CertXplorer.UI.PrintableRichTextBox.Print(Int32 charFrom, Int32 charTo, PrintPageEventArgs e) in d:\HOME\Delta.Cryptography\Delta.CertXplorer\src\Delta.CertXplorer.Core\UI\PrintableRichTextBox.cs:line 109
       at Delta.CertXplorer.UI.PrintableRichTextBox.OnPrintPage(Object sender, PrintPageEventArgs e) in d:\HOME\Delta.Cryptography\Delta.CertXplorer\src\Delta.CertXplorer.Core\UI\PrintableRichTextBox.cs:line 124
       at System.Drawing.Printing.PrintController.PrintLoop(PrintDocument document)
       at System.Drawing.Printing.PrintController.Print(PrintDocument document)
       at System.Drawing.Printing.PrintDocument.Print()
       at System.Windows.Forms.PrintPreviewControl.ComputePreview()
       at System.Windows.Forms.PrintPreviewControl.CalculatePageInfo()
  InnerException: 

Note: -2146233066 = 0x80131516 is HResult for COR_E_OVERFLOW.

CertXplorer - Use TypeDescriptionProvider

At the moment, dictionaries are not expanded in the property grid unless the following attribute is declared on top of the property:

[TypeConverter(typeof(ReadOnlyDictionaryConverter))]        

We should create a global TypeDesciptionProvider that would handle this automatically for all dictionaries. It would also allow to support other types.

Once this is done, rewrite the PemData class of the PemPlugin; it won't need any more the inner ComplexPemDataclass.

It may also be useful to get rid of the various wrappers in Delta.CertXplorer\CertManagers\Wrappers as they only exist so that the property grid supports the wrapped types.

Inspiration should be found in the Hawkeye2 source code as it makes extensive use of TypeDesciptionProvider.

CapiNet - Should support Comment line in pem files

CertXplorer (therefore CapiNet) can't read my github public key... This is because between the Begin tag and the base64 data is a comment line:

---- BEGIN SSH2 PUBLIC KEY ----
Comment: "odalet@PC_ODALET"
AA...dYy1M=
---- END SSH2 PUBLIC KEY ----

Allow X509 files opened from the file system to be displayed in a UI similar to the certificates view

When one opens a file in CertXplorer, the file is opened in the ASN1 viewer and only in it. It'd be great if X509 files could open in an UI similar to the Certificates tab. This way we could examine all its properties the same way as for X509 objects in Windows Certificates Store.

One way to do this would be to create a "virtual" Certificate Store named "File System" for example where dropped files that are X509 (or similar: csr for example...) would appear. Then they would appear in the same tab as other certificates.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.