Skip to content

Commit 3b0be14

Browse files
btiteuxveler
andauthored
Features/jwt decoder encoder tool update (DevToys-app#645)
* added jwt encoder and jwt decoder signature verification * reworked jwt decoder / encoder * updated following comments * fixed small bug on ui * Fixed a bug in CustomTextBox * update token date to use UTC * updated for some small ui fixes Co-authored-by: Etienne BAUDOUX <ebaudoux@velersoftware.com>
1 parent e9b2598 commit 3b0be14

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+4713
-271
lines changed

THIRD-PARTY-NOTICES.md

+76-46
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
1-
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
1+
# THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
22

33
This project incorporates components from the projects listed below. The original copyright notices and the licenses under which Etienne Baudoux received such components are set forth below. Etienne Baudoux reserves all rights not expressly granted herein, whether by implication, estoppel or otherwise.
44

5-
1. Newtonsoft.Json (https://github.com/JamesNK/Newtonsoft.Json)
6-
2. GitInfo (https://github.com/devlooped/GitInfo)
7-
3. Windows Community Toolkit (https://github.com/CommunityToolkit/WindowsCommunityToolkit)
8-
4. YamlDotNet (https://github.com/aaubry/YamlDotNet)
9-
5. Fluent UI System Icons (https://github.com/microsoft/fluentui-system-icons)
10-
6. Monaco Editor (https://github.com/Microsoft/monaco-editor)
11-
7. Monaco Editor UWP (https://github.com/hawkerm/monaco-editor-uwp)
12-
8. Observable Vector (https://github.com/jamesqo/observable-vector)
13-
9. Azure Active Directory IdentityModel Extensions for .NET (https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet)
14-
10. Markdig (https://github.com/xoofx/markdig)
15-
11. github-markdown-css (https://github.com/sindresorhus/github-markdown-css)
16-
12. Efficient Compression Tool (https://github.com/fhanau/Efficient-Compression-Tool)
17-
13. NLipsum (https://github.com/alexcpendleton/NLipsum)
18-
14. SQL Formatter (https://github.com/zeroturnaround/sql-formatter)
19-
15. Cronos (https://github.com/HangfireIO/Cronos)
20-
21-
Newtonsoft.Json NOTICES AND INFORMATION BEGIN HERE
5+
1. [Newtonsoft.Json](#newtonsoftjson) (<https://github.com/JamesNK/Newtonsoft.Json>)
6+
2. [GitInfo](#gitinfo) (<https://github.com/devlooped/GitInfo>)
7+
3. [Windows Community Toolkit](#windows-community-toolkit) (<https://github.com/CommunityToolkit/WindowsCommunityToolkit>)
8+
4. [YamlDotNet](#yamldotnet) (<https://github.com/aaubry/YamlDotNet>)
9+
5. [Fluent UI System Icons](#fluent-ui-system-icons) (<https://github.com/microsoft/fluentui-system-icons>)
10+
6. [Monaco Editor](#monaco-editor) (<https://github.com/Microsoft/monaco-editor>)
11+
7. [Monaco Editor UWP](#monaco-editor-uwp) (<https://github.com/hawkerm/monaco-editor-uwp>)
12+
8. [Observable Vector](#observable-vector) (<https://github.com/jamesqo/observable-vector>)
13+
9. [Azure Active Directory IdentityModel Extensions for .NET](#azure-active-directory-identitymodel-extensions-for-net) (<https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet>)
14+
10. [Markdig](#markdig) (<https://github.com/xoofx/markdig>)
15+
11. [github-markdown-css](#github-markdown-css) (<https://github.com/sindresorhus/github-markdown-css>)
16+
12. [Efficient Compression Tool](#efficient-compression-tool) (<https://github.com/fhanau/Efficient-Compression-Tool>)
17+
13. [NLipsum](#nlipsum) (<https://github.com/alexcpendleton/NLipsum>)
18+
14. [SQL Formatter](#sql-formatter) (<https://github.com/zeroturnaround/sql-formatter>)
19+
15. [Cronos](#cronos) (<https://github.com/HangfireIO/Cronos>)
20+
16. [BouncyCastle](#bouncy-castle) (<https://www.bouncycastle.org/>)
21+
22+
Newtonsoft.Json
2223
=========================================
24+
2325
The MIT License (MIT)
2426

2527
Copyright (c) 2007 James Newton-King
@@ -41,8 +43,9 @@ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
4143
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
4244
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4345

44-
GitInfo NOTICES AND INFORMATION BEGIN HERE
46+
GitInfo
4547
=========================================
48+
4649
The MIT License (MIT)
4750

4851
Copyright (c) Daniel Cazzulino and Contributors
@@ -65,24 +68,24 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
6568
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
6669
SOFTWARE.
6770

68-
Windows Community Toolkit NOTICES AND INFORMATION BEGIN HERE
71+
Windows Community Toolkit
6972
=========================================
70-
# Windows Community Toolkit
7173

7274
Copyright © .NET Foundation and Contributors
7375

7476
All rights reserved.
7577

76-
## MIT License (MIT)
78+
# MIT License (MIT)
7779

7880
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7981

8082
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8183

8284
THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
8385

84-
YamlDotNet NOTICES AND INFORMATION BEGIN HERE
86+
YamlDotNet
8587
=========================================
88+
8689
Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013, 2014 Antoine Aubry and contributors
8790

8891
Permission is hereby granted, free of charge, to any person obtaining a copy of
@@ -103,8 +106,9 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
103106
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
104107
SOFTWARE.
105108

106-
Fluent UI System Icons NOTICES AND INFORMATION BEGIN HERE
109+
Fluent UI System Icons
107110
=========================================
111+
108112
MIT License
109113

110114
Copyright (c) 2020 Microsoft Corporation
@@ -127,8 +131,9 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
127131
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
128132
SOFTWARE.
129133

130-
Monaco Editor NOTICES AND INFORMATION BEGIN HERE
134+
Monaco Editor
131135
=========================================
136+
132137
The MIT License (MIT)
133138

134139
Copyright (c) 2016 - present Microsoft Corporation
@@ -139,8 +144,9 @@ The above copyright notice and this permission notice shall be included in all c
139144

140145
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
141146

142-
Monaco Editor UWP NOTICES AND INFORMATION BEGIN HERE
147+
Monaco Editor UWP
143148
=========================================
149+
144150
Copyright 2017 Michael A. Hawker
145151

146152
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
@@ -149,8 +155,9 @@ The above copyright notice and this permission notice shall be included in all c
149155

150156
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
151157

152-
Observable Vector NOTICES AND INFORMATION BEGIN HERE
158+
Observable Vector
153159
=========================================
160+
154161
The MIT License (MIT)
155162

156163
Copyright (c) 2016 James Ko
@@ -173,8 +180,9 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
173180
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
174181
SOFTWARE.
175182

176-
Azure Active Directory IdentityModel Extensions for .NET NOTICES AND INFORMATION BEGIN HERE
183+
Azure Active Directory IdentityModel Extensions for .NET
177184
=========================================
185+
178186
The MIT License (MIT)
179187

180188
Copyright (c) Microsoft Corporation
@@ -197,46 +205,49 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
197205
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
198206
SOFTWARE.
199207

200-
Markdig NOTICES AND INFORMATION BEGIN HERE
208+
Markdig
201209
=========================================
210+
202211
Copyright (c) 2018-2019, Alexandre Mutel
203212
All rights reserved.
204213

205214
Redistribution and use in source and binary forms, with or without modification
206215
, are permitted provided that the following conditions are met:
207216

208-
1. Redistributions of source code must retain the above copyright notice, this
217+
1. Redistributions of source code must retain the above copyright notice, this
209218
list of conditions and the following disclaimer.
210219

211-
2. Redistributions in binary form must reproduce the above copyright notice,
212-
this list of conditions and the following disclaimer in the documentation
220+
2. Redistributions in binary form must reproduce the above copyright notice,
221+
this list of conditions and the following disclaimer in the documentation
213222
and/or other materials provided with the distribution.
214223

215-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
216-
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
217-
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
224+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
225+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
226+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
218227
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
219-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
220-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
221-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
228+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
229+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
230+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
222231
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
223-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
232+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
224233
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
225234

226-
github-markdown-css NOTICES AND INFORMATION BEGIN HERE
235+
github-markdown-css
227236
=========================================
237+
228238
MIT License
229239

230-
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
240+
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (<<https://sindresorhus.com>)
231241

232242
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
233243

234244
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
235245

236246
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
237247

238-
Efficient Compression Tool NOTICES AND INFORMATION BEGIN HERE
248+
Efficient Compression Tool
239249
=========================================
250+
240251
Apache License
241252
Version 2.0, January 2004
242253
http://www.apache.org/licenses/
@@ -439,8 +450,9 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
439450
See the License for the specific language governing permissions and
440451
limitations under the License.
441452

442-
NLipsum NOTICES AND INFORMATION BEGIN HERE
453+
NLipsum
443454
=========================================
455+
444456
The MIT License (MIT)
445457

446458
Copyright (c) 2015 Alex Pendleton
@@ -462,8 +474,9 @@ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
462474
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
463475
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
464476

465-
SQL Formatter NOTICES AND INFORMATION BEGIN HERE
477+
SQL Formatter
466478
=========================================
479+
467480
The MIT License (MIT)
468481

469482
Copyright (c) 2016-2020 ZeroTurnaround LLC
@@ -487,8 +500,9 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
487500
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
488501
SOFTWARE.
489502

490-
Cronos NOTICES AND INFORMATION BEGIN HERE
503+
Cronos
491504
=========================================
505+
492506
The MIT License (MIT)
493507

494508
Copyright (c) 2017 Hangfire OÜ
@@ -509,4 +523,20 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
509523
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
510524
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
511525
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
512-
SOFTWARE.
526+
SOFTWARE.
527+
528+
Bouncy Castle
529+
=========================================
530+
531+
Please note this should be read in the same way as the [MIT license](<<http://opensource.org/licenses/MIT>).
532+
533+
Please also note this licensing model is made possible through funding from [donations](<<https://www.bouncycastle.org/donate>) and the sale of [support contracts](<<https://www.cryptoworkshop.com/support_faq.html>).
534+
535+
LICENSE
536+
Copyright (c) 2000 - 2021 The Legion of the Bouncy Castle Inc. (<<https://www.bouncycastle.org>)
537+
538+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
539+
540+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
541+
542+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

src/Directory.Build.props

+1
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@
3737
<NuGet_YamlDotNet>11.2.1</NuGet_YamlDotNet>
3838
<NuGet_IdentityModelTokenJwt>6.13.1</NuGet_IdentityModelTokenJwt>
3939
<NuGet_NLipsum>1.1.0</NuGet_NLipsum>
40+
<NuGet_BouncyCastleNetCore>1.9.0</NuGet_BouncyCastleNetCore>
4041
</PropertyGroup>
4142
</Project>

0 commit comments

Comments
 (0)