# Include signature field in preview json

**URL:** <https://community.transloadit.com/t/include-signature-field-in-preview-json/18170>\
**Category:** Transloadit\
**Tags:** tender-archive\
**Created:** [August 13, 2013, 12:30am UTC](https://community.transloadit.com/t/include-signature-field-in-preview-json/18170 "2013-08-13T00:30:00Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jacob\_Lyles](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jacob\_Lyles](https://community.transloadit.com/u/Jacob_Lyles)\
**Post date:** [August 13, 2013, 12:30am UTC](https://community.transloadit.com/t/include-signature-field-in-preview-json/18170/1 "2013-08-13T00:30:00Z")

</div>

> Archived from the Transloadit support forum. Originally posted on August 13, 2013; details may be outdated, see [our docs](https://transloadit.com/docs/) for current behavior. [Original thread](https://web.archive.org/web/20140612022050/http://support.transloadit.com/discussions/suggestions/9120-include-signature-field-in-preview-json)

Hello,

We are having some trouble debugging a signature error with an assembly notification. However, the json link on the assembly page does not show this field. It would help us to debug if it were included!

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [August 13, 2013, 12:34am UTC](https://community.transloadit.com/t/include-signature-field-in-preview-json/18170/2 "2013-08-13T00:34:00Z")

</div>

Hey Jacob,

alright, thanks for the heads up. We’ll add that today.

Kind regards,  
Tim

Co-Founder Transloadit  
@tim\_kos

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [September 2, 2013, 1:26pm UTC](https://community.transloadit.com/t/include-signature-field-in-preview-json/18170/3 "2013-09-02T13:26:00Z")

</div>

Hey Jacob,

sorry for the long delay here. This was mainly because the problem turned out to be much harder, and then I was on vacation until September 1st. Sorry for not getting back to your earlier.

The problem here is that we cannot simply add it to the assembly status JSON. That would open a big security hole, as 3rd parties could just submit an assembly on your site, then check the status JSON of that failed assembly, read out the expected\_signature field and resubmit the same assemblies with the same params and the proper signature. That would make the signature authentication useless.

What we could do is we add a new field to our assemblies table that saves the expected\_signature. Then we can display it on assembly detail pages on our website. Via that we can assure that only people knowing your account (and thus they know your secret anyway) can see expected signatures. This would unfortunately mean a database migration with downtime, since adding new fields blocks table writes (we need to upgrade MySQL to prevent that).

Another option that I see is that we just calculate the signature on-the-fly in the website code and display it there. However, there are differences between NodeJS and PHP signature calculations as you and Kevin found out. Also, this would mean that the calculation logic is both in the website code and in the API code.

The last option I see is that we could make a secret API endpoint that allows you to calculate signatures for assemblies. It requires an admin account id (for example my account), and the request must be signed (with the admin account’s secret). That should work fine in theory, but feels a little bad as well.

Not saying we don’t want to solve this - we totally do. Just letting you know why this has taken so long and asking if you still need help here. We are still figuring what the best move here would be.

Kind regards,  
Tim

Co-Founder Transloadit  
@tim\_kos

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [September 30, 2013, 6:51am UTC](https://community.transloadit.com/t/include-signature-field-in-preview-json/18170/4 "2013-09-30T06:51:00Z")

</div>

Hey Jacob,

I think a much better solution here would be to add a new page on the page where you enable signature authentication that provides you with a form to enter your params, and then calculates the signature on-the-fly for you for testing. It is not ideal as it would require copy/pasting your parameters from your template and your custom parameters into that form field, but it’s a secure solution to test signature, unlike adding the signature to the assembly status.

Please let me know what you think. We have figured out the signature trouble in the meantime so you might not even need this anymore. It seems to be a good idea to me regardless for new users.

Kind regards,  
Tim

Co-Founder Transloadit  
@tim\_kos

---

<div class="post-metadata">

**Author:** ![Jacob\_Lyles](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jacob\_Lyles](https://community.transloadit.com/u/Jacob_Lyles)\
**Post date:** [October 1, 2013, 5:59pm UTC](https://community.transloadit.com/t/include-signature-field-in-preview-json/18170/5 "2013-10-01T17:59:00Z")

</div>

Hi Tim,

I hope we don’t have any more difficulties with signatures in the future, but it is possible that there will be some. Some way to get the expected signature will help with debugging. Probably the best option from a user perspective is displaying the expected signature on the assembly page. But if that is difficult to do, then something else would also be useful.

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [October 7, 2013, 1:15pm UTC](https://community.transloadit.com/t/include-signature-field-in-preview-json/18170/6 "2013-10-07T13:15:00Z")

</div>

Yeah, I added that to our todo. We’ll implement this.

Thanks again for the suggestion.

Kind regards,  
Tim

Co-Founder Transloadit  
@tim\_kos

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [October 14, 2013, 12:44pm UTC](https://community.transloadit.com/t/include-signature-field-in-preview-json/18170/7 "2013-10-14T12:44:00Z")

</div>

Hey Jacob,

we added some signature fixtures on [https://transloadit.com/accounts/credentials](https://transloadit.com/accounts/credentials) There is a new “Testing” section that will show them.

I hope you haven’t had any more signature problems in the meantime.

Kind regards,  
Tim

Co-Founder Transloadit  
@tim\_kos

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [October 14, 2013, 12:44pm UTC](https://community.transloadit.com/t/include-signature-field-in-preview-json/18170/8 "2013-10-14T12:44:00Z")

</div>

Closing this again.

---

<div class="post-metadata">

**Author:** ![Jacob\_Lyles](https://avatars.discourse-cdn.com/v4/letter/j/c6cbf5/32.png) [@Jacob\_Lyles](https://community.transloadit.com/u/Jacob_Lyles)\
**Post date:** [October 14, 2013, 5:42pm UTC](https://community.transloadit.com/t/include-signature-field-in-preview-json/18170/9 "2013-10-14T17:42:00Z")

</div>

Thanks Tim. This sounds great.

---

<div class="post-metadata">

**Author:** ![tim-kos](https://avatars.discourse-cdn.com/v4/letter/t/bbe5ce/32.png) [@tim-kos](https://community.transloadit.com/u/tim-kos)\
**Post date:** [October 21, 2013, 9:50am UTC](https://community.transloadit.com/t/include-signature-field-in-preview-json/18170/10 "2013-10-21T09:50:00Z")

</div>

Closing.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex032/uploads/transloadit/original/1X/04ee57da0cb7ac8728a9ac5965c288164f4ce280.svg) [@system](https://community.transloadit.com/u/system)\
**Post date:** [October 7, 2026, 10:23am UTC](https://community.transloadit.com/t/include-signature-field-in-preview-json/18170/11 "2026-10-07T10:23:51Z")

</div>

Closed on October 7, 2026, 10:23am UTC


