<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Using modem JWT to encode arbitrary payload</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/112102/using-modem-jwt-to-encode-arbitrary-payload</link><description>I need to send a JWT to a non-nordic server. They ask for a small struct to be encoded and sent as a string in a larger MQTT message. For example: 
 
 That struct is encoded in the JWT, and is THEN put as part of a string in an MQTT message. I was looking</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 18 Jun 2024 10:53:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/112102/using-modem-jwt-to-encode-arbitrary-payload" /><item><title>RE: Using modem JWT to encode arbitrary payload</title><link>https://devzone.nordicsemi.com/thread/489259?ContentTypeID=1</link><pubDate>Tue, 18 Jun 2024 10:53:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a022afd4-54e5-44f5-ae52-a43431b23285</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;The current support we have is only AT%JWT, and these&amp;nbsp;&lt;span&gt;JWT tokens generated by the modem,&lt;/span&gt;&amp;nbsp;do not support adding any custom information unfortunately.&amp;nbsp;&lt;span&gt;Zephyr has JWT and JSON libraries as well, however, these do not utilize the modem secure tags.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I will add this as a feature request. Unfortunately no timeline available for when or if this will be supported.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using modem JWT to encode arbitrary payload</title><link>https://devzone.nordicsemi.com/thread/488921?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 18:58:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad42b2ac-cae8-46ef-8916-1d2f2ddd9d9e</guid><dc:creator>proto_steve</dc:creator><description>&lt;p&gt;In talks with our customer, we can de-escellate this issue, as we have a work around.&amp;nbsp; However, this would be a REALLY nice to have feature, and if it already exists I&amp;#39;d like to know about it.&amp;nbsp; By way of example, the python jwt library lets you stringify anything and pass it in with a cert for encryption.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using modem JWT to encode arbitrary payload</title><link>https://devzone.nordicsemi.com/thread/488911?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 16:42:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e59773af-1e5d-45f6-827f-16af1ec0ea2c</guid><dc:creator>proto_steve</dc:creator><description>&lt;p&gt;We&amp;#39;re on 1.3.5 currently.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using modem JWT to encode arbitrary payload</title><link>https://devzone.nordicsemi.com/thread/488808?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2024 07:49:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44fdeaa4-ef58-4d1c-a6cf-97de02fb9b02</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will need to discuss this with out nRF91-series developers with regards to what is possible using the &lt;a href="https://docs.nordicsemi.com/bundle/ref_at_commands/page/REF/at_commands/security/jwt.html"&gt;Creating JWT (AT%JWT) command&lt;/a&gt;&lt;span&gt;&amp;nbsp;or the &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/modem/modem_jwt.html"&gt;Modem JWT library&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What modem FW are you running on your device? Assuming mfw 1.3.x&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using modem JWT to encode arbitrary payload</title><link>https://devzone.nordicsemi.com/thread/488743?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2024 19:35:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7649ff70-043a-4527-bc5e-b1ac73e11e78</guid><dc:creator>proto_steve</dc:creator><description>&lt;p&gt;I guess while I have someone with nrf/JWT experience reading, I also need to decrypt a JWT against the pub cert in one of the sec tags.&amp;nbsp; I see no library support for that, am I wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>