Community
    • Login

    Error build SciLexer.dll with boost

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    20 Posts 2 Posters 4.7k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • andrecool-68A Offline
      andrecool-68 @Ekopalypse
      last edited by

      @Ekopalypse The debug build works without a certificate error))

      EkopalypseE 1 Reply Last reply Reply Quote 2
      • EkopalypseE Offline
        Ekopalypse @andrecool-68
        last edited by

        @andrecool-68

        Yes, great - that is expected

        andrecool-68A 1 Reply Last reply Reply Quote 1
        • andrecool-68A Offline
          andrecool-68 @Ekopalypse
          last edited by

          @Ekopalypse The author himself will add a signature to the next build project … did I understand you correctly?

          EkopalypseE 2 Replies Last reply Reply Quote 2
          • EkopalypseE Offline
            Ekopalypse @andrecool-68
            last edited by Ekopalypse

            @andrecool-68

            Yes, if you refer to the release build.
            Debug builds will never have such a signature to allow code contributors to easily test there changes/modifications. That’s my understanding.

            Edit: With release build I mean the binaries delivered by either the installation or a portable zip.

            1 Reply Last reply Reply Quote 2
            • EkopalypseE Offline
              Ekopalypse @andrecool-68
              last edited by

              @andrecool-68

              My lunch break is over - I will follow up later today.

              andrecool-68A 1 Reply Last reply Reply Quote 1
              • andrecool-68A Offline
                andrecool-68 @Ekopalypse
                last edited by

                @Ekopalypse Discussio mater veritas est

                EkopalypseE 2 Replies Last reply Reply Quote 1
                • EkopalypseE Offline
                  Ekopalypse @andrecool-68
                  last edited by

                  @andrecool-68 or better In vino veritas :-D

                  1 Reply Last reply Reply Quote 2
                  • EkopalypseE Offline
                    Ekopalypse @andrecool-68
                    last edited by

                    @andrecool-68
                    I found this commit and it looks like that this is the area
                    where one would need to hack around to create its own key but as said, I don’t really know how this certificates stuff work, yet.

                    andrecool-68A 1 Reply Last reply Reply Quote 3
                    • andrecool-68A Offline
                      andrecool-68 @Ekopalypse
                      last edited by

                      @Ekopalypse

                      Interesting things, there is a GPG public key
                      https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/nppGpgPub.asc
                      But after building projects SciLexer.dll and notepad ++.exe

                      When starting notepad ++.exe an error appears
                      Authenticode check failed: signing certificate or hash is not recognized

                      Where is the truth hiding?

                      1 Reply Last reply Reply Quote 1
                      • andrecool-68A Offline
                        andrecool-68
                        last edited by

                        Maybe I have some components missing in Visual Studio 2017?

                        {
                        	"version": "1.0",
                        	"components": [
                        		"Microsoft.VisualStudio.Workload.NativeDesktop",
                        		"microsoft.visualstudio.component.vc.cmake.project",
                        		"microsoft.visualstudio.componentgroup.nativedesktop.win81",
                        		"microsoft.visualstudio.componentgroup.nativedesktop.winxp",
                        		"microsoft.visualstudio.component.vc.atlmfc",
                        		"microsoft.visualstudio.component.windows10sdk.10586",
                        		"microsoft.visualstudio.component.vc.140"
                        	]
                        }
                        
                        EkopalypseE 1 Reply Last reply Reply Quote 0
                        • EkopalypseE Offline
                          Ekopalypse @andrecool-68
                          last edited by Ekopalypse

                          @andrecool-68

                          I don’t think that you are missing something regarding the certification process.
                          It is expected that you cannot build a release version and use it with a non-signed scintilla dll.
                          Only debug builds can be used in this manner unless you change the code in the release build.

                          The way it works, as far as I understand, is like this.

                          You build a release version of scintilla.
                          You sign the scintilla dll with your private key.
                          You put the public key, which is one result from signing the dll, into notepad++ and build the release version.
                          Now on startup, I assume, it won’t report that error.

                          The exact details on how to do it, I haven’t figured out yet.
                          There are still too many open questions for me about the whole PKI thinggy.

                          andrecool-68A 2 Replies Last reply Reply Quote 1
                          • andrecool-68A Offline
                            andrecool-68 @Ekopalypse
                            last edited by

                            @Ekopalypse
                            I did not understand where to put this key before building the project.

                            1 Reply Last reply Reply Quote 0
                            • andrecool-68A Offline
                              andrecool-68 @Ekopalypse
                              last edited by

                              @Ekopalypse

                              https://github.com/notepad-plus-plus/notepad-plus-plus/blob/master/README.md
                              In the README file, I cannot understand what exactly needs to be done with this public key.

                              1 Reply Last reply Reply Quote 0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • First post
                                Last post
                              The Community of users of the Notepad++ text editor.
                              Powered by NodeBB | Contributors