• Login
sketchucation logo sketchucation
  • Login
πŸ€‘ SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

Extension Signing

Scheduled Pinned Locked Moved Developers' Forum
30 Posts 5 Posters 3.7k Views 5 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.
  • D Offline
    Dan Rathbun
    last edited by 18 Nov 2016, 20:18

    Questions about the operation (correct or incorrect) of the Extension Warehouse are best asked in the official forum:
    http://forums.sketchup.com/c/extension-warehouse

    Those responsible are more likely to see the post there.

    That said, The "agree to terms" checkbox issue seems to have come last month, but I thought it was fixed.

    I'm not here much anymore.

    1 Reply Last reply Reply Quote 0
    • M Offline
      medeek
      last edited by 19 Nov 2016, 18:38

      I just found an interesting issue this morning as I am further testing my plugin (Medeek Truss Plugin) with SU 2017. I have a sub folder called "logs" that I have placed some log files into (within my extension subfolder). These are updated when the plugin is used to create truss or rafter roofs, essentially keeping count of how many times the plugin is used to generate certain roof types.

      When the plugin/extension is installed new these log files agree with hash and the plugin signature is valid however as soon as I write to these logfiles and change them in any way this causes the signature to appear as invalid in the extension manager.

      These two files are named:

      ROOF_TRUSS_LOG.txt
      ROOF_RAFTERS_LOG.txt

      What would be the appropriate work around for this issue? Should I be storing these text log files in a different location?

      Nathaniel P. Wilkerson PE
      Medeek Engineering Inc
      design.medeek.com

      1 Reply Last reply Reply Quote 0
      • T Offline
        TIG Moderator
        last edited by 19 Nov 2016, 19:46

        Unless they haven't told us developers ??

        The signing process is meant to 'hash' the contents of the following [initial] file-types:
        rb
        rbs
        rbe
        js
        htm
        html
        css
        [Until representations were made at the outset of v2016, only rb* files were being hashed and other potentially malicious file-types could slip through...]
        Other file-types in the subfolder should be ignored.
        Also any new file-types [including those like the initially-hashed ones] which are added into the subfolder 'post-signing' should be ignored ??

        Someone at Trimble like to comment...
        Any more onerous changes have not been well explained 😲

        PS: Of course you can also write files into a Temp folder...

        TIG

        1 Reply Last reply Reply Quote 0
        • M Offline
          medeek
          last edited by 19 Nov 2016, 21:42

          The signing process appears to be hashing my log files (.txt)

          Nathaniel P. Wilkerson PE
          Medeek Engineering Inc
          design.medeek.com

          1 Reply Last reply Reply Quote 0
          • D Offline
            Dan Rathbun
            last edited by 19 Nov 2016, 21:59

            Well, then do not put them into the package until after signing ?

            Or save your logs in a version independent folder like:
            "%APPDATA%/Medeek/SketchUp/TrussPlugin"

            I'm not here much anymore.

            1 Reply Last reply Reply Quote 0
            • T Offline
              thomthom
              last edited by 21 Nov 2016, 11:46

              The signing shouldn't be including your .txt files. Can you send me an example?

              In general I'd recommend you thread the Plugins folder like Windows' Program Files folder. If you have configuration files etc save them to the user's AppData. The extension update mechanism remove the old extension before copying over the new files. So that would also be an issue for you.

              Thomas Thomassen β€” SketchUp Monkey & Coding addict
              List of my plugins and link to the CookieWare fund

              1 Reply Last reply Reply Quote 0
              • M Offline
                medeek
                last edited by 21 Nov 2016, 13:50

                The plugin in question right now is my Medeek Truss Plugin. You can download it here:

                http://design.medeek.com/calculator/sketchup/medeek_truss_ext.rbz

                Nathaniel P. Wilkerson PE
                Medeek Engineering Inc
                design.medeek.com

                1 Reply Last reply Reply Quote 0
                • T Offline
                  thomthom
                  last edited by 21 Nov 2016, 20:43

                  I heard from one of my coworkers that there appear to be an issue there the signing/uploading can fail at times when there are higher volume of traffic. I experienced this myself today when I tried to upload. At first I was getting just errors, but when I tried later with the same RBZ it worked fine.

                  A fix is being worked on.

                  Thomas Thomassen β€” SketchUp Monkey & Coding addict
                  List of my plugins and link to the CookieWare fund

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    medeek
                    last edited by 21 Nov 2016, 23:13

                    It took me about 15 tries before I got it to take the other night. Hopefully there is a resolution since this becomes annoying very quickly. It does not seem to be dependent on the encryption type selected.

                    Nathaniel P. Wilkerson PE
                    Medeek Engineering Inc
                    design.medeek.com

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      thomthom
                      last edited by 22 Nov 2016, 10:45

                      We think we have the cause identified.

                      Thomas Thomassen β€” SketchUp Monkey & Coding addict
                      List of my plugins and link to the CookieWare fund

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        thomthom
                        last edited by 22 Nov 2016, 11:15

                        Ugh... I'm suffering from this myself right now. 😞

                        Thomas Thomassen β€” SketchUp Monkey & Coding addict
                        List of my plugins and link to the CookieWare fund

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          tomasz
                          last edited by 22 Nov 2016, 12:23

                          I have had this in beta and have reported it. My solution was to use a different browser then Firefox. Unfortunately even Edge was failing sometimes.
                          It doesn't matter what is the content of rbz file. The signing fails even with the simplest rbz you can think of.

                          Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            medeek
                            last edited by 22 Nov 2016, 15:09

                            I'm not glad it is failing but I am glad that others have identified the issue and it is just not me going crazy or trying to submit flawed .rbz files. Thank-you for looking into this and working on a resolution.

                            Nathaniel P. Wilkerson PE
                            Medeek Engineering Inc
                            design.medeek.com

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              thomthom
                              last edited by 23 Nov 2016, 21:05

                              We rolled out a patch we think should fix this issue.

                              Thomas Thomassen β€” SketchUp Monkey & Coding addict
                              List of my plugins and link to the CookieWare fund

                              1 Reply Last reply Reply Quote 0
                              • T Offline
                                tomasz
                                last edited by 24 Nov 2016, 15:06

                                @thomthom said:

                                We rolled out a patch we think should fix this issue.

                                Thanks. I confirm that the fix works for me. I can sign a plugin using Google account from Firefox without a problem.

                                Author of [Thea Render for SketchUp](http://www.thearender.com/sketchup)

                                1 Reply Last reply Reply Quote 0
                                • M Offline
                                  medeek
                                  last edited by 27 Nov 2016, 07:29

                                  Its working great now, I'm using Chrome as my browser and zipping the files with Windows 7.

                                  Nathaniel P. Wilkerson PE
                                  Medeek Engineering Inc
                                  design.medeek.com

                                  1 Reply Last reply Reply Quote 0
                                  • 1
                                  • 2
                                  • 2 / 2
                                  2 / 2
                                  • First post
                                    24/30
                                    Last post
                                  Buy SketchPlus
                                  Buy SUbD
                                  Buy WrapR
                                  Buy eBook
                                  Buy Modelur
                                  Buy Vertex Tools
                                  Buy SketchCuisine
                                  Buy FormFonts

                                  Advertisement