Compare commits

..
Author SHA1 Message Date
sharevb 6b660bf436 Merge branch 'main' into feat/smart-raw-errors-conv 2024-10-06 16:58:57 +02:00
sharevb 7a83b35adb feat(new tool): Smart Raw Error Converter
Fix #1197
2024-10-06 16:55:25 +02:00
Corentin THOMASSET f962c416a3 chore(sponsors): fern sponsor banners (#1314)
* chore(sponsors): readme banner

* chore(sponsors): app sponsor
2024-10-03 00:01:09 +02:00
Corentin THOMASSET 1c35ac3704 docs(author): updated author links (#1316) 2024-09-27 12:49:11 +00:00
Corentin Thomasset 72517002f3 refactor(regex-tester): better description 2024-09-27 10:40:56 +02:00
32 changed files with 180 additions and 2482 deletions

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
<svg width="910" height="141" viewBox="0 0 910 141" fill="none" xmlns="http://www.w3.org/2000/svg">
<rect x="2" y="31" width="908" height="80" rx="21" fill="#EEEEEE"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M217.052 53.2667H208.565H208.56C203.871 53.2667 201.157 55.6827 201.157 60.3219V63.2201H195.089V69.1128H201.157V87.0857H208.067V69.1128H215.569V63.2201H208.067V61.1415C208.067 59.738 208.855 59.1594 210.289 59.1594H217.052V53.2667ZM227.805 62.4981C220.599 62.4981 215.664 67.4267 215.664 75.0123H215.669C215.669 82.7425 220.605 87.8156 228.057 87.8156C234.273 87.8156 238.021 84.7246 239.455 79.989H232.396C231.75 81.2961 230.322 82.2121 228.101 82.2121C224.796 82.2121 222.772 80.5675 222.476 77.5729H239.75C239.848 76.5604 239.898 75.6872 239.898 74.8194C239.898 67.2338 235.012 62.4981 227.805 62.4981ZM232.938 72.3551V72.4516H222.427C222.624 69.6499 224.451 67.8124 227.805 67.8124C231.16 67.8124 232.938 69.6499 232.938 72.3551ZM242.313 63.2194H248.381V67.4246C248.972 64.7194 250.947 63.2194 254.055 63.2194H258.399V64.039C258.399 66.8408 256.079 69.1121 253.218 69.1121C250.504 69.1121 249.218 70.4675 249.218 73.1728V87.0905H242.307V63.2194H242.313ZM266.905 63.2207H260.837H260.832V87.0865H267.743V73.5116C267.743 70.4689 269.57 68.5831 272.333 68.5831C275.096 68.5831 276.579 70.1313 276.579 73.3188V87.0918H283.49V72.5956C283.49 66.2688 279.736 62.4975 273.767 62.4975C270.954 62.4975 268.339 63.5582 266.905 65.6368V63.2207Z" fill="#081008"/>
<path d="M185.65 70.1737C183.328 68.2517 179.83 67.4813 176.73 69.725C176.587 69.8265 176.41 69.653 176.518 69.5175C177.253 68.5904 178.105 67.5914 178.792 66.588C179.492 65.5594 180.539 64.8228 181.745 64.463C188.166 62.558 186.238 53.27 186.238 53.27C186.238 53.27 176.319 53.8965 177.542 62.2743C177.746 63.6755 177.365 65.1022 176.47 66.2156C175.372 67.5745 174.096 68.8741 173.171 69.8139C172.976 70.0086 172.648 69.8223 172.726 69.5599C173.621 66.6093 174.274 62.0457 171.173 59.1036L166.811 55.556L165.972 56.6397C163.477 59.8614 164.208 64.4037 167.502 66.842C169.392 68.2391 170.248 69.7589 170.114 71.4268C170.032 72.4258 169.569 73.3614 168.877 74.1023C167.576 75.4992 166.361 76.9979 165.423 78.7335C165.293 78.9748 164.917 78.8817 164.93 78.6065C165.064 75.7405 164.783 69.2805 159.854 66.9733L154.336 64.8862L153.908 66.1351C152.52 70.1652 154.79 74.4705 158.902 75.8379C162.478 77.0274 163.754 79.2838 162.893 82.6663C162.854 82.789 162.232 86.273 162.318 87.8182H166.283C166.417 85.4221 168.986 83.8473 171.212 84.8252C171.839 85.1005 172.483 85.4941 173.145 86.0022C176.691 88.7369 181.914 88.0892 184.703 84.6136L185.498 83.623L180.483 80.0966C177.041 77.4466 172.449 78.6446 169.05 80.9136C168.765 81.1042 168.402 80.7994 168.562 80.4946C172.669 72.6036 178.009 72.6206 180.102 74.3732C182.64 76.4983 186.484 76.1173 188.637 73.6238L189.256 72.9085L185.645 70.1737H185.65Z" fill="#081008"/>
<path d="M335.88 65.105C334.91 65.105 334.015 64.88 333.195 64.43C332.385 63.97 331.74 63.335 331.26 62.525C330.79 61.705 330.555 60.785 330.555 59.765C330.555 58.745 330.79 57.83 331.26 57.02C331.74 56.21 332.385 55.58 333.195 55.13C334.015 54.67 334.91 54.44 335.88 54.44C336.86 54.44 337.755 54.67 338.565 55.13C339.385 55.58 340.03 56.21 340.5 57.02C340.97 57.83 341.205 58.745 341.205 59.765C341.205 60.785 340.97 61.705 340.5 62.525C340.03 63.335 339.385 63.97 338.565 64.43C337.755 64.88 336.86 65.105 335.88 65.105ZM335.88 63.62C336.57 63.62 337.185 63.465 337.725 63.155C338.265 62.835 338.685 62.385 338.985 61.805C339.295 61.215 339.45 60.535 339.45 59.765C339.45 58.995 339.295 58.32 338.985 57.74C338.685 57.16 338.265 56.715 337.725 56.405C337.185 56.095 336.57 55.94 335.88 55.94C335.19 55.94 334.575 56.095 334.035 56.405C333.495 56.715 333.07 57.16 332.76 57.74C332.46 58.32 332.31 58.995 332.31 59.765C332.31 60.535 332.46 61.215 332.76 61.805C333.07 62.385 333.495 62.835 334.035 63.155C334.575 63.465 335.19 63.62 335.88 63.62ZM346.353 58.13H344.823V65H343.098V58.13H342.123V56.735H343.098V56.15C343.098 55.2 343.348 54.51 343.848 54.08C344.358 53.64 345.153 53.42 346.233 53.42V54.845C345.713 54.845 345.348 54.945 345.138 55.145C344.928 55.335 344.823 55.67 344.823 56.15V56.735H346.353V58.13ZM351.333 58.13H349.803V65H348.078V58.13H347.103V56.735H348.078V56.15C348.078 55.2 348.328 54.51 348.828 54.08C349.338 53.64 350.133 53.42 351.213 53.42V54.845C350.693 54.845 350.328 54.945 350.118 55.145C349.908 55.335 349.803 55.67 349.803 56.15V56.735H351.333V58.13ZM360.424 60.665C360.424 60.975 360.404 61.255 360.364 61.505H354.049C354.099 62.165 354.344 62.695 354.784 63.095C355.224 63.495 355.764 63.695 356.404 63.695C357.324 63.695 357.974 63.31 358.354 62.54H360.199C359.949 63.3 359.494 63.925 358.834 64.415C358.184 64.895 357.374 65.135 356.404 65.135C355.614 65.135 354.904 64.96 354.274 64.61C353.654 64.25 353.164 63.75 352.804 63.11C352.454 62.46 352.279 61.71 352.279 60.86C352.279 60.01 352.449 59.265 352.789 58.625C353.139 57.975 353.624 57.475 354.244 57.125C354.874 56.775 355.594 56.6 356.404 56.6C357.184 56.6 357.879 56.77 358.489 57.11C359.099 57.45 359.574 57.93 359.914 58.55C360.254 59.16 360.424 59.865 360.424 60.665ZM358.639 60.125C358.629 59.495 358.404 58.99 357.964 58.61C357.524 58.23 356.979 58.04 356.329 58.04C355.739 58.04 355.234 58.23 354.814 58.61C354.394 58.98 354.144 59.485 354.064 60.125H358.639ZM363.816 57.935C364.066 57.515 364.396 57.19 364.806 56.96C365.226 56.72 365.721 56.6 366.291 56.6V58.37H365.856C365.186 58.37 364.676 58.54 364.326 58.88C363.986 59.22 363.816 59.81 363.816 60.65V65H362.106V56.735H363.816V57.935ZM371.19 60.83C371.19 60 371.36 59.265 371.7 58.625C372.05 57.985 372.52 57.49 373.11 57.14C373.71 56.78 374.375 56.6 375.105 56.6C375.645 56.6 376.175 56.72 376.695 56.96C377.225 57.19 377.645 57.5 377.955 57.89V53.9H379.68V65H377.955V63.755C377.675 64.155 377.285 64.485 376.785 64.745C376.295 65.005 375.73 65.135 375.09 65.135C374.37 65.135 373.71 64.955 373.11 64.595C372.52 64.225 372.05 63.715 371.7 63.065C371.36 62.405 371.19 61.66 371.19 60.83ZM377.955 60.86C377.955 60.29 377.835 59.795 377.595 59.375C377.365 58.955 377.06 58.635 376.68 58.415C376.3 58.195 375.89 58.085 375.45 58.085C375.01 58.085 374.6 58.195 374.22 58.415C373.84 58.625 373.53 58.94 373.29 59.36C373.06 59.77 372.945 60.26 372.945 60.83C372.945 61.4 373.06 61.9 373.29 62.33C373.53 62.76 373.84 63.09 374.22 63.32C374.61 63.54 375.02 63.65 375.45 63.65C375.89 63.65 376.3 63.54 376.68 63.32C377.06 63.1 377.365 62.78 377.595 62.36C377.835 61.93 377.955 61.43 377.955 60.86ZM389.501 60.665C389.501 60.975 389.481 61.255 389.441 61.505H383.126C383.176 62.165 383.421 62.695 383.861 63.095C384.301 63.495 384.841 63.695 385.481 63.695C386.401 63.695 387.051 63.31 387.431 62.54H389.276C389.026 63.3 388.571 63.925 387.911 64.415C387.261 64.895 386.451 65.135 385.481 65.135C384.691 65.135 383.981 64.96 383.351 64.61C382.731 64.25 382.241 63.75 381.881 63.11C381.531 62.46 381.356 61.71 381.356 60.86C381.356 60.01 381.526 59.265 381.866 58.625C382.216 57.975 382.701 57.475 383.321 57.125C383.951 56.775 384.671 56.6 385.481 56.6C386.261 56.6 386.956 56.77 387.566 57.11C388.176 57.45 388.651 57.93 388.991 58.55C389.331 59.16 389.501 59.865 389.501 60.665ZM387.716 60.125C387.706 59.495 387.481 58.99 387.041 58.61C386.601 58.23 386.056 58.04 385.406 58.04C384.816 58.04 384.311 58.23 383.891 58.61C383.471 58.98 383.221 59.485 383.141 60.125H387.716ZM394.379 63.47L396.719 56.735H398.534L395.384 65H393.344L390.209 56.735H392.039L394.379 63.47ZM407.401 60.665C407.401 60.975 407.381 61.255 407.341 61.505H401.026C401.076 62.165 401.321 62.695 401.761 63.095C402.201 63.495 402.741 63.695 403.381 63.695C404.301 63.695 404.951 63.31 405.331 62.54H407.176C406.926 63.3 406.471 63.925 405.811 64.415C405.161 64.895 404.351 65.135 403.381 65.135C402.591 65.135 401.881 64.96 401.251 64.61C400.631 64.25 400.141 63.75 399.781 63.11C3Line truncated
<rect x="25" y="60" width="84" height="22" rx="6" fill="#C6C6C6"/>
<path d="M38.1974 76.098C37.5441 76.098 36.9561 75.986 36.4334 75.762C35.9107 75.5287 35.5001 75.202 35.2014 74.782C34.9027 74.362 34.7534 73.872 34.7534 73.312H36.4614C36.4987 73.732 36.6621 74.0773 36.9514 74.348C37.2501 74.6187 37.6654 74.754 38.1974 74.754C38.7481 74.754 39.1774 74.6233 39.4854 74.362C39.7934 74.0913 39.9474 73.746 39.9474 73.326C39.9474 72.9993 39.8494 72.7333 39.6534 72.528C39.4667 72.3227 39.2287 72.164 38.9394 72.052C38.6594 71.94 38.2674 71.8187 37.7634 71.688C37.1287 71.52 36.6107 71.352 36.2094 71.184C35.8174 71.0067 35.4814 70.736 35.2014 70.372C34.9214 70.008 34.7814 69.5227 34.7814 68.916C34.7814 68.356 34.9214 67.866 35.2014 67.446C35.4814 67.026 35.8734 66.704 36.3774 66.48C36.8814 66.256 37.4647 66.144 38.1274 66.144C39.0701 66.144 39.8401 66.382 40.4374 66.858C41.0441 67.3247 41.3801 67.9687 41.4454 68.79H39.6814C39.6534 68.4353 39.4854 68.132 39.1774 67.88C38.8694 67.628 38.4634 67.502 37.9594 67.502C37.5021 67.502 37.1287 67.6187 36.8394 67.852C36.5501 68.0853 36.4054 68.4213 36.4054 68.86C36.4054 69.1587 36.4941 69.406 36.6714 69.602C36.8581 69.7887 37.0914 69.938 37.3714 70.05C37.6514 70.162 38.0341 70.2833 38.5194 70.414C39.1634 70.5913 39.6861 70.7687 40.0874 70.946C40.4981 71.1233 40.8434 71.3987 41.1234 71.772C41.4127 72.136 41.5574 72.626 41.5574 73.242C41.5574 73.7367 41.4221 74.2033 41.1514 74.642C40.8901 75.0807 40.5027 75.4353 39.9894 75.706C39.4854 75.9673 38.8881 76.098 38.1974 76.098ZM50.2446 69.168C50.2446 69.6627 50.128 70.1293 49.8946 70.568C49.6613 71.0067 49.288 71.366 48.7746 71.646C48.2613 71.9167 47.6033 72.052 46.8006 72.052H45.0366V76H43.4406V66.27H46.8006C47.5473 66.27 48.1773 66.4007 48.6906 66.662C49.2133 66.914 49.6006 67.2593 49.8526 67.698C50.114 68.1367 50.2446 68.6267 50.2446 69.168ZM46.8006 70.75C47.4073 70.75 47.86 70.6147 48.1586 70.344C48.4573 70.064 48.6066 69.672 48.6066 69.168C48.6066 68.104 48.0046 67.572 46.8006 67.572H45.0366V70.75H46.8006ZM56.2048 76.098C55.2995 76.098 54.4641 75.888 53.6988 75.468C52.9428 75.0387 52.3408 74.446 51.8928 73.69C51.4541 72.9247 51.2348 72.066 51.2348 71.114C51.2348 70.162 51.4541 69.308 51.8928 68.552C52.3408 67.796 52.9428 67.208 53.6988 66.788C54.4641 66.3587 55.2995 66.144 56.2048 66.144C57.1195 66.144 57.9548 66.3587 58.7108 66.788C59.4761 67.208 60.0781 67.796 60.5168 68.552C60.9555 69.308 61.1748 70.162 61.1748 71.114C61.1748 72.066 60.9555 72.9247 60.5168 73.69C60.0781 74.446 59.4761 75.0387 58.7108 75.468C57.9548 75.888 57.1195 76.098 56.2048 76.098ZM56.2048 74.712C56.8488 74.712 57.4228 74.5673 57.9268 74.278C58.4308 73.9793 58.8228 73.5593 59.1028 73.018C59.3921 72.4673 59.5368 71.8327 59.5368 71.114C59.5368 70.3953 59.3921 69.7653 59.1028 69.224C58.8228 68.6827 58.4308 68.2673 57.9268 67.978C57.4228 67.6887 56.8488 67.544 56.2048 67.544C55.5608 67.544 54.9868 67.6887 54.4828 67.978C53.9788 68.2673 53.5821 68.6827 53.2928 69.224C53.0128 69.7653 52.8728 70.3953 52.8728 71.114C52.8728 71.8327 53.0128 72.4673 53.2928 73.018C53.5821 73.5593 53.9788 73.9793 54.4828 74.278C54.9868 74.5673 55.5608 74.712 56.2048 74.712ZM70.7393 76H69.1433L64.3413 68.734V76H62.7453V66.256H64.3413L69.1433 73.508V66.256H70.7393V76ZM76.0412 76.098C75.3878 76.098 74.7998 75.986 74.2772 75.762C73.7545 75.5287 73.3438 75.202 73.0452 74.782C72.7465 74.362 72.5972 73.872 72.5972 73.312H74.3052C74.3425 73.732 74.5058 74.0773 74.7952 74.348C75.0938 74.6187 75.5092 74.754 76.0412 74.754C76.5918 74.754 77.0212 74.6233 77.3292 74.362C77.6372 74.0913 77.7912 73.746 77.7912 73.326C77.7912 72.9993 77.6932 72.7333 77.4972 72.528C77.3105 72.3227 77.0725 72.164 76.7832 72.052C76.5032 71.94 76.1112 71.8187 75.6072 71.688C74.9725 71.52 74.4545 71.352 74.0532 71.184C73.6612 71.0067 73.3252 70.736 73.0452 70.372C72.7652 70.008 72.6252 69.5227 72.6252 68.916C72.6252 68.356 72.7652 67.866 73.0452 67.446C73.3252 67.026 73.7172 66.704 74.2212 66.48C74.7252 66.256 75.3085 66.144 75.9712 66.144C76.9138 66.144 77.6838 66.382 78.2812 66.858C78.8878 67.3247 79.2238 67.9687 79.2892 68.79H77.5252C77.4972 68.4353 77.3292 68.132 77.0212 67.88C76.7132 67.628 76.3072 67.502 75.8032 67.502C75.3458 67.502 74.9725 67.6187 74.6832 67.852C74.3938 68.0853 74.2492 68.4213 74.2492 68.86C74.2492 69.1587 74.3378 69.406 74.5152 69.602C74.7018 69.7887 74.9352 69.938 75.2152 70.05C75.4952 70.162 75.8778 70.2833 76.3632 70.414C77.0072 70.5913 77.5298 70.7687 77.9312 70.946C78.3418 71.1233 78.6872 71.3987 78.9672 71.772C79.2565 72.136 79.4012 72.626 79.4012 73.242C79.4012 73.7367 79.2658 74.2033 78.9952 74.642C78.7338 75.0807 78.3465 75.4353 77.8332 75.706C77.3292 75.9673 76.7318 76.098 76.0412 76.098ZM85.7224 76.098C84.817 76.098 83.9817 75.888 83.2164 75.468C82.4604 75.0387 81.8584 74.446 81.4104 73.69C80.9717 72.9247 80.7524 72.066 80.7524 71.114C80.7524 70.162 80.9717 69.308 81.4104 68.552C81.8584 67.796 82.4604 67.208 83.2164 66.788C83.9817 66.3587 84.817 66.144 85.7224 66.144C86.637 66.144 87.4724 66.3587 88.2284 66.788C88.9937 67.208 89.5957 67.796 90.0344 Line truncated
<rect x="668" y="51" width="224" height="39" rx="6" fill="black"/>
<path d="M692.132 76L689.572 71.552H688.18V76H686.356V64.88H690.196C691.05 64.88 691.77 65.0293 692.356 65.328C692.954 65.6267 693.396 66.0267 693.684 66.528C693.983 67.0293 694.132 67.5893 694.132 68.208C694.132 68.9333 693.919 69.5947 693.492 70.192C693.076 70.7787 692.431 71.1787 691.556 71.392L694.308 76H692.132ZM688.18 70.096H690.196C690.879 70.096 691.391 69.9253 691.732 69.584C692.084 69.2427 692.26 68.784 692.26 68.208C692.26 67.632 692.09 67.184 691.748 66.864C691.407 66.5333 690.89 66.368 690.196 66.368H688.18V70.096ZM704.546 71.376C704.546 71.7067 704.524 72.0053 704.482 72.272H697.746C697.799 72.976 698.06 73.5413 698.53 73.968C698.999 74.3947 699.575 74.608 700.258 74.608C701.239 74.608 701.932 74.1973 702.338 73.376H704.306C704.039 74.1867 703.554 74.8533 702.85 75.376C702.156 75.888 701.292 76.144 700.258 76.144C699.415 76.144 698.658 75.9573 697.986 75.584C697.324 75.2 696.802 74.6667 696.418 73.984C696.044 73.2907 695.858 72.4907 695.858 71.584C695.858 70.6773 696.039 69.8827 696.402 69.2C696.775 68.5067 697.292 67.9733 697.954 67.6C698.626 67.2267 699.394 67.04 700.258 67.04C701.09 67.04 701.831 67.2213 702.482 67.584C703.132 67.9467 703.639 68.4587 704.002 69.12C704.364 69.7707 704.546 70.5227 704.546 71.376ZM702.642 70.8C702.631 70.128 702.391 69.5893 701.922 69.184C701.452 68.7787 700.871 68.576 700.178 68.576C699.548 68.576 699.01 68.7787 698.562 69.184C698.114 69.5787 697.847 70.1173 697.762 70.8H702.642ZM705.733 71.552C705.733 70.6667 705.914 69.8827 706.277 69.2C706.65 68.5173 707.151 67.9893 707.781 67.616C708.421 67.232 709.13 67.04 709.909 67.04C710.591 67.04 711.194 67.1787 711.717 67.456C712.25 67.7333 712.661 68.0693 712.949 68.464V67.184H714.789V80.192H712.949V74.72C712.661 75.1147 712.245 75.4507 711.701 75.728C711.157 76.0053 710.538 76.144 709.845 76.144C709.087 76.144 708.394 75.952 707.765 75.568C707.146 75.1733 706.65 74.6293 706.277 73.936C705.914 73.232 705.733 72.4373 705.733 71.552ZM712.949 71.584C712.949 70.976 712.821 70.448 712.565 70C712.319 69.552 711.994 69.2107 711.589 68.976C711.183 68.7413 710.746 68.624 710.277 68.624C709.807 68.624 709.37 68.7413 708.965 68.976C708.559 69.2 708.229 69.536 707.973 69.984C707.727 70.4213 707.605 70.944 707.605 71.552C707.605 72.16 707.727 72.6933 707.973 73.152C708.229 73.6107 708.559 73.9627 708.965 74.208C709.381 74.4427 709.818 74.56 710.277 74.56C710.746 74.56 711.183 74.4427 711.589 74.208C711.994 73.9733 712.319 73.632 712.565 73.184C712.821 72.7253 712.949 72.192 712.949 71.584ZM725.168 67.184V76H723.344V74.96C723.056 75.3227 722.678 75.6107 722.208 75.824C721.75 76.0267 721.259 76.128 720.736 76.128C720.043 76.128 719.419 75.984 718.864 75.696C718.32 75.408 717.888 74.9813 717.568 74.416C717.259 73.8507 717.104 73.168 717.104 72.368V67.184H718.912V72.096C718.912 72.8853 719.11 73.4933 719.504 73.92C719.899 74.336 720.438 74.544 721.12 74.544C721.803 74.544 722.342 74.336 722.736 73.92C723.142 73.4933 723.344 72.8853 723.344 72.096V67.184H725.168ZM735.655 71.376C735.655 71.7067 735.634 72.0053 735.591 72.272H728.855C728.908 72.976 729.17 73.5413 729.639 73.968C730.108 74.3947 730.684 74.608 731.367 74.608C732.348 74.608 733.042 74.1973 733.447 73.376H735.415C735.148 74.1867 734.663 74.8533 733.959 75.376C733.266 75.888 732.402 76.144 731.367 76.144C730.524 76.144 729.767 75.9573 729.095 75.584C728.434 75.2 727.911 74.6667 727.527 73.984C727.154 73.2907 726.967 72.4907 726.967 71.584C726.967 70.6773 727.148 69.8827 727.511 69.2C727.884 68.5067 728.402 67.9733 729.063 67.6C729.735 67.2267 730.503 67.04 731.367 67.04C732.199 67.04 732.94 67.2213 733.591 67.584C734.242 67.9467 734.748 68.4587 735.111 69.12C735.474 69.7707 735.655 70.5227 735.655 71.376ZM733.751 70.8C733.74 70.128 733.5 69.5893 733.031 69.184C732.562 68.7787 731.98 68.576 731.287 68.576C730.658 68.576 730.119 68.7787 729.671 69.184C729.223 69.5787 728.956 70.1173 728.871 70.8H733.751ZM740.65 76.144C739.957 76.144 739.333 76.0213 738.778 75.776C738.234 75.52 737.802 75.1787 737.482 74.752C737.162 74.3147 736.991 73.8293 736.97 73.296H738.858C738.89 73.6693 739.066 73.984 739.386 74.24C739.717 74.4853 740.127 74.608 740.618 74.608C741.13 74.608 741.525 74.512 741.802 74.32C742.09 74.1173 742.234 73.8613 742.234 73.552C742.234 73.2213 742.074 72.976 741.754 72.816C741.445 72.656 740.949 72.48 740.266 72.288C739.605 72.1067 739.066 71.9307 738.65 71.76C738.234 71.5893 737.871 71.328 737.562 70.976C737.263 70.624 737.114 70.16 737.114 69.584C737.114 69.1147 737.253 68.688 737.53 68.304C737.807 67.9093 738.202 67.6 738.714 67.376C739.237 67.152 739.834 67.04 740.506 67.04C741.509 67.04 742.314 67.296 742.922 67.808C743.541 68.3093 743.871 68.9973 743.914 69.872H742.09C742.058 69.4773 741.898 69.1627 741.61 68.928C741.322 68.6933 740.933 68.576 740.442 68.576C739.962 68.576 739.594 68.6667 739.338 68.848C739.082 69.0293 738.954 69.2693 738.954 69.568C738.954 69.8027 739.039 70 739.21 70.16C739.381 70.32 739.589 70.448 739.834 70.544C740.079 70.6293 740.442 70.7Line truncated
<path d="M871.707 71.7071C872.098 71.3166 872.098 70.6834 871.707 70.2929L865.343 63.9289C864.953 63.5384 864.319 63.5384 863.929 63.9289C863.538 64.3195 863.538 64.9526 863.929 65.3431L869.586 71L863.929 76.6569C863.538 77.0474 863.538 77.6805 863.929 78.0711C864.319 78.4616 864.953 78.4616 865.343 78.0711L871.707 71.7071ZM852 72H871V70H852V72Z" fill="white"/>
</svg>

After

Width:  |  Height:  |  Size: 62 KiB

+5 -1
View File
@@ -6,6 +6,10 @@
Useful tools for developer and people working in IT. [Have a look !](https://it-tools.tech).
## Sponsors
[![Fern banner](./.github/fern-banner.svg)](https://bit.ly/3zBl7DG)
## Functionalities and roadmap
Please check the [issues](https://github.com/CorentinTh/it-tools/issues) to see if some feature listed to be implemented.
@@ -117,7 +121,7 @@ Big thanks to all the people who have already contributed!
## Credits
Coded with ❤️ by [Corentin Thomasset](//corentin-thomasset.fr).
Coded with ❤️ by [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=readme).
This project is continuously deployed using [vercel.com](https://vercel.com).
+1 -5
View File
@@ -33,7 +33,6 @@ declare module '@vue/runtime-core' {
CCollapse: typeof import('./src/ui/c-collapse/c-collapse.vue')['default']
'CCollapse.demo': typeof import('./src/ui/c-collapse/c-collapse.demo.vue')['default']
CDiffEditor: typeof import('./src/ui/c-diff-editor/c-diff-editor.vue')['default']
CertificateKeyParser: typeof import('./src/tools/certificate-key-parser/certificate-key-parser.vue')['default']
CFileUpload: typeof import('./src/ui/c-file-upload/c-file-upload.vue')['default']
'CFileUpload.demo': typeof import('./src/ui/c-file-upload/c-file-upload.demo.vue')['default']
ChmodCalculator: typeof import('./src/tools/chmod-calculator/chmod-calculator.vue')['default']
@@ -131,11 +130,9 @@ declare module '@vue/runtime-core' {
MetaTagGenerator: typeof import('./src/tools/meta-tag-generator/meta-tag-generator.vue')['default']
MimeTypes: typeof import('./src/tools/mime-types/mime-types.vue')['default']
NavbarButtons: typeof import('./src/components/NavbarButtons.vue')['default']
NCheckbox: typeof import('naive-ui')['NCheckbox']
NCollapseTransition: typeof import('naive-ui')['NCollapseTransition']
NConfigProvider: typeof import('naive-ui')['NConfigProvider']
NDivider: typeof import('naive-ui')['NDivider']
NDivider: typeof import('naive-ui')['NDivider']
NEllipsis: typeof import('naive-ui')['NEllipsis']
NH1: typeof import('naive-ui')['NH1']
NH3: typeof import('naive-ui')['NH3']
@@ -143,8 +140,6 @@ declare module '@vue/runtime-core' {
NLayout: typeof import('naive-ui')['NLayout']
NLayoutSider: typeof import('naive-ui')['NLayoutSider']
NMenu: typeof import('naive-ui')['NMenu']
NSpace: typeof import('naive-ui')['NSpace']
NTable: typeof import('naive-ui')['NTable']
NumeronymGenerator: typeof import('./src/tools/numeronym-generator/numeronym-generator.vue')['default']
OtpCodeGeneratorAndValidator: typeof import('./src/tools/otp-code-generator-and-validator/otp-code-generator-and-validator.vue')['default']
PasswordStrengthAnalyser: typeof import('./src/tools/password-strength-analyser/password-strength-analyser.vue')['default']
@@ -164,6 +159,7 @@ declare module '@vue/runtime-core' {
RsaKeyPairGenerator: typeof import('./src/tools/rsa-key-pair-generator/rsa-key-pair-generator.vue')['default']
SafelinkDecoder: typeof import('./src/tools/safelink-decoder/safelink-decoder.vue')['default']
SlugifyString: typeof import('./src/tools/slugify-string/slugify-string.vue')['default']
SmartRawConverter: typeof import('./src/tools/smart-raw-converter/smart-raw-converter.vue')['default']
SpanCopyable: typeof import('./src/components/SpanCopyable.vue')['default']
SqlPrettify: typeof import('./src/tools/sql-prettify/sql-prettify.vue')['default']
StringObfuscator: typeof import('./src/tools/string-obfuscator/string-obfuscator.vue')['default']
+1 -1
View File
@@ -38,7 +38,7 @@ about:
# Über IT-Tools
Diese wunderbare Website, erstellt mit ❤ von [Corentin
Thomasset](https://github.com/CorentinTh), sammelt nützliche Tools für
Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=about), sammelt nützliche Tools für
Entwickler und Menschen, die in der IT arbeiten. Wenn du sie nützlich
findest, teile sie gerne mit Personen, von denen du denkst, dass sie sie
ebenfalls nützlich finden könnten, und vergiss nicht, sie in deiner
+1 -1
View File
@@ -30,7 +30,7 @@ about:
content: >
# About IT-Tools
This wonderful website, made with ❤ by [Corentin Thomasset](https://github.com/CorentinTh) , aggregates useful tools for developer and people working in IT. If you find it useful, please feel free to share it to people you think may find it useful too and don't forget to bookmark it in your shortcut bar!
This wonderful website, made with ❤ by [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=about) , aggregates useful tools for developer and people working in IT. If you find it useful, please feel free to share it to people you think may find it useful too and don't forget to bookmark it in your shortcut bar!
IT Tools is open-source (under the MIT license) and free, and will always be, but it costs me money to host and renew the domain name. If you want to support my work, and encourage me to add more tools, please consider supporting by [sponsoring me](https://www.buymeacoffee.com/cthmsst).
+3 -3
View File
@@ -30,7 +30,7 @@ about:
content: >
# Sobre IT-Tools
Este maravilloso sitio web, hecho con ❤ por [Corentin Thomasset](https://github.com/CorentinTh) , agrega herramientas útiles para desarrolladores y personas que trabajan en IT. Si lo encuentra útil, no dude en compartirlo con las personas que crea que también pueden encontrarlo útil y ¡no olvide marcarlo como favorito en su barra de accesos directos!
Este maravilloso sitio web, hecho con ❤ por [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=about) , agrega herramientas útiles para desarrolladores y personas que trabajan en IT. Si lo encuentra útil, no dude en compartirlo con las personas que crea que también pueden encontrarlo útil y ¡no olvide marcarlo como favorito en su barra de accesos directos!
IT Tools es de código abierto (under the MIT license) y gratis, y siempre lo será, pero me cuesta dinero alojar y renovar el nombre de dominio. Si desea apoyar mi trabajo y animarme a agregar más herramientas, considere apoyarme a través de[sponsoring me](https://www.buymeacoffee.com/cthmsst).
@@ -39,7 +39,7 @@ about:
IT Tools está creado en Vue.js (Vue 3) con la biblioteca de componentes Naive UI y Vercel lo aloja y lo implementa continuamente. En algunas herramientas se utilizan bibliotecas de código abierto de terceros; puede encontrar la lista completa en [package.json](https://github.com/CorentinTh/it-tools/blob/main/package.json) archivo del repositorio.
## ¿Encontraste un error? ¿Falta una herramienta?
Si necesita una herramienta que actualmente no está presente aquí y cree que puede ser útil, puede enviar una solicitud de función en el [issues section](https://github.com/CorentinTh/it-tools/issues/new/choose) en el repositorio de GitHub.
Y si encontró un error o algo no funciona como se esperaba, presente un reporte de error en el [issues section](https://github.com/CorentinTh/it-tools/issues/new/choose) en el repositorio de GitHub.
@@ -68,4 +68,4 @@ tools:
math: Math
measurement: Measurement
text: Text
data: Data
data: Data
+1 -1
View File
@@ -29,7 +29,7 @@ about:
content: >
# À propos de IT-Tools
Ce merveilleux site, fait avec ❤ par [Corentin Thomasset](https://github.com/CorentinTh), regroupe des outils utiles pour les développeurs et les personnes travaillant dans l'informatique. Si vous le trouvez utile, n'hésitez pas à le partager et n'oubliez pas de le mettre dans vos favoris !
Ce merveilleux site, fait avec ❤ par [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=about), regroupe des outils utiles pour les développeurs et les personnes travaillant dans l'informatique. Si vous le trouvez utile, n'hésitez pas à le partager et n'oubliez pas de le mettre dans vos favoris !
IT Tools est open-source (sous licence MIT) et gratuit, et le restera toujours, mais cela me coûte de l'argent pour l'héberger et renouveler le nom de domaine. Si vous voulez soutenir mon travail, et m'encourager à ajouter plus d'outils, n'hésitez pas à me [soutenir](https://www.buymeacoffee.com/cthmsst).
+1 -1
View File
@@ -30,7 +30,7 @@ about:
content: >
# Sobre o IT-Tools
Este site maravilhoso, feito com ❤ por [Corentin Thomasset](https://github.com/CorentinTh), junta ferramentas úteis para desenvolvedores e outras pessoas que trabalham com TI. Se você achar o site útil, fique à vontade para compartilhar com quem também possa gostar e não esqueça de salvar o bookmark na sua barra de atalhos!
Este site maravilhoso, feito com ❤ por [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=about), junta ferramentas úteis para desenvolvedores e outras pessoas que trabalham com TI. Se você achar o site útil, fique à vontade para compartilhar com quem também possa gostar e não esqueça de salvar o bookmark na sua barra de atalhos!
O IT Tools é código aberto (sob a licença MIT), é gratuito, e sempre será, mas custa dinheiro para hospedar e renovar o domínio. Se quiser apoiar meu trabalho e me encorajar a adicionar mais ferramentas, por favor considere [ser patrocinador](https://www.buymeacoffee.com/cthmsst).
+1 -1
View File
@@ -30,7 +30,7 @@ about:
content: >
# Про IT-Tools
Цей чудовий вебсайт, створений з ❤ [Corentin Thomasset](https://github.com/CorentinTh), агрегує корисні інструменти для розробників і людей, які працюють в сфері IT. Якщо вам це корисно, будь ласка, поділіться цим з людьми, які, на вашу думку, також можуть знайти його корисним, і не забудьте додати його до закладок у вашій панелі швидкого доступу!
Цей чудовий вебсайт, створений з ❤ [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=about), агрегує корисні інструменти для розробників і людей, які працюють в сфері IT. Якщо вам це корисно, будь ласка, поділіться цим з людьми, які, на вашу думку, також можуть знайти його корисним, і не забудьте додати його до закладок у вашій панелі швидкого доступу!
IT Tools є відкритим програмним забезпеченням (під ліцензією MIT) і безкоштовним, і завжди буде таким, але мені коштує гроші для хостингу і продовження доменного імені. Якщо ви хочете підтримати мою роботу і підтримати мене у додаванні нових інструментів, розгляньте можливість підтримки, [спонсоруючи мене](https://www.buymeacoffee.com/cthmsst).
+1 -1
View File
@@ -30,7 +30,7 @@ about:
content: >
# Về IT-Tools
Website tuyệt vời này, được tạo ra bằng ❤ bởi [Corentin Thomasset](https://github.com/CorentinTh), tổng hợp các công cụ hữu ích cho nhà phát triển và những người làm việc trong lĩnh vực IT. Nếu bạn thấy nó hữu ích, xin đừng ngần ngại chia sẻ cho những người mà bạn nghĩ sẽ thấy nó hữu ích và đừng quên đánh dấu nó trong thanh lối tắt của bạn!
Website tuyệt vời này, được tạo ra bằng ❤ bởi [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=about), tổng hợp các công cụ hữu ích cho nhà phát triển và những người làm việc trong lĩnh vực IT. Nếu bạn thấy nó hữu ích, xin đừng ngần ngại chia sẻ cho những người mà bạn nghĩ sẽ thấy nó hữu ích và đừng quên đánh dấu nó trong thanh lối tắt của bạn!
IT Tools là mã nguồn mở (dưới giấy phép MIT) và miễn phí, và sẽ luôn như vậy, nhưng tôi phải trả tiền để lưu trữ và gia hạn tên miền. Nếu bạn muốn hỗ trợ công việc của tôi, và khích lệ tôi thêm nhiều công cụ hơn, hãy xem xét hỗ trợ bằng cách [tài trợ cho tôi](https://www.buymeacoffee.com/cthmsst).
+1 -1
View File
@@ -30,7 +30,7 @@ about:
content: >
# 关于 IT-Tools
IT-Tools 由 [Corentin Thomasset](https://github.com/CorentinTh) 用 ❤ 开发,汇集了对开发人员和 IT 从业者有用的工具。如果对您有帮助,请将其分享给您的朋友,并且添加到收藏夹中!
IT-Tools 由 [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=about) 用 ❤ 开发,汇集了对开发人员和 IT 从业者有用的工具。如果对您有帮助,请将其分享给您的朋友,并且添加到收藏夹中!
IT-Tools 永久免费且开源(MIT 许可证),但需要资金用于托管和续订域名。如果您想支持我的工作,并鼓励我添加更多工具,请考虑通过 [赞助我](https://www.buymeacoffee.com/cthmsst) 进行支持。
+9 -13
View File
@@ -1,7 +1,14 @@
{
"name": "it-tools",
"version": "2024.5.13-a0bc346",
"packageManager": "pnpm@8.15.3",
"description": "Collection of handy online tools for developers, with great UX. ",
"author": "Corentin Th <corentin.thomasset74+it-tools@gmail.com> (https://corentin.tech)",
"license": "GNU GPLv3",
"repository": {
"type": "git",
"url": "https://github.com/CorentinTh/it-tools"
},
"keywords": [
"productivity",
"converter",
@@ -13,12 +20,6 @@
"developer-tools",
"developer-productivity"
],
"author": "Corentin Th <corentin.thomasset74+it-tools@gmail.com> (https://github.com/CorentinTh)",
"license": "GNU GPLv3",
"repository": {
"type": "git",
"url": "https://github.com/CorentinTh/it-tools"
},
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && NODE_OPTIONS=--max_old_space_size=4096 vite build",
@@ -67,7 +68,7 @@
"highlight.js": "^11.7.0",
"iarna-toml-esm": "^3.0.5",
"ibantools": "^4.3.3",
"js-base64": "^3.7.7",
"js-base64": "^3.7.6",
"json5": "^2.2.3",
"jwt-decode": "^3.1.2",
"libphonenumber-js": "^1.10.28",
@@ -80,7 +81,6 @@
"naive-ui": "^2.35.0",
"netmask": "^2.0.2",
"node-forge": "^1.3.1",
"openpgp": "^5.11.1",
"oui-data": "^1.0.10",
"pdf-signature-reader": "^1.4.2",
"pinia": "^2.0.34",
@@ -88,7 +88,6 @@
"qrcode": "^1.5.1",
"randexp": "^0.5.3",
"sql-formatter": "^13.0.0",
"sshpk": "^1.18.0",
"ua-parser-js": "^1.0.35",
"ulid": "^2.3.0",
"unicode-emoji-json": "^0.4.0",
@@ -120,7 +119,6 @@
"@types/node": "^18.15.11",
"@types/node-forge": "^1.3.2",
"@types/qrcode": "^1.5.0",
"@types/sshpk": "^1.17.4",
"@types/ua-parser-js": "^0.7.36",
"@types/uuid": "^9.0.0",
"@unocss/eslint-config": "^0.57.0",
@@ -142,13 +140,11 @@
"unplugin-icons": "^0.17.0",
"unplugin-vue-components": "^0.25.0",
"vite": "^4.4.9",
"vite-plugin-node-polyfills": "^0.21.0",
"vite-plugin-pwa": "^0.16.0",
"vite-plugin-vue-markdown": "^0.23.5",
"vite-svg-loader": "^4.0.0",
"vitest": "^0.34.0",
"workbox-window": "^7.0.0",
"zx": "^7.2.1"
},
"packageManager": "pnpm@8.15.3"
}
}
+5 -727
View File
File diff suppressed because it is too large. Load diff
+2 -12
View File
@@ -2,12 +2,7 @@
import { useVModel } from '@vueuse/core';
import { useCopy } from '@/composable/copy';
const props = defineProps<{
value: string
multiline?: boolean
rows?: number | string
autosize?: boolean
}>();
const props = defineProps<{ value: string }>();
const emit = defineEmits(['update:value']);
const value = useVModel(props, 'value', emit);
@@ -16,12 +11,7 @@ const tooltipText = computed(() => isJustCopied.value ? 'Copied!' : 'Copy to cli
</script>
<template>
<c-input-text
v-model:value="value"
:multiline="multiline"
:rows="rows"
:autosize="autosize"
>
<c-input-text v-model:value="value">
<template #suffix>
<c-tooltip :tooltip="tooltipText">
<c-button circle variant="text" size="small" @click="copy()">
+1 -2
View File
@@ -17,7 +17,6 @@ const props = withDefaults(
language?: string
copyPlacement?: 'top-right' | 'bottom-right' | 'outside' | 'none'
copyMessage?: string
wordWrap?: boolean
}>(),
{
followHeightOf: null,
@@ -50,7 +49,7 @@ const tooltipText = computed(() => isJustCopied.value ? 'Copied!' : copyMessage.
:style="height ? `min-height: ${height - 40 /* card padding */ + 10 /* negative margin compensation */}px` : ''"
>
<n-config-provider :hljs="hljs">
<n-code :code="value" :language="language" :word-wrap="wordWrap" :trim="false" data-test-id="area-content" />
<n-code :code="value" :language="language" :trim="false" data-test-id="area-content" />
</n-config-provider>
</n-scrollbar>
<div absolute right-10px top-10px>
+14 -15
View File
@@ -1,7 +1,6 @@
import { extension as getExtensionFromMimeType, extension as getMimeTypeFromExtension } from 'mime-types';
import type { MaybeRef, Ref } from 'vue';
import type { Ref } from 'vue';
import _ from 'lodash';
import { get } from '@vueuse/core';
export {
getMimeTypeFromBase64,
@@ -76,11 +75,21 @@ function downloadFromBase64({ sourceValue, filename, extension, fileMimeType }:
}
function useDownloadFileFromBase64(
{ source, filename, extension }:
{ source: MaybeRef<string>; filename?: MaybeRef<string>; extension?: MaybeRef<string> }) {
{ source, filename, extension, fileMimeType }:
{ source: Ref<string>; filename?: string; extension?: string; fileMimeType?: string }) {
return {
download() {
downloadFromBase64({ sourceValue: get(source), filename: get(filename), extension: get(extension) });
downloadFromBase64({ sourceValue: source.value, filename, extension, fileMimeType });
},
};
}
function useDownloadFileFromBase64Refs(
{ source, filename, extension }:
{ source: Ref<string>; filename?: Ref<string>; extension?: Ref<string> }) {
return {
download() {
downloadFromBase64({ sourceValue: source.value, filename: filename?.value, extension: extension?.value });
},
};
}
@@ -107,13 +116,3 @@ function previewImageFromBase64(base64String: string): HTMLImageElement {
return img;
}
function useDownloadFileFromBase64Refs(
{ source, filename, extension }:
{ source: Ref<string>; filename?: Ref<string>; extension?: Ref<string> }) {
return {
download() {
downloadFromBase64({ sourceValue: source.value, filename: filename?.value, extension: extension?.value });
},
};
}
+6
View File
@@ -59,6 +59,12 @@ export const config = figue({
default: false,
env: 'VITE_SHOW_BANNER',
},
showSponsorBanner: {
doc: 'Show the sponsor banner',
format: 'boolean',
default: false,
env: 'VITE_SHOW_SPONSOR_BANNER',
},
})
.loadEnv({
...import.meta.env,
+1 -1
View File
@@ -81,7 +81,7 @@ const tools = computed<ToolCategory[]>(() => [
</div>
<div>
© {{ new Date().getFullYear() }}
<c-link target="_blank" rel="noopener" href="https://github.com/CorentinTh">
<c-link target="_blank" rel="noopener" href="https://corentin.tech?utm_source=it-tools&utm_medium=footer">
Corentin Thomasset
</c-link>
</div>
+28 -2
View File
@@ -15,8 +15,8 @@ const { t } = useI18n();
<template>
<div class="pt-50px">
<div class="grid-wrapper">
<div v-if="config.showBanner" class="grid grid-cols-1 gap-12px lg:grid-cols-3 md:grid-cols-3 sm:grid-cols-2 xl:grid-cols-4">
<ColoredCard :title="$t('home.follow.title')" :icon="Heart">
<div class="grid grid-cols-1 gap-12px lg:grid-cols-3 md:grid-cols-3 sm:grid-cols-2 xl:grid-cols-4">
<ColoredCard v-if="config.showBanner" :title="$t('home.follow.title')" :icon="Heart">
{{ $t('home.follow.p1') }}
<a
href="https://github.com/CorentinTh/it-tools"
@@ -34,6 +34,32 @@ const { t } = useI18n();
{{ $t('home.follow.thankYou') }}
<n-icon :component="Heart" />
</ColoredCard>
<a href="https://bit.ly/3zBl7DG" target="_blank" rel="noopener" class="text-current decoration-none">
<c-card v-if="config.showSponsorBanner" class="cursor-pointer !border-2px !hover:border-primary">
<div class="dark:hidden">
<svg width="40" height="40" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M458.592 250.639C425.688 222.824 376.118 211.673 332.186 244.145C330.164 245.615 327.651 243.103 329.183 241.143C339.6 227.725 351.67 213.266 361.413 198.746C371.339 183.858 386.167 173.198 403.262 167.99C494.253 140.42 466.925 6 466.925 6C466.925 6 326.365 15.0675 343.705 136.315C346.585 156.594 341.193 177.241 328.509 193.354C312.946 213.021 294.87 231.83 281.758 245.431C279.001 248.25 274.344 245.554 275.447 241.755C288.13 199.052 297.383 133.007 253.45 90.4259L191.625 39.0842L179.738 54.7685C144.384 101.393 154.739 167.132 201.429 202.422C228.205 222.64 240.337 244.635 238.438 268.774C237.274 283.233 230.718 296.773 220.914 307.495C202.471 327.713 185.253 349.402 171.957 374.521C170.119 378.013 164.788 376.665 164.972 372.683C166.871 331.205 162.888 237.712 93.037 204.321L14.8527 174.117L8.78665 192.19C-10.882 250.517 21.2863 312.825 79.557 332.614C130.23 349.83 148.305 382.486 136.112 431.438C135.561 433.215 126.737 483.638 127.963 506H184.15C186.049 471.323 222.446 448.532 254.001 462.684C262.886 466.667 272.016 472.364 281.39 479.717C331.634 519.295 405.652 509.921 445.173 459.621L456.447 445.284L385.371 394.249C336.597 355.896 271.525 373.234 223.365 406.074C219.321 408.831 214.174 404.419 216.441 400.008C274.65 285.806 350.322 286.051 379.979 311.416C415.946 342.172 470.418 336.658 500.932 300.572L509.694 290.218L458.531 250.639H458.592Z" fill="#aaaaaa" />
</svg>
</div>
<div class="hidden dark:block">
<svg width="40" height="40" viewBox="0 0 512 512" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M458.592 250.639C425.688 222.824 376.118 211.673 332.186 244.145C330.164 245.615 327.651 243.103 329.183 241.143C339.6 227.725 351.67 213.266 361.413 198.746C371.339 183.858 386.167 173.198 403.262 167.99C494.253 140.42 466.925 6 466.925 6C466.925 6 326.365 15.0675 343.705 136.315C346.585 156.594 341.193 177.241 328.509 193.354C312.946 213.021 294.87 231.83 281.758 245.431C279.001 248.25 274.344 245.554 275.447 241.755C288.13 199.052 297.383 133.007 253.45 90.4259L191.625 39.0842L179.738 54.7685C144.384 101.393 154.739 167.132 201.429 202.422C228.205 222.64 240.337 244.635 238.438 268.774C237.274 283.233 230.718 296.773 220.914 307.495C202.471 327.713 185.253 349.402 171.957 374.521C170.119 378.013 164.788 376.665 164.972 372.683C166.871 331.205 162.888 237.712 93.037 204.321L14.8527 174.117L8.78665 192.19C-10.882 250.517 21.2863 312.825 79.557 332.614C130.23 349.83 148.305 382.486 136.112 431.438C135.561 433.215 126.737 483.638 127.963 506H184.15C186.049 471.323 222.446 448.532 254.001 462.684C262.886 466.667 272.016 472.364 281.39 479.717C331.634 519.295 405.652 509.921 445.173 459.621L456.447 445.284L385.371 394.249C336.597 355.896 271.525 373.234 223.365 406.074C219.321 408.831 214.174 404.419 216.441 400.008C274.65 285.806 350.322 286.051 379.979 311.416C415.946 342.172 470.418 336.658 500.932 300.572L509.694 290.218L458.531 250.639H458.592Z" fill="#505050" />
</svg>
</div>
<div class="my-5px flex items-baseline gap-4 text-lg text-black dark:text-white">
Fern <div class="rounded-full bg-#eeeeee px-10px py-2px text-xs text-black dark:bg-#333333 dark:text-white">
Sponsor
</div>
</div>
<div class="text-neutral-500 dark:text-neutral-400">
Offer developer documentation that looks as good as Stripe's using Fern. <a href="https://bit.ly/3zBl7DG" target="_blank" rel="noopener" class="font-bold text-current transition hover:text-primary">Request a preview</a> of your docs on Fern.
</div>
</c-card>
</a>
</div>
<transition name="height">
@@ -1,347 +0,0 @@
import type {
Certificate,
Fingerprint,
Key,
PrivateKey, Signature,
} from 'sshpk';
import type * as openpgp from 'openpgp';
import * as forge from 'node-forge';
import oids from './oids.json';
export interface LabelValue {
label: string
value: string
multiline?: boolean
}
function onErrorReturnErrorMessage(func: () => any) {
try {
return func();
}
catch (e: any) {
return e.toString();
}
}
function buf2Hex(buffer: ArrayBuffer) { // buffer is an ArrayBuffer
return [...new Uint8Array(buffer)]
.map(x => x.toString(16).padStart(2, '0'))
.join('');
}
export function getPublicKeyLabelValues(publicKey: Key) {
return [
{
label: 'Type:',
value: 'Public Key',
},
{
label: 'Key Type:',
value: publicKey.type,
},
{
label: 'Size:',
value: publicKey.size,
},
{
label: 'Comment:',
value: publicKey.comment,
multiline: true,
},
{
label: 'Curve:',
value: publicKey.curve ?? 'none',
},
{
label: 'Fingerprint (sha256):',
value: onErrorReturnErrorMessage(() => publicKey.fingerprint('sha256')),
multiline: true,
},
{
label: 'Fingerprint (sha512):',
value: onErrorReturnErrorMessage(() => publicKey.fingerprint('sha512')),
multiline: true,
},
] as LabelValue[];
}
export function getPrivateKeyLabelValues(privateKey: PrivateKey) {
return [
{
label: 'Type:',
value: 'Private Key',
},
{
label: 'Key Type:',
value: privateKey.type,
},
{
label: 'Size:',
value: privateKey.size,
},
{
label: 'Comment:',
value: privateKey.comment,
multiline: true,
},
{
label: 'Curve:',
value: privateKey.curve,
},
{
label: 'Fingerprint (sha256):',
value: onErrorReturnErrorMessage(() => privateKey.fingerprint('sha256')),
multiline: true,
},
{
label: 'Fingerprint (sha512):',
value: onErrorReturnErrorMessage(() => privateKey.fingerprint('sha512')),
multiline: true,
},
] as LabelValue[];
}
export function getCertificateLabelValues(cert: Certificate) {
return [
{
label: 'Type:',
value: 'Certificate',
},
{
label: 'Subjects:',
value: cert.subjects?.map(s => s.toString()).join('\n'),
multiline: true,
},
{
label: 'Valid From:',
value: cert.validFrom.toISOString(),
},
{
label: 'Valid Until:',
value: cert.validUntil.toISOString(),
},
{
label: 'Issuer:',
value: cert.issuer.toString(),
multiline: true,
},
{
label: 'Subject Key:',
value: onErrorReturnErrorMessage(() => cert.subjectKey?.toString('ssh')),
multiline: true,
},
{
label: 'Subject Key Type:',
value: cert.subjectKey?.type,
},
{
label: 'Subject Size:',
value: cert.subjectKey?.size,
},
{
label: 'Subject Comment:',
value: cert.subjectKey?.comment,
multiline: true,
},
{
label: 'Subject Curve:',
value: cert.subjectKey?.curve ?? 'none',
},
{
label: 'Issuer Key:',
value: onErrorReturnErrorMessage(() => cert.issuerKey?.toString('ssh')),
multiline: true,
},
{
label: 'Serial:',
value: buf2Hex(cert.serial),
},
{
label: 'Purposes:',
value: cert.purposes?.join(', '),
},
{
label: 'Extensions:',
value: JSON.stringify(cert.getExtensions().map(ext => ({
oid: (<any>ext).oid,
name: (<any>ext).name || (<any>oids)[(<any>ext).oid],
critical: (<any>ext).critical,
data: ext.data?.toString('hex') || (<any>ext).bits?.toString('hex'),
})), null, 2),
multiline: true,
},
{
label: 'Fingerprint (sha256):',
value: onErrorReturnErrorMessage(() => cert.fingerprint('sha256')),
multiline: true,
},
{
label: 'Fingerprint (sha512):',
value: onErrorReturnErrorMessage(() => cert.fingerprint('sha512')),
multiline: true,
},
{
label: 'Certificate (pem):',
value: onErrorReturnErrorMessage(() => cert.toString('pem')),
multiline: true,
},
] as LabelValue[];
}
export async function getPGPPublicKeyLabelValuesAsync(pgpPublicKey: openpgp.Key) {
return [
{
label: 'Type:',
value: 'PGP Public Key',
},
{
label: 'Creation Time:',
value: pgpPublicKey.getCreationTime().toString(),
},
{
label: 'Expiration Time:',
value: (await pgpPublicKey.getExpirationTime())?.toString() || '',
},
{
label: 'Algorithm Info:',
value: JSON.stringify(pgpPublicKey.getAlgorithmInfo()),
},
{
label: 'Fingerprint:',
value: pgpPublicKey.getFingerprint(),
},
{
label: 'User ID(s):',
value: pgpPublicKey.getUserIDs().join(', '),
},
{
label: 'Key ID(s):',
value: pgpPublicKey.getKeyIDs().map(k => k.toHex()).join(' ; '),
},
] as LabelValue[];
}
export async function getPGPPrivateKeyLabelValuesAsync(pgpPrivateKey: openpgp.Key) {
return [
{
label: 'Type:',
value: 'PGP Private Key',
},
{
label: 'Creation Time:',
value: pgpPrivateKey.getCreationTime().toString(),
},
{
label: 'Expiration Time:',
value: (await pgpPrivateKey.getExpirationTime())?.toString() || '',
},
{
label: 'Algorithm Info:',
value: JSON.stringify(pgpPrivateKey.getAlgorithmInfo()),
},
{
label: 'Fingerprint:',
value: pgpPrivateKey.getFingerprint(),
},
{
label: 'User ID(s):',
value: pgpPrivateKey.getUserIDs().join(', '),
},
{
label: 'Key ID(s):',
value: pgpPrivateKey.getKeyIDs().map(k => k.toHex()).join(' ; '),
},
] as LabelValue[];
}
export function getCSRLabelValues(csr: forge.pki.Certificate) {
return [
{
label: 'Type:',
value: 'Certificate Signing Request',
},
{
label: 'Subject:',
value: csr.subject?.attributes?.map(a => JSON.stringify(a, null, 2)).join('\n'),
multiline: true,
},
{
label: 'Issuer:',
value: csr.issuer?.toString(),
multiline: true,
},
{
label: 'Validity:',
value: JSON.stringify(csr.validity, null, 2),
},
{
label: 'Signature:',
value: csr.signature,
},
{
label: 'Signature Oid:',
value: csr.signatureOid?.toString(),
},
{
label: 'Signature parameters:',
value: JSON.stringify(csr.signatureParameters, null, 2),
},
{
label: 'Signing info:',
value: JSON.stringify(csr.siginfo, null, 2),
},
{
label: 'Serial:',
value: csr.serialNumber?.toString(),
},
{
label: 'Extensions:',
value: JSON.stringify(csr.extensions, null, 2),
multiline: true,
},
{
label: 'Public Key:',
value: onErrorReturnErrorMessage(() => forge.pki.publicKeyToPem(csr.publicKey)),
multiline: true,
},
{
label: 'Public Key Fingerprint:',
value: onErrorReturnErrorMessage(() => forge.pki.getPublicKeyFingerprint(csr.publicKey)?.toHex()),
multiline: true,
},
] as LabelValue[];
}
export function getFingerprintLabelValues(fingerprint: Fingerprint) {
return [
{
label: 'Type:',
value: 'Fingerprint',
},
{
label: 'Fingerprint (hex):',
value: fingerprint.toString('hex'),
},
{
label: 'Fingerprint (base64):',
value: fingerprint.toString('base64'),
},
] as LabelValue[];
}
export function getSignatureLabelValues(signature: Signature) {
return [
{
label: 'Type:',
value: 'Signature',
},
{
label: 'Fingerprint (asn1):',
value: signature.toString('asn1'),
},
{
label: 'Fingerprint (ssh):',
value: signature.toString('ssh'),
},
] as LabelValue[];
}
@@ -1,201 +0,0 @@
import { describe, expect, it } from 'vitest';
import { getKeyOrCertificateInfosAsync } from './certificate-key-parser.service';
const encryptedPrivateKey = /* NOSONAR */ `-----BEGIN ENCRYPTED PRIVATE KEY-----
MIIFHzBJBgkqhkiG9w0BBQ0wPDAbBgkqhkiG9w0BBQwwDgQILjmiBkdY16UCAggA
MB0GCWCGSAFlAwQBAgQQ+sYf2MO9hoZ4F5+LdE2vRgSCBNC6CLgqMJ6fKS3YnMMJ
yc3/iuqRniP/11OllTmOr94/2dl6Xk8TndBqhAacYizxgNCHiPP+NEmwtPqbbE+a
boNqEh0m8NUegxc3qGzon8cJgobgvpw7eml4K1OjgxCw58Y1VQixSKpdHEC1E1o6
RBBwK5bIld97GEi4VPuqYoYvffcD5cDsj9HxqvEWGTXDtu/nKEA0cVe7wI8t1CtR
/kaFoCyYOFu9RE0YprcWT1GpYTHR3TE7+lXYR8vPGdMCMgww1mLCXDAz1G4Y5+1K
WAmiVn3uQqgR9rU/upaM01oOz5LJWtgi5gDV8zX0r41i8pYYQNvGiSvvw1pQJB5Q
sFyuVNU6hOCQ+zLssfmxnhRpgM3hn07gV+LFAg+ly6WQsl9W6m8WpJ7SgLeByb7g
teT+ml7wTuFZIiPbqD3Pq0grRZir3n3NuphUk9YwR2jN4hHXEDiQ9f4D4SY41RT3
lW7roK+oM1K3N4cDin+WyGiFFLyWrwrlXWmHN5A3pOf+0rQUooZdUTGSU0N9v9Ho
17x/+aDAeCMEl7y0GfEoglNxCjoVj70E9oJL21amziZAUOXobhuzeb0dWJmAtXoj
wETYW6QH8m80eEyvKfkLsQ2Sd360ILhRJtyN1HFJAQbsC3C0VYiqA3kjN4S1Zfeg
08/odqdi0a7GSTm/h+iT3rimXXS2TLfSYIzI14LZDCeCz33tX13WQrhGPbYEJBHX
PKc1ws0HHBwdpM8d+liPHm+Czt2/sbcGCNBWSPWWZpL+uzeh9HQYEUoefk88JCPD
xQlANh8BCzq0L1pYNZdOYVNb0fT1XluuP8xtIePsNHIsKRURDlCjaEAY41DwXmTp
DFRd41BLFZztX5jtMGw4lb3RplcaaRhxCEF51hRJQdb5HMpn4cr2Hqy5UP+ke2vV
0DVRi0jp7Mkp/+qdEEotWT1AxSeYoiW7j/GwlC8tqAC9NoMmcHAuOGF5fHshxz/L
lnWSHiPjfLezpfryBwb5D4+3/TFEzc8gPsco/Ip7qU1+wMObTLs9Nq1ROW/aClYU
A/a5DyCQUHaHyYRse/BLTXxr2gsMCm7qaTdCy+pZcL1f+YEISHtITuA38eGfQzTX
cX/k75t7+mKW4nKBBT/SZbBT27gEeZpAn8ORaMixedBQZmoFHLKNlrf+F+fBFfhp
J4NFeBFnEpa3YrPVgLTJY6yN0gummIC8GA7EpggdAcNTbp5EU+IHlHhExhzr+W+f
YCOdD4Zt6LMZjAlpId2APn9NMscpwT59K/61n1CjElpWPwfTW2hyto7/1q0fIgwK
z2E615qLFJa+EFR8hTFz0wjNUOCrDgS7K7STQbGaFfjmAe2LUFZhTm86u6K0fnUY
sNJeDSnvDYEQD1MUiezD06MmzdEHqJHNKztoahqPsQIktH84RGdc1oTPMS4PLwLM
JJmEHqLF7I8T6L+BvMp2LhZTrx3g1qU4wZRC5Rys7J5WR5E+v8XttEcViEO4Lrdr
wNRoroHuXLw4nOzM58DS5cHGliw4BeErQ6XC0aan2EM789Us3Hrx0zerfIOyUdBe
N39sh8X4jo7YHMBH3yqVsAIU3e8c2Z2rayP7+AyUncAfff9EH3BNpIkQIG3xsqh1
oimmuNBEFKy1F1rSP3NQvwcZVw==
-----END ENCRYPTED PRIVATE KEY-----
`;
const openSSHPrivateKey = /* NOSONAR */ `-----BEGIN OPENSSH PRIVATE KEY-----
b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABFwAAAAdzc2gtcn
NhAAAAAwEAAQAAAQEA4r66AJdnJBwsKDyTr4QizQYMVhaFtcBcMcVuJHbKW/DtG985oA2V
hJRfcBz8MKNS9iTLRkgq4yoTVCIi5FDVU4EnQbLMoLfN2og6PpgSSL59bPUvYoenp6RS1i
R606eVakH/J6IIiadHMWBrLjCiChf5U/bvuSkUQWi0YLH9hI6Nw+S9MdwzBofshZZdww9Y
4udrWEVdfGrxWv5gjlaquxYZAnfaYCI0Pgh9v1nEALFufOVi1onUZaxduyvsLoQnXiwP2c
fWXsBYmjfViTTADTvHTLCF9IH+6heGk2WJkosgiajmMlc+1U7Xs+r5ZJ0ikt0ioydPN8Hi
LnVih6lENwAAA7hrsy+Ha7MvhwAAAAdzc2gtcnNhAAABAQDivroAl2ckHCwoPJOvhCLNBg
xWFoW1wFwxxW4kdspb8O0b3zmgDZWElF9wHPwwo1L2JMtGSCrjKhNUIiLkUNVTgSdBssyg
t83aiDo+mBJIvn1s9S9ih6enpFLWJHrTp5VqQf8nogiJp0cxYGsuMKIKF/lT9u+5KRRBaL
Rgsf2Ejo3D5L0x3DMGh+yFll3DD1ji52tYRV18avFa/mCOVqq7FhkCd9pgIjQ+CH2/WcQA
sW585WLWidRlrF27K+wuhCdeLA/Zx9ZewFiaN9WJNMANO8dMsIX0gf7qF4aTZYmSiyCJqO
YyVz7VTtez6vlknSKS3SKjJ083weIudWKHqUQ3AAAAAwEAAQAAAQBmKTj0+0JlaqwalPCV
rBth9M+qGgu0kC753dJ6a2tRcYPjgvgbvQMY8SDvCqA16eB/NqS/zdRE9bgvuBGwfRsgvJ
hLaZv47de6FpbnjOzwCaPJa88lvak0Rz1rbpRIuMEBVyr3WHIwU0YoYSDpdtALbDHSOvhX
nMKblelvh8KJ7jelix2R3llvcYexKdS66zzP7nPj5x8d1FDo2cxqWsy2aQxMlbZGTd3ujQ
ABzZGvI3L0tJRf4sPph/eLS28/teAExp5Uo9DuehqgU33iAYOaO2vZGqQJxBbaVtiarVK1
kRQLBrhieMIUJ9XHSwDn74VHWtBNfocTSPe6vbVMjLpBAAAAgGBTluv8WHqG1JTauYNjBI
EhSKL96MrIZR+fytEg3gcxitPnpQiPTP6XHXpQ7fxVk25bYvCj4QNi00jW6kBR46Zh90NI
nKgYvxdYoA5A7L6JvvByy00SbLssiM7kf3ByT/4EA8S911Q4cks8lKrwEUw+UzqTBR6QdG
JyZQQcUJa+AAAAgQDyIYjECyG91/X+zFYcecW+wWyLBzyEvOxFlRd4tZnvWknQTdtFqTlN
orTT+un1ygKe0DkfwXSbbjE69+xxlMtPQ2X6wd2mUruvtyBv1R8Kfj+doY5lFUfCEKj88u
ck1+Ol1K+KDnvlYZVnb5eCvMxmEMqyD+eTQ2EcNAJtjNmuDQAAAIEA77uU45tseIe9E6OZ
Hum2bUxQmqkpjrNCECiTJR99NUx+22sBZwrMAt3QzBwgSogQhLKAw+keEUG6zAl7UA6Lsc
vJdDllY2vYMRW9LZ1XNCxvl0i6QUsT8l9hwA9GuMQN1m6NRU+cnEU87KIXVBb+DRyZwo21
4WRkAc1Ru/KtrlMAAAAAAQID
-----END OPENSSH PRIVATE KEY-----
`;
const formatsData = [
{
input: `
-----BEGIN PGP PUBLIC KEY BLOCK-----
xjMEZkHgaRYJKwYBBAHaRw8BAQdAdCmEzdpkjMzOoNkzgDFk/CHd+6uYAWkZ
BPbjEzTJWtfNAMKMBBAWCgA+BYJmQeBpBAsJBwgJkEDKj7jnGr9wAxUICgQW
AAIBAhkBApsDAh4BFiEExfkkog7+aHz7TqepQMqPuOcav3AAAJaaAQCayvFQ
jxFbC7oOzX+8wOV8gmXVXXqI5dtLQYY3SeyqmwD/ftVwwe6Prl0vVFyLB/5y
lIpAti8AK1Lv8hIezzOx4QDOOARmQeBpEgorBgEEAZdVAQUBAQdA2jU3Rmt7
nMFvqyjgKdVjK5o2CQI2vJiSzn8cfV1piEgDAQgHwngEGBYKACoFgmZB4GkJ
kEDKj7jnGr9wApsMFiEExfkkog7+aHz7TqepQMqPuOcav3AAABI0AQCMW4Hg
FuIaZk9LVQsUmNknj4a70fzwDYWUYvq0C1iy/QD+KXvLKfcmky5OXJA7RsRV
SN2a4SE4c8FH22uyirzyUww=
=w51K
-----END PGP PUBLIC KEY BLOCK-----
`,
pass: '',
type: 'PGP Public Key',
},
{
// NOSONAR
input: `
-----BEGIN PGP PRIVATE KEY BLOCK-----
xVgEZkHgaRYJKwYBBAHaRw8BAQdAdCmEzdpkjMzOoNkzgDFk/CHd+6uYAWkZ
BPbjEzTJWtcAAQDXcDgEziqd9ZO/OpoyblRRxAOgPq2y8zTitwTz+ixX7RCe
zQDCjAQQFgoAPgWCZkHgaQQLCQcICZBAyo+45xq/cAMVCAoEFgACAQIZAQKb
AwIeARYhBMX5JKIO/mh8+06nqUDKj7jnGr9wAACWmgEAmsrxUI8RWwu6Ds1/
vMDlfIJl1V16iOXbS0GGN0nsqpsA/37VcMHuj65dL1Rciwf+cpSKQLYvACtS
7/ISHs8zseEAx10EZkHgaRIKKwYBBAGXVQEFAQEHQNo1N0Zre5zBb6so4CnV
YyuaNgkCNryYks5/HH1daYhIAwEIBwAA/2PxYHVWBmkLD9eiFDLJ0EtspWQ+
JKui86xylduxQWngEIrCeAQYFgoAKgWCZkHgaQmQQMqPuOcav3ACmwwWIQTF
+SSiDv5ofPtOp6lAyo+45xq/cAAAEjQBAIxbgeAW4hpmT0tVCxSY2SePhrvR
/PANhZRi+rQLWLL9AP4pe8sp9yaTLk5ckDtGxFVI3ZrhIThzwUfba7KKvPJT
DA==
=hSgY
-----END PGP PRIVATE KEY BLOCK-----
`,
pass: '',
type: 'PGP Private Key',
},
{
input: `
-----BEGIN CERTIFICATE REQUEST-----
MIIClTCCAX0CAQAwUDERMA8GA1UEAxMIdGVzdC5jb20xDzANBgNVBAYTBkZyYW5j
ZTELMAkGA1UECBMCRlIxDjAMBgNVBAcTBVBhcmlzMQ0wCwYDVQQKEwRUZXN0MIIB
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnIUCiMFffkHGuAhwTaW84uh7
/03KcfQAZB/bZKqLaxtcBGryTB1gHFSsl3uFlW+tIcjsboWnQ2JB0J1Z5Fp4a6IA
/62S6GTo6dAd9f73TR+P2vQghZOtiCoc7CN2KlosIx/EWMcMjq+CBzLRjjOOR8tX
Yn4ZAhPInO1ZGPMEpfEEfn44aJFRGaMy4KEU+RpTzFKFW6bialvKC3yGPegQ4wcz
AqvyUc9WUwG53HYLSJHldg8tZnpiJBNUh8mXiIiw51MFJ4Q9RVnz9vuoHgC6FmUv
qlg/R4gjGGfjDhAIUtz+Y98Dl+xfLmD+EzY7KQ1ur412BvQ8rXankNGLA2ea+wID
AQABoAAwDQYJKoZIhvcNAQEFBQADggEBABdtkhFSwgaXZWTcKrz6oarvuaQkrjvs
Nk9lUs1h/dfhJpnE3iZA0CuNp5PVQRdC2g+/37r21/udjNFdrX1Rm6/ldG0b2xDu
nQYZcLpIVB0fZ2TB+FHthmGw175I2niWIfNJQhIqnWJXi8unkGTMP2cD6j3axtMi
K8MUVPhWmL11ojEXItG35AU79G6GhFxel9wIByqsXreCUyOcrpYCHy2Fv85ivdE1
JyEQ2tE/f+cKwNg4yJNFoCoHSSFRn61F12J4m2nwpQ77VfD66oVkWtk/gYMrwx0d
4FlJNs+NtZDlcM7fJLNo7YsMdne7hl4aL6WG96kdWdxYEt/2dl3WXbY=
-----END CERTIFICATE REQUEST-----
`,
pass: '',
type: 'Certificate Signing Request',
},
{
input: `
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDivroAl2ckHCwoPJOvhCLNBgxWFoW1wFwxxW4kdspb8O0b3zmgDZWElF9wHPwwo1L2JMtGSCrjKhNUIiLkUNVTgSdBssygt83aiDo+mBJIvn1s9S9ih6enpFLWJHrTp5VqQf8nogiJp0cxYGsuMKIKF/lT9u+5KRRBaLRgsf2Ejo3D5L0x3DMGh+yFll3DD1ji52tYRV18avFa/mCOVqq7FhkCd9pgIjQ+CH2/WcQAsW585WLWidRlrF27K+wuhCdeLA/Zx9ZewFiaN9WJNMANO8dMsIX0gf7qF4aTZYmSiyCJqOYyVz7VTtez6vlknSKS3SKjJ083weIudWKHqUQ3
`,
pass: '',
type: 'Public Key',
title: 'ssh-rsa Public Key',
},
{
input: openSSHPrivateKey,
pass: '',
type: 'Private Key',
title: 'Unencrypted Private Key',
},
{
input: `
SHA256:qflg623OemnYEHDwUafq+XuMoB0UdJ+Ks44kHcWxDyM
`,
pass: '',
type: 'Fingerprint',
},
{
input: `
-----BEGIN CERTIFICATE-----
MIIDQDCCAiigAwIBAgIJK59gK0GUbZO3MA0GCSqGSIb3DQEBBQUAMFAxETAPBgNV
BAMTCHRlc3QuY29tMQ8wDQYDVQQGEwZGcmFuY2UxCzAJBgNVBAgTAkZSMQ4wDAYD
VQQHEwVQYXJpczENMAsGA1UEChMEVGVzdDAeFw0yNDA1MTMwOTQ4MTVaFw0yNTA1
MTMwOTQ4MTVaMFAxETAPBgNVBAMTCHRlc3QuY29tMQ8wDQYDVQQGEwZGcmFuY2Ux
CzAJBgNVBAgTAkZSMQ4wDAYDVQQHEwVQYXJpczENMAsGA1UEChMEVGVzdDCCASIw
DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMKrE3C9tUtmvHZkIwEBf1h5N7KC
FoXowfNZxKK7SHWcnQjBdv0ziqsU+GmcUqUD1GymMcBweqw4TQVg0a/UwdYIUTuQ
GXGx4ULCXKHv/NfmVSWcMsOZHAR4m/yEzTB/ZjKMSrqnIWyOdusDMRn4VRoAtrKO
/FM+SDJ6wvnJ/jNoZJXktq9avYduEi+heNekIF6NYM9clzm9Ff3Evf89KuigBcsu
rgL+S8PjotCwxMgzOWV4/paeeQluqYeU94prWIASS/D3elH7qFTAUnafBICFN2zs
XWY6ZFCR8QrDI5F/8KELq/3BaLQBxpIi9SmADLWqnPOu+6H5rzr2YV8LaxMCAwEA
AaMdMBswDAYDVR0TBAUwAwEB/zALBgNVHQ8EBAMCAvQwDQYJKoZIhvcNAQEFBQAD
ggEBAKhrUNnWe0VmgefvfwsAqrbk0Z6PwaibIl/l5I9oh1qM01J9BFHpvomhcLxu
cmIpD6nAqtkNyvsXtFAnZG3WNaf45yyd153wSa0QnrNo2GRH9quktm4DaRIIP7qq
EdtApYCeT16LvAGYUH3ubCdom8w6DkukLg8qMrXMywSZlx85jlJfifPvMKsJmm/a
QAq1H3cYaaj0DocF1rCP+hLzvsuM7UwS2JOK8Mw49kYPBTbCVmRDOE1rhlDIO8Kw
V7CCFr4NXsyRlM0TpKdspOmxJiyxmk6DoVgp9PeqfoyDAC9TJU0VJ6A2x+AfjK4O
Wg6xDXMx6dk6Rhh8yqGrmx05QM8=
-----END CERTIFICATE-----
`,
pass: '',
type: 'Certificate',
},
{
input: `
c6:b9:73:b8:68:49:33:ad:27:51:bb:6c:16:e7:9c:da:dd:e3:92:15
`,
pass: '',
type: 'Fingerprint',
title: 'HEX Fingerprint',
},
{
input: encryptedPrivateKey,
pass: 'test',
type: 'Private Key',
title: 'Encrypted Private Key',
},
];
describe('certificate-key-parser', () => {
for (const format of formatsData) {
const { input, pass, type, title } = format;
it(`Parse '${title ?? type}' format with right type (${type})`, async () => {
const { values } = await getKeyOrCertificateInfosAsync(input, pass);
const result_type = values.find(v => v.label === 'Type:')?.value;
expect(result_type).toBe(type);
});
}
});
@@ -1,129 +0,0 @@
import type { Buffer } from 'node:buffer';
import {
parseCertificate, parseFingerprint,
parseKey,
parsePrivateKey,
parseSignature,
} from 'sshpk';
import type {
AlgorithmType,
Certificate,
CertificateFormat,
Fingerprint,
Key,
PrivateKey, Signature, SignatureFormatType,
} from 'sshpk';
import { Base64 } from 'js-base64';
import * as openpgp from 'openpgp';
import * as forge from 'node-forge';
import { type LabelValue, getCSRLabelValues, getCertificateLabelValues, getFingerprintLabelValues, getPGPPrivateKeyLabelValuesAsync, getPGPPublicKeyLabelValuesAsync, getPrivateKeyLabelValues, getPublicKeyLabelValues, getSignatureLabelValues } from './certificate-key-parser.infos';
export async function getKeyOrCertificateInfosAsync(keyOrCertificateValue: string | Buffer, passphrase: string) {
try {
const canParse = (value: string | Buffer, parseFunction: (value: string | Buffer) => any) => {
try {
return parseFunction(value);
}
catch {
return null;
}
};
const canParseAsync = async (value: string | Buffer, parseFunction: (value: string | Buffer) => Promise<any>) => {
try {
return await parseFunction(value);
}
catch {
return null;
}
};
const inputKeyOrCertificateValue = (typeof keyOrCertificateValue === 'string' ? keyOrCertificateValue?.trim() : keyOrCertificateValue);
const privateKey = canParse(inputKeyOrCertificateValue,
value => parsePrivateKey(value, 'auto', { passphrase })) as PrivateKey;
if (privateKey) {
return {
values: getPrivateKeyLabelValues(privateKey),
};
}
const publicKey = canParse(inputKeyOrCertificateValue, parseKey) as Key;
if (publicKey) {
return { values: getPublicKeyLabelValues(publicKey) };
}
const pgpPrivateKey = await canParseAsync(inputKeyOrCertificateValue, value => openpgp.readPrivateKey({ armoredKey: value.toString() })) as openpgp.Key;
if (pgpPrivateKey) {
return { values: await getPGPPrivateKeyLabelValuesAsync(pgpPrivateKey) };
}
const pgpPublicKey = await canParseAsync(inputKeyOrCertificateValue, value => openpgp.readKey({ armoredKey: value.toString() })) as openpgp.Key;
if (pgpPublicKey) {
return { values: await getPGPPublicKeyLabelValuesAsync(pgpPublicKey) };
}
const cert = canParse(inputKeyOrCertificateValue, (value) => {
for (const format of ['openssh', 'pem', 'x509']) {
try {
return parseCertificate(value, format as CertificateFormat);
}
catch {}
}
return null;
}) as Certificate;
if (cert) {
let certificateX509DER = '';
try {
certificateX509DER = Base64.fromUint8Array(cert.toBuffer('x509'));
}
catch {}
return { values: getCertificateLabelValues(cert), certificateX509DER };
}
const csr = canParse(inputKeyOrCertificateValue, (value) => {
return forge.pki.certificationRequestFromPem(value.toString(), false, false);
}) as forge.pki.Certificate;
if (csr) {
return { values: getCSRLabelValues(csr) };
}
const fingerprint = canParse(inputKeyOrCertificateValue, value => parseFingerprint(value.toString())) as Fingerprint;
if (fingerprint) {
return { values: getFingerprintLabelValues(fingerprint) };
}
const signature = canParse(inputKeyOrCertificateValue, (value) => {
//
for (const algo of ['dsa', 'rsa', 'ecdsa', 'ed25519']) {
for (const format of ['asn1', 'ssh', 'raw']) {
try {
return parseSignature(value, algo as AlgorithmType, format as SignatureFormatType);
}
catch {}
}
}
return null;
}) as Signature;
if (signature) {
return { values: getSignatureLabelValues(signature) };
}
return {
values: [
{
label: 'Type:',
value: 'Unknown format or invalid passphrase',
}],
};
}
catch (e: any) {
return {
values: [
{
label: 'Error:',
value: e.toString(),
}] as LabelValue[],
};
}
}
@@ -1,120 +0,0 @@
<script setup lang="ts">
import { Buffer } from 'node:buffer';
import { getKeyOrCertificateInfosAsync } from './certificate-key-parser.service';
import { type LabelValue } from './certificate-key-parser.infos';
import { useDownloadFileFromBase64 } from '@/composable/downloadBase64';
const inputKeyOrCertificate = ref('');
const passphrase = ref('');
const fileInput = ref() as Ref<Buffer>;
const inputType = ref<'file' | 'content'>('file');
async function onUpload(file: File) {
if (file) {
fileInput.value = Buffer.from(await file.arrayBuffer());
inputKeyOrCertificate.value = '';
}
}
const certificateX509DER = ref('');
const { download: downloadX509DER } = useDownloadFileFromBase64(
{
source: certificateX509DER,
extension: 'der',
});
function downloadX509DERFile() {
if (certificateX509DER.value === '') {
return;
}
try {
downloadX509DER();
}
catch (_) {
//
}
}
const parsedSections = computedAsync<LabelValue[]>(async () => {
const inputContent = inputKeyOrCertificate.value;
const file = fileInput.value;
let inputKeyOrCertificateValue: string | Buffer = '';
if (inputType.value === 'file' && file) {
inputKeyOrCertificateValue = file;
}
else if (inputType.value === 'content' && inputContent) {
inputKeyOrCertificateValue = inputContent;
}
const { values, certificateX509DER: certPEM } = await getKeyOrCertificateInfosAsync(inputKeyOrCertificateValue, passphrase.value);
certificateX509DER.value = certPEM || '';
return values;
});
</script>
<template>
<div>
<c-card>
<n-radio-group v-model:value="inputType" name="radiogroup" mb-2 flex justify-center>
<n-space>
<n-radio
value="file"
label="File"
/>
<n-radio
value="content"
label="Content"
/>
</n-space>
</n-radio-group>
<c-file-upload
v-if="inputType === 'file'"
title="Drag and drop a Certificate file here, or click to select a Certificate file"
@file-upload="onUpload"
/>
<c-input-text
v-if="inputType === 'content'"
v-model:value="inputKeyOrCertificate"
label="Paste your Public Key / Private Key / Signature / Fingerprint / Certificate:"
placeholder="Your Public Key / Private Key / Signature / Fingerprint / Certificate..."
multiline
rows="8"
data-test-id="input"
/>
</c-card>
<c-input-text
v-model:value="passphrase"
label="Passphrase (for encrypted keys):"
placeholder="Passphrase (for encrypted keys)..."
type="password"
data-test-id="pass"
/>
<n-divider />
<input-copyable
v-for="{ label, value, multiline } of parsedSections"
:key="label"
:label="label"
:data-test-id="label"
label-position="left"
label-width="100px"
label-align="right"
autosize mb-2
:multiline="multiline"
:value="value"
placeholder="Not Set"
/>
<div v-if="certificateX509DER !== ''" flex justify-center>
<c-button @click="downloadX509DERFile()">
Download X509 DER certificate
</c-button>
</div>
</div>
</template>
-12
View File
@@ -1,12 +0,0 @@
import { FileCertificate } from '@vicons/tabler';
import { defineTool } from '../tool';
export const tool = defineTool({
name: 'Certificate/Key parser',
path: '/certificate-key-parser',
description: 'Parse Key and Certificate',
keywords: ['certificate', 'key', 'parser'],
component: () => import('./certificate-key-parser.vue'),
icon: FileCertificate,
createdAt: new Date('2024-02-22'),
});
-867
View File
@@ -1,867 +0,0 @@
{"2.5.4.3": "CN",
"2.5.4.4": "Surname",
"2.5.4.6": "C",
"2.5.4.7": "Cidade",
"2.5.4.8": "Estado",
"2.5.4.9": "StreetAddress",
"2.5.4.10": "O",
"2.5.4.11": "OU",
"2.5.4.12": "Title",
"2.5.4.20": "TelephoneNumber",
"2.5.4.42": "GivenName",
"2.5.29.14": "id-ce-subjectKeyIdentifier",
"2.5.29.15": "id-ce-keyUsage",
"2.5.29.17": "id-ce-subjectAltName",
"2.5.29.19": "id-ce-basicConstraints",
"2.5.29.20": "id-ce-cRLNumber",
"2.5.29.31": "id-ce-CRLDistributionPoints",
"2.5.29.32": "id-ce-certificatePolicies",
"2.5.29.35": "id-ce-authorityKeyIdentifier",
"2.5.29.37": "id-ce-extKeyUsage",
"1.2.840.113549.1.9.1": "Email",
"1.2.840.113549.1.1.1": "RSAEncryption",
"1.2.840.113549.1.1.2": "md2WithRSAEncryption",
"1.2.840.113549.1.1.4": "md5withRSAEncryption",
"1.2.840.113549.1.1.5": "SHA-1WithRSAEncryption",
"1.2.840.10040.4.3": "id-dsa-with-sha-1",
"1.3.6.1.5.5.7.3.2": "id_kp_clientAuth",
"1.3.6.1.5.5.7.3.4": "id_kp_securityemail",
"1.3.6.1.5.5.7.2.1": "id_certificatePolicies",
"2.16.840.1.113730.1.1": "netscape-cert-type",
"2.16.840.1.113730.1.2": "netscape-base-url",
"2.16.840.1.113730.1.3": "netscape-revocation-url",
"2.16.840.1.113730.1.4": "netscape-ca-revocation-url",
"2.16.840.1.113730.1.7": "netscape-cert-renewal-url",
"2.16.840.1.113730.1.8": "netscape-ca-policy-url",
"2.16.840.1.113730.1.12": "netscape-ssl-server-name",
"2.16.840.1.113730.1.13": "netscape-comment",
"2.16.76.1.2.1": "A1",
"2.16.76.1.2.3": "A3",
"2.16.76.1.2.1.16": "Certification Practice Statement pointer",
"2.16.76.1.3.1": "Dados do cert parte 1",
"2.16.76.1.3.5": "Dados do cert parte 2",
"2.16.76.1.3.6": "Dados do cert parte 3",
"0.9.2342.19200300.100.1.25": "domainComponent",
"1.2.36.68980861.1.1.10": "Signet pilot",
"1.2.36.68980861.1.1.11": "Signet intraNet",
"1.2.36.68980861.1.1.2": "Signet personal",
"1.2.36.68980861.1.1.20": "Signet securityPolicy",
"1.2.36.68980861.1.1.3": "Signet business",
"1.2.36.68980861.1.1.4": "Signet legal",
"1.2.36.75878867.1.100.1.1": "Certificates Australia policyIdentifier",
"1.2.752.34.1": "seis-cp",
"1.2.752.34.1.1": "SEIS certificatePolicy-s10",
"1.2.752.34.2": "SEIS pe",
"1.2.752.34.3": "SEIS at",
"1.2.752.34.3.1": "SEIS at-personalIdentifier",
"1.2.840.10040.2.1": "holdinstruction-none",
"1.2.840.10040.2.2": "holdinstruction-callissuer",
"1.2.840.10040.2.3": "holdinstruction-reject",
"1.2.840.10040.4.1": "dsa",
"1.2.840.10040.4.3": "dsaWithSha1",
"1.2.840.10045.1": "fieldType",
"1.2.840.10045.1.1": "prime-field",
"1.2.840.10045.1.2": "characteristic-two-field",
"1.2.840.10045.1.2.1": "ecPublicKey",
"1.2.840.10045.1.2.3": "characteristic-two-basis",
"1.2.840.10045.1.2.3.1": "onBasis",
"1.2.840.10045.1.2.3.2": "tpBasis",
"1.2.840.10045.1.2.3.3": "ppBasis",
"1.2.840.10045.2": "publicKeyType",
"1.2.840.10045.2.1": "ecPublicKey",
"1.2.840.10046.2.1": "dhPublicNumber",
"1.2.840.113533.7": "nsn",
"1.2.840.113533.7.65": "nsn-ce",
"1.2.840.113533.7.65.0": "entrustVersInfo",
"1.2.840.113533.7.66": "nsn-alg",
"1.2.840.113533.7.66.10": "cast5CBC",
"1.2.840.113533.7.66.11": "cast5MAC",
"1.2.840.113533.7.66.12": "pbeWithMD5AndCAST5-CBC",
"1.2.840.113533.7.66.13": "passwordBasedMac",
"1.2.840.113533.7.66.3": "cast3CBC",
"1.2.840.113533.7.67": "nsn-oc",
"1.2.840.113533.7.67.0": "entrustUser",
"1.2.840.113533.7.68": "nsn-at",
"1.2.840.113533.7.68.0": "entrustCAInfo",
"1.2.840.113533.7.68.10": "attributeCertificate",
"1.2.840.113549.1.1": "pkcs-1",
"1.2.840.113549.1.1.1": "rsaEncryption",
"1.2.840.113549.1.1.2": "md2withRSAEncryption",
"1.2.840.113549.1.1.3": "md4withRSAEncryption",
"1.2.840.113549.1.1.4": "md5withRSAEncryption",
"1.2.840.113549.1.1.5": "sha1withRSAEncryption",
"1.2.840.113549.1.1.6": "rsaOAEPEncryptionSET",
"1.2.840.113549.1.9.16.2.11": "SMIMEEncryptionKeyPreference",
"1.2.840.113549.1.12": "pkcs-12",
"1.2.840.113549.1.12.1": "pkcs-12-PbeIds",
"1.2.840.113549.1.12.1.1": "pbeWithSHAAnd128BitRC4",
"1.2.840.113549.1.12.1.2": "pbeWithSHAAnd40BitRC4",
"1.2.840.113549.1.12.1.3": "pbeWithSHAAnd3-KeyTripleDES-CBC",
"1.2.840.113549.1.12.1.4": "pbeWithSHAAnd2-KeyTripleDES-CBC",
"1.2.840.113549.1.12.1.5": "pbeWithSHAAnd128BitRC2-CBC",
"1.2.840.113549.1.12.1.6": "pbeWithSHAAnd40BitRC2-CBC",
"1.2.840.113549.1.12.10": "pkcs-12Version1",
"1.2.840.113549.1.12.10.1": "pkcs-12BadIds",
"1.2.840.113549.1.12.10.1.1": "pkcs-12-keyBag",
"1.2.840.113549.1.12.10.1.2": "pkcs-12-pkcs-8ShroudedKeyBag",
"1.2.840.113549.1.12.10.1.3": "pkcs-12-certBag",
"1.2.840.113549.1.12.10.1.4": "pkcs-12-crlBag",
"1.2.840.113549.1.12.10.1.5": "pkcs-12-secretBag",
"1.2.840.113549.1.12.10.1.6": "pkcs-12-safeContentsBag",
"1.2.840.113549.1.12.2": "pkcs-12-ESPVKID",
"1.2.840.113549.1.12.2.1": "pkcs-12-PKCS8KeyShrouding",
"1.2.840.113549.1.12.3": "pkcs-12-BagIds",
"1.2.840.113549.1.12.3.1": "pkcs-12-keyBagId",
"1.2.840.113549.1.12.3.2": "pkcs-12-certAndCRLBagId",
"1.2.840.113549.1.12.3.3": "pkcs-12-secretBagId",
"1.2.840.113549.1.12.3.4": "pkcs-12-safeContentsId",
"1.2.840.113549.1.12.3.5": "pkcs-12-pkcs-8ShroudedKeyBagId",
"1.2.840.113549.1.12.4": "pkcs-12-CertBagID",
"1.2.840.113549.1.12.4.1": "pkcs-12-X509CertCRLBagID",
"1.2.840.113549.1.12.4.2": "pkcs-12-SDSICertBagID",
"1.2.840.113549.1.12.5": "pkcs-12-OID",
"1.2.840.113549.1.12.5.1": "pkcs-12-PBEID",
"1.2.840.113549.1.12.5.1.1": "pkcs-12-PBEWithSha1And128BitRC4",
"1.2.840.113549.1.12.5.1.2": "pkcs-12-PBEWithSha1And40BitRC4",
"1.2.840.113549.1.12.5.1.3": "pkcs-12-PBEWithSha1AndTripleDESCBC",
"1.2.840.113549.1.12.5.1.4": "pkcs-12-PBEWithSha1And128BitRC2CBC",
"1.2.840.113549.1.12.5.1.5": "pkcs-12-PBEWithSha1And40BitRC2CBC",
"1.2.840.113549.1.12.5.1.6": "pkcs-12-PBEWithSha1AndRC4",
"1.2.840.113549.1.12.5.1.7": "pkcs-12-PBEWithSha1AndRC2CBC",
"1.2.840.113549.1.12.5.2": "pkcs-12-EnvelopingID",
"1.2.840.113549.1.12.5.2.1": "pkcs-12-RSAEncryptionWith128BitRC4",
"1.2.840.113549.1.12.5.2.2": "pkcs-12-RSAEncryptionWith40BitRC4",
"1.2.840.113549.1.12.5.2.3": "pkcs-12-RSAEncryptionWithTripleDES",
"1.2.840.113549.1.12.5.3": "pkcs-12-SignatureID",
"1.2.840.113549.1.12.5.3.1": "pkcs-12-RSASignatureWithSHA1Digest",
"1.2.840.113549.1.3": "pkcs-3",
"1.2.840.113549.1.3.1": "dhKeyAgreement",
"1.2.840.113549.1.5": "pkcs-5",
"1.2.840.113549.1.5.1": "pbeWithMD2AndDES-CBC",
"1.2.840.113549.1.5.10": "pbeWithSHAAndDES-CBC",
"1.2.840.113549.1.5.3": "pbeWithMD5AndDES-CBC",
"1.2.840.113549.1.5.4": "pbeWithMD2AndRC2-CBC",
"1.2.840.113549.1.5.6": "pbeWithMD5AndRC2-CBC",
"1.2.840.113549.1.5.9": "pbeWithMD5AndXOR",
"1.2.840.113549.1.7": "pkcs-7",
"1.2.840.113549.1.7.1": "data",
"1.2.840.113549.1.7.2": "signedData",
"1.2.840.113549.1.7.3": "envelopedData",
"1.2.840.113549.1.7.4": "signedAndEnvelopedData",
"1.2.840.113549.1.7.5": "digestData",
"1.2.840.113549.1.7.6": "encryptedData",
"1.2.840.113549.1.7.7": "dataWithAttributes",
"1.2.840.113549.1.7.8": "encryptedPrivateKeyInfo",
"1.2.840.113549.1.9": "pkcs-9",
"1.2.840.113549.1.9.1": "emailAddress",
"1.2.840.113549.1.9.10": "issuerAndSerialNumber",
"1.2.840.113549.1.9.11": "passwordCheck",
"1.2.840.113549.1.9.12": "publicKey",
"1.2.840.113549.1.9.13": "signingDescription",
"1.2.840.113549.1.9.14": "extensionReq",
"1.2.840.113549.1.9.15": "sMIMECapabilities",
"1.2.840.113549.1.9.15.1": "preferSignedData",
"1.2.840.113549.1.9.15.2": "canNotDecryptAny",
"1.2.840.113549.1.9.15.3": "receiptRequest",
"1.2.840.113549.1.9.15.4": "receipt",
"1.2.840.113549.1.9.15.5": "contentHints",
"1.2.840.113549.1.9.15.6": "mlExpansionHistory",
"1.2.840.113549.1.9.16": "id-sMIME",
"1.2.840.113549.1.9.16.0": "id-mod",
"1.2.840.113549.1.9.16.0.1": "id-mod-cms",
"1.2.840.113549.1.9.16.0.2": "id-mod-ess",
"1.2.840.113549.1.9.16.1": "id-ct",
"1.2.840.113549.1.9.16.1.1": "id-ct-receipt",
"1.2.840.113549.1.9.16.2": "id-aa",
"1.2.840.113549.1.9.16.2.1": "id-aa-receiptRequest",
"1.2.840.113549.1.9.16.2.2": "id-aa-securityLabel",
"1.2.840.113549.1.9.16.2.3": "id-aa-mlExpandHistory",
"1.2.840.113549.1.9.16.2.4": "id-aa-contentHint",
"1.2.840.113549.1.9.2": "unstructuredName",
"1.2.840.113549.1.9.20": "friendlyName",
"1.2.840.113549.1.9.21": "localKeyID",
"1.2.840.113549.1.9.22": "certTypes",
"1.2.840.113549.1.9.22.1": "x509Certificate",
"1.2.840.113549.1.9.22.2": "sdsiCertificate",
"1.2.840.113549.1.9.23": "crlTypes",
"1.2.840.113549.1.9.23.1": "x509Crl",
"1.2.840.113549.1.9.3": "contentType",
"1.2.840.113549.1.9.4": "messageDigest",
"1.2.840.113549.1.9.5": "signingTime",
"1.2.840.113549.1.9.6": "countersignature",
"1.2.840.113549.1.9.7": "challengePassword",
"1.2.840.113549.1.9.8": "unstructuredAddress",
"1.2.840.113549.1.9.9": "extendedCertificateAttributes",
"1.2.840.113549.2": "digestAlgorithm",
"1.2.840.113549.2.2": "md2",
"1.2.840.113549.2.4": "md4",
"1.2.840.113549.2.5": "md5",
"1.2.840.113549.3": "encryptionAlgorithm",
"1.2.840.113549.3.10": "desCDMF",
"1.2.840.113549.3.2": "rc2CBC",
"1.2.840.113549.3.3": "rc2ECB",
"1.2.840.113549.3.4": "rc4",
"1.2.840.113549.3.5": "rc4WithMAC",
"1.2.840.113549.3.6": "DESX-CBC",
"1.2.840.113549.3.7": "DES-EDE3-CBC",
"1.2.840.113549.3.8": "RC5CBC",
"1.2.840.113549.3.9": "RC5-CBCPad",
"1.2.840.113556.4.3": "microsoftExcel",
"1.2.840.113556.4.4": "titledWithOID",
"1.2.840.113556.4.5": "microsoftPowerPoint",
"1.3.133.16.840.9.84": "x9-84",
"1.3.133.16.840.9.84.0": "x9-84-Module",
"1.3.133.16.840.9.84.0.1": "x9-84-Biometrics",
"1.3.133.16.840.9.84.0.2": "x9-84-CMS",
"1.3.133.16.840.9.84.0.3": "x9-84-Identifiers",
"1.3.133.16.840.9.84.1": "biometric",
"1.3.133.16.840.9.84.1.0": "id-unknown-Type",
"1.3.133.16.840.9.84.1.1": "id-body-Odor",
"1.3.133.16.840.9.84.1.10": "id-palm",
"1.3.133.16.840.9.84.1.11": "id-retina",
"1.3.133.16.840.9.84.1.12": "id-signature",
"1.3.133.16.840.9.84.1.13": "id-speech-Pattern",
"1.3.133.16.840.9.84.1.14": "id-thermal-Image",
"1.3.133.16.840.9.84.1.15": "id-vein-Pattern",
"1.3.133.16.840.9.84.1.16": "id-thermal-Face-Image",
"1.3.133.16.840.9.84.1.17": "id-thermal-Hand-Image",
"1.3.133.16.840.9.84.1.18": "id-lip-Movement",
"1.3.133.16.840.9.84.1.19": "id-gait",
"1.3.133.16.840.9.84.1.2": "id-dna",
"1.3.133.16.840.9.84.1.3": "id-ear-Shape",
"1.3.133.16.840.9.84.1.4": "id-facial-Features",
"1.3.133.16.840.9.84.1.5": "id-finger-Image",
"1.3.133.16.840.9.84.1.6": "id-finger-Geometry",
"1.3.133.16.840.9.84.1.7": "id-hand-Geometry",
"1.3.133.16.840.9.84.1.8": "id-iris-Features",
"1.3.133.16.840.9.84.1.9": "id-keystroke-Dynamics",
"1.3.133.16.840.9.84.2": "processing-algorithm",
"1.3.133.16.840.9.84.3": "matching-method",
"1.3.133.16.840.9.84.4": "format-Owner",
"1.3.133.16.840.9.84.4.0": "cbeff-Owner",
"1.3.133.16.840.9.84.4.1": "ibia-Owner",
"1.3.133.16.840.9.84.4.1.1": "id-ibia-SAFLINK",
"1.3.133.16.840.9.84.4.1.10": "id-ibia-SecuGen",
"1.3.133.16.840.9.84.4.1.11": "id-ibia-PreciseBiometric",
"1.3.133.16.840.9.84.4.1.12": "id-ibia-Identix",
"1.3.133.16.840.9.84.4.1.13": "id-ibia-DERMALOG",
"1.3.133.16.840.9.84.4.1.14": "id-ibia-LOGICO",
"1.3.133.16.840.9.84.4.1.15": "id-ibia-NIST",
"1.3.133.16.840.9.84.4.1.16": "id-ibia-A3Vision",
"1.3.133.16.840.9.84.4.1.17": "id-ibia-NEC",
"1.3.133.16.840.9.84.4.1.18": "id-ibia-STMicroelectronics",
"1.3.133.16.840.9.84.4.1.2": "id-ibia-Bioscrypt",
"1.3.133.16.840.9.84.4.1.3": "id-ibia-Visionics",
"1.3.133.16.840.9.84.4.1.4": "id-ibia-InfineonTechnologiesAG",
"1.3.133.16.840.9.84.4.1.5": "id-ibia-IridianTechnologies",
"1.3.133.16.840.9.84.4.1.6": "id-ibia-Veridicom",
"1.3.133.16.840.9.84.4.1.7": "id-ibia-CyberSIGN",
"1.3.133.16.840.9.84.4.1.8": "id-ibia-eCryp.",
"1.3.133.16.840.9.84.4.1.9": "id-ibia-FingerprintCardsAB",
"1.3.133.16.840.9.84.4.2": "x9-Owner",
"1.3.14.2.26.5": "sha",
"1.3.14.3.2.1.1": "rsa",
"1.3.14.3.2.10": "desMAC",
"1.3.14.3.2.11": "rsaSignature",
"1.3.14.3.2.12": "dsa",
"1.3.14.3.2.13": "dsaWithSHA",
"1.3.14.3.2.14": "mdc2WithRSASignature",
"1.3.14.3.2.15": "shaWithRSASignature",
"1.3.14.3.2.16": "dhWithCommonModulus",
"1.3.14.3.2.17": "desEDE",
"1.3.14.3.2.18": "sha",
"1.3.14.3.2.19": "mdc-2",
"1.3.14.3.2.2": "md4WitRSA",
"1.3.14.3.2.2.1": "sqmod-N",
"1.3.14.3.2.20": "dsaCommon",
"1.3.14.3.2.21": "dsaCommonWithSHA",
"1.3.14.3.2.22": "rsaKeyTransport",
"1.3.14.3.2.23": "keyed-hash-seal",
"1.3.14.3.2.24": "md2WithRSASignature",
"1.3.14.3.2.25": "md5WithRSASignature",
"1.3.14.3.2.26": "sha1",
"1.3.14.3.2.27": "dsaWithSHA1",
"1.3.14.3.2.28": "dsaWithCommonSHA1",
"1.3.14.3.2.29": "sha-1WithRSAEncryption",
"1.3.14.3.2.3": "md5WithRSA",
"1.3.14.3.2.3.1": "sqmod-NwithRSA",
"1.3.14.3.2.4": "md4WithRSAEncryption",
"1.3.14.3.2.6": "desECB",
"1.3.14.3.2.7": "desCBC",
"1.3.14.3.2.8": "desOFB",
"1.3.14.3.2.9": "desCFB",
"1.3.14.3.3.1": "simple-strong-auth-mechanism",
"1.3.14.7.2.1.1": "ElGamal",
"1.3.14.7.2.3.1": "md2WithRSA",
"1.3.14.7.2.3.2": "md2WithElGamal",
"1.3.36.3": "algorithm",
"1.3.36.3.1": "encryptionAlgorithm",
"1.3.36.3.1.1": "des",
"1.3.36.3.1.1.1.1": "desECBPad",
"1.3.36.3.1.1.1.1.1": "desECBPadISO",
"1.3.36.3.1.1.2.1": "desCBCPad",
"1.3.36.3.1.1.2.1.1": "desCBCPadISO",
"1.3.36.3.1.2": "idea",
"1.3.36.3.1.2.1": "ideaECB",
"1.3.36.3.1.2.1.1": "ideaECBPad",
"1.3.36.3.1.2.1.1.1": "ideaECBPadISO",
"1.3.36.3.1.2.2": "ideaCBC",
"1.3.36.3.1.2.2.1": "ideaCBCPad",
"1.3.36.3.1.2.2.1.1": "ideaCBCPadISO",
"1.3.36.3.1.2.3": "ideaOFB",
"1.3.36.3.1.2.4": "ideaCFB",
"1.3.36.3.1.3": "des-3",
"1.3.36.3.1.3.1.1": "des-3ECBPad",
"1.3.36.3.1.3.1.1.1": "des-3ECBPadISO",
"1.3.36.3.1.3.2.1": "des-3CBCPad",
"1.3.36.3.1.3.2.1.1": "des-3CBCPadISO",
"1.3.36.3.2": "hashAlgorithm",
"1.3.36.3.2.1": "ripemd160",
"1.3.36.3.2.2": "ripemd128",
"1.3.36.3.2.3": "ripemd256",
"1.3.36.3.2.4": "mdc2singleLength",
"1.3.36.3.2.5": "mdc2doubleLength",
"1.3.36.3.3": "signatureAlgorithm",
"1.3.36.3.3.1": "rsa",
"1.3.36.3.3.1.1": "rsaMitSHA-1",
"1.3.36.3.3.1.2": "rsaMitRIPEMD160",
"1.3.36.3.3.2": "ellipticCurve",
"1.3.36.3.4": "signatureScheme",
"1.3.36.3.4.1": "iso9796-1",
"1.3.36.3.4.2.1": "iso9796-2",
"1.3.36.3.4.2.2": "iso9796-2rsa",
"1.3.36.4": "attribute",
"1.3.36.5": "policy",
"1.3.36.6": "api",
"1.3.36.6.1": "manufacturerSpecific",
"1.3.36.6.2": "functionalitySpecific",
"1.3.36.7": "api",
"1.3.36.7.1": "keyAgreement",
"1.3.36.7.2": "keyTransport",
"1.3.6.1.4.1.2428.10.1.1": "UNINETT policyIdentifier",
"1.3.6.1.4.1.2712.10": "ICE-TEL policyIdentifier",
"1.3.6.1.4.1.3029.32.1": "cryptlibEnvelope",
"1.3.6.1.4.1.3029.32.2": "cryptlibPrivateKey",
"1.3.6.1.4.1.311": "Microsoft OID",
"1.3.6.1.4.1.311.10": "Crypto 2.0",
"1.3.6.1.4.1.311.10.1": "certTrustList",
"1.3.6.1.4.1.311.10.1.1": "szOID_SORTED_CTL",
"1.3.6.1.4.1.311.10.10": "Microsoft CMC OIDs",
"1.3.6.1.4.1.311.10.10.1": "szOID_CMC_ADD_ATTRIBUTES",
"1.3.6.1.4.1.311.10.11": "Microsoft certificate property OIDs",
"1.3.6.1.4.1.311.10.11.1": "szOID_CERT_PROP_ID_PREFIX",
"1.3.6.1.4.1.311.10.12": "CryptUI",
"1.3.6.1.4.1.311.10.12.1": "szOID_ANY_APPLICATION_POLICY",
"1.3.6.1.4.1.311.10.2": "nextUpdateLocation",
"1.3.6.1.4.1.311.10.3.1": "certTrustListSigning",
"1.3.6.1.4.1.311.10.3.10": "szOID_KP_QUALIFIED_SUBORDINATION",
"1.3.6.1.4.1.311.10.3.11": "szOID_KP_KEY_RECOVERY",
"1.3.6.1.4.1.311.10.3.12": "szOID_KP_DOCUMENT_SIGNING",
"1.3.6.1.4.1.311.10.3.2": "timeStampSigning",
"1.3.6.1.4.1.311.10.3.3": "serverGatedCrypto",
"1.3.6.1.4.1.311.10.3.3.1": "szOID_SERIALIZED",
"1.3.6.1.4.1.311.10.3.4": "encryptedFileSystem",
"1.3.6.1.4.1.311.10.3.4.1": "szOID_EFS_RECOVERY",
"1.3.6.1.4.1.311.10.3.5": "szOID_WHQL_CRYPTO",
"1.3.6.1.4.1.311.10.3.6": "szOID_NT5_CRYPTO",
"1.3.6.1.4.1.311.10.3.7": "szOID_OEM_WHQL_CRYPTO",
"1.3.6.1.4.1.311.10.3.8": "szOID_EMBEDDED_NT_CRYPTO",
"1.3.6.1.4.1.311.10.3.9": "szOID_ROOT_LIST_SIGNER",
"1.3.6.1.4.1.311.10.4.1": "yesnoTrustAttr",
"1.3.6.1.4.1.311.10.5.1": "szOID_DRM",
"1.3.6.1.4.1.311.10.5.2": "szOID_DRM_INDIVIDUALIZATION",
"1.3.6.1.4.1.311.10.6.1": "szOID_LICENSES",
"1.3.6.1.4.1.311.10.6.2": "szOID_LICENSE_SERVER",
"1.3.6.1.4.1.311.10.7": "szOID_MICROSOFT_RDN_PREFIX",
"1.3.6.1.4.1.311.10.7.1": "szOID_KEYID_RDN",
"1.3.6.1.4.1.311.10.8.1": "szOID_REMOVE_CERTIFICATE",
"1.3.6.1.4.1.311.10.9.1": "szOID_CROSS_CERT_DIST_POINTS",
"1.3.6.1.4.1.311.12": "Catalog",
"1.3.6.1.4.1.311.12.1.1": "szOID_CATALOG_LIST",
"1.3.6.1.4.1.311.12.1.2": "szOID_CATALOG_LIST_MEMBER",
"1.3.6.1.4.1.311.12.2.1": "CAT_NAMEVALUE_OBJID",
"1.3.6.1.4.1.311.12.2.2": "CAT_MEMBERINFO_OBJID",
"1.3.6.1.4.1.311.13": "Microsoft PKCS10 OIDs",
"1.3.6.1.4.1.311.13.1": "szOID_RENEWAL_CERTIFICATE",
"1.3.6.1.4.1.311.13.2.1": "szOID_ENROLLMENT_NAME_VALUE_PAIR",
"1.3.6.1.4.1.311.13.2.2": "szOID_ENROLLMENT_CSP_PROVIDER",
"1.3.6.1.4.1.311.13.2.3": "OS Version",
"1.3.6.1.4.1.311.15": "Microsoft Java",
"1.3.6.1.4.1.311.16": "Microsoft Outlook/Exchange",
"1.3.6.1.4.1.311.16.4": "Outlook Express",
"1.3.6.1.4.1.311.17": "Microsoft PKCS12 attributes",
"1.3.6.1.4.1.311.17.1": "szOID_LOCAL_MACHINE_KEYSET",
"1.3.6.1.4.1.311.18": "Microsoft Hydra",
"1.3.6.1.4.1.311.19": "Microsoft ISPU Test",
"1.3.6.1.4.1.311.2": "Authenticode",
"1.3.6.1.4.1.311.2.1.10": "spcAgencyInfo",
"1.3.6.1.4.1.311.2.1.11": "spcStatementType",
"1.3.6.1.4.1.311.2.1.12": "spcSpOpusInfo",
"1.3.6.1.4.1.311.2.1.14": "certExtensions",
"1.3.6.1.4.1.311.2.1.15": "spcPelmageData",
"1.3.6.1.4.1.311.2.1.18": "SPC_RAW_FILE_DATA_OBJID",
"1.3.6.1.4.1.311.2.1.19": "SPC_STRUCTURED_STORAGE_DATA_OBJID",
"1.3.6.1.4.1.311.2.1.20": "spcLink",
"1.3.6.1.4.1.311.2.1.21": "individualCodeSigning",
"1.3.6.1.4.1.311.2.1.22": "commercialCodeSigning",
"1.3.6.1.4.1.311.2.1.25": "spcLink",
"1.3.6.1.4.1.311.2.1.26": "spcMinimalCriteriaInfo",
"1.3.6.1.4.1.311.2.1.27": "spcFinancialCriteriaInfo",
"1.3.6.1.4.1.311.2.1.28": "spcLink",
"1.3.6.1.4.1.311.2.1.29": "SPC_HASH_INFO_OBJID",
"1.3.6.1.4.1.311.2.1.30": "SPC_SIPINFO_OBJID",
"1.3.6.1.4.1.311.2.1.4": "spcIndirectDataContext",
"1.3.6.1.4.1.311.2.2": "CTL for Software Publishers Trusted CAs",
"1.3.6.1.4.1.311.2.2.1": "szOID_TRUSTED_CODESIGNING_CA_LIST",
"1.3.6.1.4.1.311.2.2.2": "szOID_TRUSTED_CLIENT_AUTH_CA_LIST",
"1.3.6.1.4.1.311.2.2.3": "szOID_TRUSTED_SERVER_AUTH_CA_LIST",
"1.3.6.1.4.1.311.20": "Microsoft Enrollment Infrastructure",
"1.3.6.1.4.1.311.20.1": "szOID_AUTO_ENROLL_CTL_USAGE",
"1.3.6.1.4.1.311.20.2": "szOID_ENROLL_CERTTYPE_EXTENSION",
"1.3.6.1.4.1.311.20.2.1": "szOID_ENROLLMENT_AGENT",
"1.3.6.1.4.1.311.20.2.2": "szOID_KP_SMARTCARD_LOGON",
"1.3.6.1.4.1.311.20.2.3": "szOID_NT_PRINCIPAL_NAME",
"1.3.6.1.4.1.311.20.3": "szOID_CERT_MANIFOLD",
"1.3.6.1.4.1.311.21": "Microsoft CertSrv Infrastructure",
"1.3.6.1.4.1.311.21.1": "szOID_CERTSRV_CA_VERSION",
"1.3.6.1.4.1.311.21.20": "Client Information",
"1.3.6.1.4.1.311.25": "Microsoft Directory Service",
"1.3.6.1.4.1.311.25.1": "szOID_NTDS_REPLICATION",
"1.3.6.1.4.1.311.3": "Time Stamping",
"1.3.6.1.4.1.311.3.2.1": "SPC_TIME_STAMP_REQUEST_OBJID",
"1.3.6.1.4.1.311.30": "IIS",
"1.3.6.1.4.1.311.31": "Windows updates and service packs",
"1.3.6.1.4.1.311.31.1": "szOID_PRODUCT_UPDATE",
"1.3.6.1.4.1.311.4": "Permissions",
"1.3.6.1.4.1.311.40": "Fonts",
"1.3.6.1.4.1.311.41": "Microsoft Licensing and Registration",
"1.3.6.1.4.1.311.42": "Microsoft Corporate PKI (ITG)",
"1.3.6.1.4.1.311.88": "CAPICOM",
"1.3.6.1.4.1.311.88.1": "szOID_CAPICOM_VERSION",
"1.3.6.1.4.1.311.88.2": "szOID_CAPICOM_ATTRIBUTE",
"1.3.6.1.4.1.311.88.2.1": "szOID_CAPICOM_DOCUMENT_NAME",
"1.3.6.1.4.1.311.88.2.2": "szOID_CAPICOM_DOCUMENT_DESCRIPTION",
"1.3.6.1.4.1.311.88.3": "szOID_CAPICOM_ENCRYPTED_DATA",
"1.3.6.1.4.1.311.88.3.1": "szOID_CAPICOM_ENCRYPTED_CONTENT",
"1.3.6.1.5.5.7": "pkix",
"1.3.6.1.5.5.7.1": "privateExtension",
"1.3.6.1.5.5.7.1.1": "authorityInfoAccess",
"1.3.6.1.5.5.7.12.2": "CMC Data",
"1.3.6.1.5.5.7.2": "policyQualifierIds",
"1.3.6.1.5.5.7.2.1": "cps",
"1.3.6.1.5.5.7.2.2": "unotice",
"1.3.6.1.5.5.7.3": "keyPurpose",
"1.3.6.1.5.5.7.3.1": "serverAuth",
"1.3.6.1.5.5.7.3.2": "clientAuth",
"1.3.6.1.5.5.7.3.3": "codeSigning",
"1.3.6.1.5.5.7.3.4": "emailProtection",
"1.3.6.1.5.5.7.3.5": "ipsecEndSystem",
"1.3.6.1.5.5.7.3.6": "ipsecTunnel",
"1.3.6.1.5.5.7.3.7": "ipsecUser",
"1.3.6.1.5.5.7.3.8": "timeStamping",
"1.3.6.1.5.5.7.4": "cmpInformationTypes",
"1.3.6.1.5.5.7.4.1": "caProtEncCert",
"1.3.6.1.5.5.7.4.2": "signKeyPairTypes",
"1.3.6.1.5.5.7.4.3": "encKeyPairTypes",
"1.3.6.1.5.5.7.4.4": "preferredSymmAlg",
"1.3.6.1.5.5.7.4.5": "caKeyUpdateInfo",
"1.3.6.1.5.5.7.4.6": "currentCRL",
"1.3.6.1.5.5.7.48.1": "ocsp",
"1.3.6.1.5.5.7.48.2": "caIssuers",
"1.3.6.1.5.5.8.1.1": "HMAC-MD5",
"1.3.6.1.5.5.8.1.2": "HMAC-SHA",
"2.16.840.1.101.2.1.1.1": "sdnsSignatureAlgorithm",
"2.16.840.1.101.2.1.1.10": "mosaicKeyManagementAlgorithm",
"2.16.840.1.101.2.1.1.11": "sdnsKMandSigAlgorithm",
"2.16.840.1.101.2.1.1.12": "mosaicKMandSigAlgorithm",
"2.16.840.1.101.2.1.1.13": "SuiteASignatureAlgorithm",
"2.16.840.1.101.2.1.1.14": "SuiteAConfidentialityAlgorithm",
"2.16.840.1.101.2.1.1.15": "SuiteAIntegrityAlgorithm",
"2.16.840.1.101.2.1.1.16": "SuiteATokenProtectionAlgorithm",
"2.16.840.1.101.2.1.1.17": "SuiteAKeyManagementAlgorithm",
"2.16.840.1.101.2.1.1.18": "SuiteAKMandSigAlgorithm",
"2.16.840.1.101.2.1.1.19": "mosaicUpdatedSigAlgorithm",
"2.16.840.1.101.2.1.1.2": "mosaicSignatureAlgorithm",
"2.16.840.1.101.2.1.1.20": "mosaicKMandUpdSigAlgorithms",
"2.16.840.1.101.2.1.1.21": "mosaicUpdatedIntegAlgorithm",
"2.16.840.1.101.2.1.1.22": "mosaicKeyEncryptionAlgorithm",
"2.16.840.1.101.2.1.1.3": "sdnsConfidentialityAlgorithm",
"2.16.840.1.101.2.1.1.4": "mosaicConfidentialityAlgorithm",
"2.16.840.1.101.2.1.1.5": "sdnsIntegrityAlgorithm",
"2.16.840.1.101.2.1.1.6": "mosaicIntegrityAlgorithm",
"2.16.840.1.101.2.1.1.7": "sdnsTokenProtectionAlgorithm",
"2.16.840.1.101.2.1.1.8": "mosaicTokenProtectionAlgorithm",
"2.16.840.1.101.2.1.1.9": "sdnsKeyManagementAlgorithm",
"2.16.840.1.113730.1": "cert-extension",
"2.16.840.1.113730.1.1": "netscape-cert-type",
"2.16.840.1.113730.1.10": "EntityLogo",
"2.16.840.1.113730.1.11": "UserPicture",
"2.16.840.1.113730.1.12": "netscape-ssl-server-name",
"2.16.840.1.113730.1.13": "netscape-comment",
"2.16.840.1.113730.1.2": "netscape-base-url",
"2.16.840.1.113730.1.3": "netscape-revocation-url",
"2.16.840.1.113730.1.4": "netscape-ca-revocation-url",
"2.16.840.1.113730.1.7": "netscape-cert-renewal-url",
"2.16.840.1.113730.1.8": "netscape-ca-policy-url",
"2.16.840.1.113730.1.9": "HomePage-url",
"2.16.840.1.113730.2": "data-type",
"2.16.840.1.113730.2.1": "GIF",
"2.16.840.1.113730.2.2": "JPEG",
"2.16.840.1.113730.2.3": "URL",
"2.16.840.1.113730.2.4": "HTML",
"2.16.840.1.113730.2.5": "netscape-cert-sequence",
"2.16.840.1.113730.2.6": "netscape-cert-url",
"2.16.840.1.113730.3": "directory",
"2.16.840.1.113730.4.1": "serverGatedCrypto",
"2.16.840.1.113733.1.6.3": "Unknown Verisign extension",
"2.16.840.1.113733.1.6.6": "Unknown Verisign extension",
"2.16.840.1.113733.1.7.1.1": "Verisign certificatePolicy",
"2.16.840.1.113733.1.7.1.1.1": "Unknown Verisign policy qualifier",
"2.16.840.1.113733.1.7.1.1.2": "Unknown Verisign policy qualifier",
"2.23.133": "TCPA",
"2.23.133.1": "tcpa_specVersion",
"2.23.133.2": "tcpa_attribute",
"2.23.133.2.1": "tcpa_at_tpmManufacturer",
"2.23.133.2.10": "tcpa_at_securityQualities",
"2.23.133.2.11": "tcpa_at_tpmProtectionProfile",
"2.23.133.2.12": "tcpa_at_tpmSecurityTarget",
"2.23.133.2.13": "tcpa_at_foundationProtectionProfile",
"2.23.133.2.14": "tcpa_at_foundationSecurityTarget",
"2.23.133.2.15": "tcpa_at_tpmIdLabel",
"2.23.133.2.2": "tcpa_at_tpmModel",
"2.23.133.2.3": "tcpa_at_tpmVersion",
"2.23.133.2.4": "tcpa_at_platformManufacturer",
"2.23.133.2.5": "tcpa_at_platformModel",
"2.23.133.2.6": "tcpa_at_platformVersion",
"2.23.133.2.7": "tcpa_at_componentManufacturer",
"2.23.133.2.8": "tcpa_at_componentModel",
"2.23.133.2.9": "tcpa_at_componentVersion",
"2.23.133.3": "tcpa_protocol",
"2.23.133.3.1": "tcpa_prtt_tpmIdProtocol",
"2.23.42.0": "contentType",
"2.23.42.0.0": "PANData",
"2.23.42.0.1": "PANToken",
"2.23.42.0.2": "PANOnly",
"2.23.42.1": "msgExt",
"2.23.42.10": "national",
"2.23.42.10.192": "Japan",
"2.23.42.2": "field",
"2.23.42.2.0": "fullName",
"2.23.42.2.1": "givenName",
"2.23.42.2.10": "amount",
"2.23.42.2.2": "familyName",
"2.23.42.2.3": "birthFamilyName",
"2.23.42.2.4": "placeName",
"2.23.42.2.5": "identificationNumber",
"2.23.42.2.6": "month",
"2.23.42.2.7": "date",
"2.23.42.2.7.11": "accountNumber",
"2.23.42.2.7.12": "passPhrase",
"2.23.42.2.8": "address",
"2.23.42.2.9": "telephone",
"2.23.42.3": "attribute",
"2.23.42.3.0": "cert",
"2.23.42.3.0.0": "rootKeyThumb",
"2.23.42.3.0.1": "additionalPolicy",
"2.23.42.4": "algorithm",
"2.23.42.5": "policy",
"2.23.42.5.0": "root",
"2.23.42.6": "module",
"2.23.42.7": "certExt",
"2.23.42.7.0": "hashedRootKey",
"2.23.42.7.1": "certificateType",
"2.23.42.7.2": "merchantData",
"2.23.42.7.3": "cardCertRequired",
"2.23.42.7.4": "tunneling",
"2.23.42.7.5": "setExtensions",
"2.23.42.7.6": "setQualifier",
"2.23.42.8": "brand",
"2.23.42.8.1": "IATA-ATA",
"2.23.42.8.30": "Diners",
"2.23.42.8.34": "AmericanExpress",
"2.23.42.8.4": "VISA",
"2.23.42.8.5": "MasterCard",
"2.23.42.8.6011": "Novus",
"2.23.42.9": "vendor",
"2.23.42.9.0": "GlobeSet",
"2.23.42.9.1": "IBM",
"2.23.42.9.10": "Griffin",
"2.23.42.9.11": "Certicom",
"2.23.42.9.12": "OSS",
"2.23.42.9.13": "TenthMountain",
"2.23.42.9.14": "Antares",
"2.23.42.9.15": "ECC",
"2.23.42.9.16": "Maithean",
"2.23.42.9.17": "Netscape",
"2.23.42.9.18": "Verisign",
"2.23.42.9.19": "BlueMoney",
"2.23.42.9.2": "CyberCash",
"2.23.42.9.20": "Lacerte",
"2.23.42.9.21": "Fujitsu",
"2.23.42.9.22": "eLab",
"2.23.42.9.23": "Entrust",
"2.23.42.9.24": "VIAnet",
"2.23.42.9.25": "III",
"2.23.42.9.26": "OpenMarket",
"2.23.42.9.27": "Lexem",
"2.23.42.9.28": "Intertrader",
"2.23.42.9.29": "Persimmon",
"2.23.42.9.3": "Terisa",
"2.23.42.9.30": "NABLE",
"2.23.42.9.31": "espace-net",
"2.23.42.9.32": "Hitachi",
"2.23.42.9.33": "Microsoft",
"2.23.42.9.34": "NEC",
"2.23.42.9.35": "Mitsubishi",
"2.23.42.9.36": "NCR",
"2.23.42.9.37": "e-COMM",
"2.23.42.9.38": "Gemplus",
"2.23.42.9.4": "RSADSI",
"2.23.42.9.5": "VeriFone",
"2.23.42.9.6": "TrinTech",
"2.23.42.9.7": "BankGate",
"2.23.42.9.8": "GTE",
"2.23.42.9.9": "CompuSource",
"2.5.29.1": "authorityKeyIdentifier",
"2.5.29.10": "basicConstraints",
"2.5.29.11": "nameConstraints",
"2.5.29.12": "policyConstraints",
"2.5.29.13": "basicConstraints",
"2.5.29.14": "subjectKeyIdentifier",
"2.5.29.15": "keyUsage",
"2.5.29.16": "privateKeyUsagePeriod",
"2.5.29.17": "subjectAltName",
"2.5.29.18": "issuerAltName",
"2.5.29.19": "basicConstraints",
"2.5.29.2": "keyAttributes",
"2.5.29.20": "cRLNumber",
"2.5.29.21": "cRLReason",
"2.5.29.22": "expirationDate",
"2.5.29.23": "instructionCode",
"2.5.29.24": "invalidityDate",
"2.5.29.26": "issuingDistributionPoint",
"2.5.29.27": "deltaCRLIndicator",
"2.5.29.28": "issuingDistributionPoint",
"2.5.29.29": "certificateIssuer",
"2.5.29.3": "certificatePolicies",
"2.5.29.30": "nameConstraints",
"2.5.29.31": "cRLDistributionPoints",
"2.5.29.32": "certificatePolicies",
"2.5.29.33": "policyMappings",
"2.5.29.34": "policyConstraints",
"2.5.29.35": "authorityKeyIdentifier",
"2.5.29.36": "policyConstraints",
"2.5.29.37": "extKeyUsage",
"2.5.29.4": "keyUsageRestriction",
"2.5.29.5": "policyMapping",
"2.5.29.6": "subtreesConstraint",
"2.5.29.7": "subjectAltName",
"2.5.29.8": "issuerAltName",
"2.5.29.9": "subjectDirectoryAttributes",
"2.5.4.0": "objectClass",
"2.5.4.1": "aliasObjectName",
"2.5.4.12": "title",
"2.5.4.13": "description",
"2.5.4.14": "searchGuide",
"2.5.4.15": "businessCategory",
"2.5.4.16": "postalAddress",
"2.5.4.17": "postalCode",
"2.5.4.18": "postOfficeBox",
"2.5.4.19": "physicalDeliveryOfficeName",
"2.5.4.2": "knowledgeInformation",
"2.5.4.20": "telephoneNumber",
"2.5.4.21": "telexNumber",
"2.5.4.22": "teletexTerminalIdentifier",
"2.5.4.23": "facsimileTelephoneNumber",
"2.5.4.24": "x121Address",
"2.5.4.25": "internationalISDNNumber",
"2.5.4.26": "registeredAddress",
"2.5.4.27": "destinationIndicator",
"2.5.4.28": "preferredDeliveryMehtod",
"2.5.4.29": "presentationAddress",
"2.5.4.30": "supportedApplicationContext",
"2.5.4.31": "member",
"2.5.4.32": "owner",
"2.5.4.33": "roleOccupant",
"2.5.4.34": "seeAlso",
"2.5.4.35": "userPassword",
"2.5.4.36": "userCertificate",
"2.5.4.37": "caCertificate",
"2.5.4.38": "authorityRevocationList",
"2.5.4.39": "certificateRevocationList",
"2.5.4.40": "crossCertificatePair",
"2.5.4.41": "givenName",
"2.5.4.42": "givenName",
"2.5.4.5": "serialNumber",
"2.5.4.52": "supportedAlgorithms",
"2.5.4.53": "deltaRevocationList",
"2.5.4.58": "crossCertificatePair",
"2.5.4.9": "streetAddress",
"2.5.8": "X.500-Algorithms",
"2.5.8.1": "X.500-Alg-Encryption",
"2.5.8.1.1": "rsa",
"2.16.76.1.1": "DPC",
"2.16.76.1.1.0": "DPC da AC Raiz",
"2.16.76.1.1.1": "DPC da AC Presidência",
"2.16.76.1.1.2": "DPC da AC Serpro",
"2.16.76.1.1.3": "DPC da SERASA Autoridade Certificadora Principal - ACP",
"2.16.76.1.1.4": "DPC da SERASA Autoridade Certificadora - AC",
"2.16.76.1.1.5": "DPC da AC CertiSign na ICP­Brasil",
"2.16.76.1.1.6": "DPC da AC CertiSign SPB na ICP­Brasil",
"2.16.76.1.1.7": "DPC da SERASA Certificadora Digital",
"2.16.76.1.1.8": "DPC da AC SRF",
"2.16.76.1.1.9": "DPC da AC CAIXA",
"2.16.76.1.1.10": "DPC da AC CAIXA IN",
"2.16.76.1.1.11": "DPC da AC CAIXA PJ",
"2.16.76.1.1.12": "DPC da AC CAIXA PF",
"2.16.76.1.1.13": "DPC da AC SERPRO SRF",
"2.16.76.1.1.14": "DPC da Autoridade Certificadora CertiSign Múltipla",
"2.16.76.1.1.15": "DPC da Autoridade Certificadora CertiSign para Secretaria da Receita Federal",
"2.16.76.1.1.16": "DPC da AC SERASA SRF",
"2.16.76.1.1.17": "DPC da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.1.18": "DPC da Autoridade Certificadora PRODEMGE",
"2.16.76.1.1.19": "DPC da Autoridade Certificadora do Sistema Justiça Federal - AC­JUS",
"2.16.76.1.1.20": "Declaração de Práticas de Certificação da Autoridade Certificadora do SERPRO Final - DPC SERPRO ACF",
"2.16.76.1.1": "DPC",
"2.16.76.1.1.21": "Declaração de Práticas de Certificação da Autoridade Certificadora SINCOR",
"2.16.76.1.1.22": "Declaração de Práticas de Certificação da Autoridade Certificadora Imprensa Oficial SP SRF",
"2.16.76.1.1.23": "Declaração de Práticas de Certificação da AC FENACOR",
"2.16.76.1.1.24": "Declaração de Práticas de Certificação da Autoridade Certificadora SERPRO­ JUS",
"2.16.76.1.1.25": "DPC da AC Caixa Justiça",
"2.16.76.1.1.26": "DPC da Autoridade Certificadora Imprensa Oficial SP (AC IMESP)",
"2.16.76.1.1.27": "DPC da Autoridade Certificadora PRODEMGE SRF",
"2.16.76.1.1.28": "Declaração de Práticas de Certificação da Autoridade Certificadora CertSign para a Justiça",
"2.16.76.1.1.29": "DPC da AC SERASA JUS",
"2.16.76.1.2": "PC",
"2.16.76.1.2.1": "A1",
"2.16.76.1.2.1.1": "Política de Certificados da ACSERPRO para certificados SERPRO­SPB ­ PC SERPRO­SPB",
"2.16.76.1.2.1.2": "Política de Certificados para certificados da SERASA Autoridade Certificadora",
"2.16.76.1.2.1.3": "Política de Certificados da Autoridade Certificadora da Presidência da República - PCA1",
"2.16.76.1.2.1.4": "Política de Certificado da Autoridade Certificadora CertiSign Certificadora Digital para o Sistema de Pagamentos Brasileiro na ICP­Brasil­ PC da AC CertiSign SPB na ICP­Brasil",
"2.16.76.1.2.1.5": "Política de Certificados SEPROA1",
"2.16.76.1.2.1.6": "Política de Certificado Digital para Certificado de Assinatura Digital Tipo A1 - SERASA CD",
"2.16.76.1.2.1.7": "Política de Certificado de Assinatura Digital do Tipo A1 da AC Caixa IN",
"2.16.76.1.2.1.8": "Política de Certificado de Assinatura Digital do Tipo A1 da AC Caixa PF",
"2.16.76.1.2.1.9": "Política de Certificado de Assinatura Digital do Tipo A1 da AC Caixa PJ",
"2.16.76.1.2.1.10": "Política de Certificados da Autoridade Certificadora do Serpro­SRF para certificados de assinatura digital do tipo A1 (PCSerpro­SRFA1)",
"2.16.76.1.2.1.11": "Política de Certificado de Assinatura Digital do Tipo A1 da Autoridade Certificadora CertiSign Múltipla na Infra­estrutura de Chaves Públicas Brasileira",
"2.16.76.1.2.1.12": "Política de Certificado de Assinatura Digital Tipo A1 da Autoridade Certificadora CertiSign para a Secretaria da Receita Federal",
"2.16.76.1.2.1.13": "Política de Certificado de Assinatura Digital Tipo A1 da AC SERASA SRF",
"2.16.76.1.2.1.14": "Política de Certificado de Assinatura Digital Tipo A1 da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.2.1.15": "Política de Certificado de Assinatura Digital Tipo A1 da Autoridade Certificadora PRODEMGE",
"2.16.76.1.2.1.16": "Política de Certificados SERPRO do Tipo A1 - PC SERPRO ACF A1",
"2.16.76.1.2.1.17": "Política de Certificados do SERPRO - SPB - PC SERPRO ACF SPB",
"2.16.76.1.2.1.18": "Política de Certificado de Assinatura Digital Tipo A1 da Autoridade Certificadora SINCOR",
"2.16.76.1.2.1.19": "Política de Certificado de Assinatura Digital Tipo A1 da Autoridade Certificadora SINCOR para Corretores de Seguros",
"2.16.76.1.2": "PC",
"2.16.76.1.2.1": "A1",
"2.16.76.1.2.1.20": "Política de Certificado de Assinatura Digital Tipo A1 da Autoridade Certificadora Imprensa Oficial SP SRF",
"2.16.76.1.2.1.21": "Política de Certificados SERPRO­JUS do tipo A1 ­ PCSERPROJUSA1",
"2.16.76.1.2.1.22": "Política de Certificado de Assinatura Digital do Tipo A1 da AC Caixa Justiça",
"2.16.76.1.2.1.23": "Política de Certificado de Assinatura Tipo A1 da Autoridade Certificadora PRODEMGE SRF",
"2.16.76.1.2.1.24": "Política de Certificado de Assinatura Digital Tipo A1 da Autoridade Certificadora CertiSign para a Justiça",
"2.16.76.1.2.1.25": "Política de Certificado Digital da AC SERASA­JUS para Certificados Tipo A1",
"2.16.76.1.2": "PC",
"2.16.76.1.2.2": "A2",
"2.16.76.1.2.2.1": "Política de Certificado Digital para Certificado de Assinatura Digital Tipo A2 - SERASA CD",
"2.16.76.1.2.2.2": "Política de Certificado Digital para Certificado de Assinatura Digital Tipo A2 da AC SERASA SRF",
"2.16.76.1.2.2.3": "Política de Certificado de Assinatura Digital do Tipo A2 da Autoridade Certificadora CertiSign últipla na Infra­estrutura de Chaves Públicas Brasileira",
"2.16.76.1.2.2.4": "Política de Certificado de Assinatura Digital do Tipo A2 da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.2.2.5": "Política de Certificado de Assinatura Digital do Tipo A2 da AC Caixa Justiça",
"2.16.76.1.2.2.6": "Política de Certificado de Assinatura Digital Tipo A2 da Autoridade Certificadora CertiSign para a Justiça",
"2.16.76.1.2.2.7": "Política de Certificado Digital da AC SERASA­JUS para Certificados Tipo A2",
"2.16.76.1.2": "PC",
"2.16.76.1.2.3": "A3",
"2.16.76.1.2.3.1": "Política de Certificados da Autoridade Certificadora da Presidência da República - PC ACPR",
"2.16.76.1.2.3.2": "Política de Certificados da Autoridade Certificadora do SERPRO para certificados SERPRO do tipo A3 - PCSERPROA3",
"2.16.76.1.2.3.3": "Política de Certificado Digital para Certificado de Assinatura Digital Tipo A3 - SERASA CD",
"2.16.76.1.2.3.4": "Política de Certificados da Autoridade Certificadora do Serpro­SRF para certificados de assinatura digital do tipo A3 (PCSerpro­SRFA3)",
"2.16.76.1.2.3.5": "Política de Certificado de Assinatura Digital do Tipo A3 da Autoridade Certificadora CertiSign Múltipla na Infra­estrutura de Chaves Públicas Brasileira",
"2.16.76.1.2.3.6": "Política de Certificado de Assinatura Digital Tipo A3 da Autoridade Certificadora CertiSign para a Secretaria da Receita Federal na Infra­estrutura de Chaves Públicas Brasileira",
"2.16.76.1.2.3.7": "Política de Certificado de Assinatura Digital do Tipo A3 da AC Caixa IN",
"2.16.76.1.2.3.8": "Política de Certificado de Assinatura Digital do Tipo A3 da AC Caixa PF",
"2.16.76.1.2.3.9": "Política de Certificado de Assinatura Digital do Tipo A3 da AC Caixa PJ",
"2.16.76.1.2.3.10": "Política de Certificado de Assinatura Digital do Tipo A3 da AC SERASA SRF",
"2.16.76.1.2.3.11": "Política de Certificado de Assinatura Digital do Tipo A3 da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.2.3.12": "Política de Certificado de Assinatura Digital do Tipo A3 da Autoridade Certificadora PRODEMGE",
"2.16.76.1.2.3.13": "Política de Certificados SERPRO do Tipo A3 - PC SERPRO A3",
"2.16.76.1.2.3.14": "Política de Certificado de Assinatura Digital Tipo A3 da Autoridade Certificadora SINCOR",
"2.16.76.1.2.3.15": "Política de Certificado de Assinatura Digital Tipo A3 da Autoridade Certificadora SINCOR para Corretores de Seguros",
"2.16.76.1.2.3.16": "Política de Certificado de Assinatura Digital Tipo A3 da Autoridade Certificadora Imprensa Oficial SP SRF",
"2.16.76.1.2": "PC",
"2.16.76.1.2.3": "A3",
"2.16.76.1.2.3.17": "Política de Certificado da AC FENACOR A3",
"2.16.76.1.2.3.18": "Política de Certificados SERPRO­JUS do tipo A3 PCSERPROJUSA3",
"2.16.76.1.2.3.19": "Política de Certificado de Assinatura Digital do Tipo A3 da AC Caixa Justiça",
"2.16.76.1.2.3.20": "Política de Certificado de Assinatura Tipo A3 da Autoridade Certificadora PRODEMGE SRF",
"2.16.76.1.2.3.21": "Política de Certificado de Assinatura Digital Tipo A3 da Autoridade Certificadora CertiSign para a Justiça",
"2.16.76.1.2.3.22": "Política de Certificado Digital da AC SERASA­JUS para Certificados Tipo A3",
"2.16.76.1.2": "PC",
"2.16.76.1.2.4": "A4",
"2.16.76.1.2.4.1": "Política de Certificado Digital para Certificado de Assinatura Digital Tipo A4 - SERASA CD;",
"2.16.76.1.2.4.2": "VAGO",
"2.16.76.1.2.4.3": "Política de Certificado de Assinatura Digital do Tipo A4 da Autoridade Certificadora CertiSign Múltipla na Infra­estrutura de Chaves Públicas Brasileira",
"2.16.76.1.2.4.4": "Política de Certificado de Assinatura Digital Tipo A4 da Autoridade Certificadora CertiSign para a Secretaria da Receita Federal na Infra­estrutura de Chaves Públicas Brasileira",
"2.16.76.1.2.4.5": "Política de Certificado de Assinatura Digital Tipo A4 da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.2.4.6": "Política de Certificado de Assinatura Digital Tipo A4 da Autoridade Certificadora Imprensa Oficial - SP SRF",
"2.16.76.1.2.4.7": "Política de Certificado de Assinatura Tipo A4 da Autoridade Certificadora PRODEMGE SRF",
"2.16.76.1.2.4.8": "Política de Certificado de Assinatura Digital Tipo A4 da Autoridade Certificadora CertiSign para a Justiça",
"2.16.76.1.2.4.9": "VAGO",
"2.16.76.1.2.4.10": "Política de Certificado Digital a AC SERASA­JUS para Certificados Tipo A4",
"2.16.76.1.2": "PC",
"2.16.76.1.2.101": "S1",
"2.16.76.1.2.101.1": "Política de Certificado Digital para Certificado de Sigilo Tipo S1-SERASA CD",
"2.16.76.1.2.101.2": "Política de Certificado de Sigilo Tipo S1 da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.2.101.3": "Política de Certificado de Sigilo do Tipo S1 da Autoridade Certificadora CertiSign Múltipla",
"2.16.76.1.2.101.4": "Política de Certificado de Sigilo do Tipo S1 da Autoridade Certificadora PRODEMGE",
"2.16.76.1.2.101.5": "Política de Certificado de Assinatura Digital do Tipo S1 da AC Caixa Justiça",
"2.16.76.1.2.101.6": "Política de Certificado de Assinatura Digital Tipo S1 da Autoridade Certificadora CertiSign para a Justiça",
"2.16.76.1.2.101.7": "Política de Certificado Digital da AC SERASA­JUS para Cerficados Tipo S1",
"2.16.76.1.2": "PC",
"2.16.76.1.2.102": "S2",
"2.16.76.1.2.102.1": "Política de Certificado Digital para Certificado de Sigilo Tipo S2 - SERASA CD",
"2.16.76.1.2.102.2": "Política de Certificado de Sigilo Tipo S2 da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.2.102.3": "Política de Certificado de Sigilo do Tipo S2 da Autoridade Certificadora CertiSign Múltipla",
"2.16.76.1.2.102.4": "Política de Certificado de Assinatura Digital do Tipo S2 da AC Caixa Justiça",
"2.16.76.1.2.102.5": "Política de Certificado de Assinatura Digital Tipo S2 da Autoridade Certificadora CertiSign para a Justiça",
"2.16.76.1.2.102.6": "Política de Certificado Digital da AC SERASA­JUS para Certificados Tipo S2",
"2.16.76.1.2": "PC",
"2.16.76.1.2.103": "S3",
"2.16.76.1.2.103.1": "Política de Certificado Digital para Certificado de Sigilo Tipo S3 - SERASA CD",
"2.16.76.1.2.103.2": "VAGO",
"2.16.76.1.2.103.3": "Política de Certificado de Sigilo do Tipo S3 da Autoridade Certificadora CertiSign Múltipla",
"2.16.76.1.2.103.4": "Política de Certificado de Sigilo Tipo S3 da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.2.103.5": "Política de Certificado de Sigilo Tipo S3 da Autoridade Certificadora PRODEMGE",
"2.16.76.1.2.103.6": "Política de Certificado de Assinatura Digital do Tipo S3 da AC Caixa Justiça",
"2.16.76.1.2.103.7": "Política de Certificado de Assinatura Digital Tipo S3 da Autoridade Certificadora CertiSign para a Justiça",
"2.16.76.1.2.103.8": "Política de Certificado Digital da AC SERASA­JUS para Certificados Tipo S3",
"2.16.76.1.2": "PC",
"2.16.76.1.2.104": "S4",
"2.16.76.1.2.104.1": "Política de Certificado Digital para Certificado de Sigilo Tipo S4 - SERASA CD",
"2.16.76.1.2.104.2": "VAGO",
"2.16.76.1.2.104.3": "Política de Certificado de Sigilo do Tipo S4 da Autoridade Certificadora CertiSign Múltipla",
"2.16.76.1.2.104.4": "Política de Certificado de Sigilo Tipo S4 da Autoridade Certificadora Imprensa Oficial ­ SP",
"2.16.76.1.2.104.5": "Política de Certificado de Assinatura Digital Tipo S4 da Autoridade Certificadora CertiSign para a Justiça",
"2.16.76.1.2.104.6": "Política de Certificado Digital da AC SERASA­JUS para Certificados Tipo S4",
"2.16.76.1.2": "PC",
"2.16.76.1.2.201": "PC de AC",
"2.16.76.1.2.201.1": "PC da Serasa Autoridade Certificadora Principal - ACP",
"2.16.76.1.2.201.2": "PC da AC CertiSign na ICP­Brasil",
"2.16.76.1.2.201.3": "PC da AC SRF",
"2.16.76.1.2.201.4": "Política de Certificados da Autoridade Certificadora Caixa",
"2.16.76.1.2.201.5": "PC da Autoridade Certificadora do Sistema Justiça Federal - AC­ JUS",
"2.16.76.1.2.201.6": "PC da Autoridade Certificadora do SERPRO (AC SERPRO)",
"2.16.76.1.2.201.7": "PC da Autoridade Certificadora Imprensa Oficial SP (AC IMESP)",
"2.16.76.1.3": "Atributos Obrigatórios de Certificados",
"2.16.76.1.3.1": "campo otherName em certificado de pessoa física",
"2.16.76.1.3.2": "campo otherName em certificado de pessoa jurídica",
"2.16.76.1.3.3": "campo otherName em certificado de pessoa jurídica",
"2.16.76.1.3.4": "campo otherName em certificado de pessoa jurídica",
"2.16.76.1.3.5": "campo otherName em certificado de pessoa física",
"2.16.76.1.3.6": "campo otherName em certificado de pessoa física",
"2.16.76.1.3.7": "campo otherName em certificado de pessoa jurídica",
"2.16.76.1.4": "Atributos Opcionais de Certificados",
"2.16.76.1.4.1": "Entidades Sindicais",
"2.16.76.1.4.1.1": "SINCOR",
"2.16.76.1.4.1.1.1": "Número de registro do corretor associado"
}
+3 -15
View File
@@ -2,11 +2,11 @@ import { tool as base64FileConverter } from './base64-file-converter';
import { tool as base64StringConverter } from './base64-string-converter';
import { tool as basicAuthGenerator } from './basic-auth-generator';
import { tool as emailNormalizer } from './email-normalizer';
import { tool as smartRawConverter } from './smart-raw-converter';
import { tool as asciiTextDrawer } from './ascii-text-drawer';
import { tool as textToUnicode } from './text-to-unicode';
import { tool as certificateKeyParser } from './certificate-key-parser';
import { tool as safelinkDecoder } from './safelink-decoder';
import { tool as xmlToJson } from './xml-to-json';
import { tool as jsonToXml } from './json-to-xml';
@@ -92,20 +92,7 @@ import { tool as yamlViewer } from './yaml-viewer';
export const toolsByCategory: ToolCategory[] = [
{
name: 'Crypto',
components: [
tokenGenerator,
hashText,
bcrypt,
uuidGenerator,
ulidGenerator,
cypher,
bip39,
hmacGenerator,
rsaKeyPairGenerator,
certificateKeyParser,
passwordStrengthAnalyser,
pdfSignatureChecker,
],
components: [tokenGenerator, hashText, bcrypt, uuidGenerator, ulidGenerator, cypher, bip39, hmacGenerator, rsaKeyPairGenerator, passwordStrengthAnalyser, pdfSignatureChecker],
},
{
name: 'Converter',
@@ -129,6 +116,7 @@ export const toolsByCategory: ToolCategory[] = [
tomlToYaml,
xmlToJson,
jsonToXml,
smartRawConverter,
markdownToHtml,
],
},
+1 -1
View File
@@ -4,7 +4,7 @@ import { defineTool } from '../tool';
export const tool = defineTool({
name: 'Regex Tester',
path: '/regex-tester',
description: 'Regex Tester',
description: 'Test your regular expressions with sample text.',
keywords: ['regex', 'tester', 'sample', 'expression'],
component: () => import('./regex-tester.vue'),
icon: Language,
+12
View File
@@ -0,0 +1,12 @@
import { Disc } from '@vicons/tabler';
import { defineTool } from '../tool';
export const tool = defineTool({
name: 'SMART Raw Converter',
path: '/smart-raw-converter',
description: 'Convert SMART Raw values to human readable',
keywords: ['smart', 'raw', 'converter'],
component: () => import('./smart-raw-converter.vue'),
icon: Disc,
createdAt: new Date('2024-07-14'),
});
@@ -0,0 +1,13 @@
import { describe, expect, it } from 'vitest';
import { getSmartValue } from './smart-raw-converter.service';
describe('smart-raw-converter', () => {
describe('getSmartValue', () => {
it('to return correct values', () => {
expect(getSmartValue(8590065666)).to.deep.eq({
errors: 2,
operations: 131074,
});
});
});
});
@@ -0,0 +1,14 @@
export function getSmartValue(raw: number) {
const n = raw.toString(2);
let bin = '';
for (let i = 0; i < 64 - n.length; ++i) {
bin += '0';
}
bin += n;
const lo = Number.parseInt(bin.slice(0, 32), 2);
const hi = Number.parseInt(bin.slice(32), 2);
return {
errors: lo,
operations: hi,
};
}
@@ -0,0 +1,44 @@
<script setup lang="ts">
import { getSmartValue } from './smart-raw-converter.service';
import { useValidation } from '@/composable/validation';
const inputRegex = /^(?:0x(?<hex>[a-f\d]+)|(?<dec>\d+))$/i;
const rawValue = ref('0xFE45E3');
const rawValueValidation = useValidation({
source: rawValue,
rules: [
{
validator: (v) => {
return inputRegex.test(v?.trim());
},
message: 'Smart Raw Value must be decimal or "0x" hexadecimal.',
},
],
});
const smartDecodedValue = computed(() => {
if (!rawValueValidation.isValid) {
return null;
}
const inputMatch = rawValue.value.match(inputRegex);
const rawValueInt = inputMatch?.groups?.hex
? Number.parseInt(inputMatch?.groups?.hex, 16)
: Number.parseInt(inputMatch?.groups?.dec || '0', 10);
return getSmartValue(rawValueInt);
});
</script>
<template>
<div style="max-width: 600px;">
<c-input-text
v-model:value="rawValue"
label="Smart Raw Value"
placeholder="Put your Smart Raw Value (decimal or '0x' hexa)"
:validation="rawValueValidation"
mb-2
/>
<c-card v-if="smartDecodedValue" title="Decoded">
<strong>{{ smartDecodedValue.errors }}</strong> in {{ smartDecodedValue.operations }} operations
</c-card>
</div>
</template>
-2
View File
@@ -1,6 +1,5 @@
import { resolve } from 'node:path';
import { URL, fileURLToPath } from 'node:url';
import { nodePolyfills } from 'vite-plugin-node-polyfills';
import VueI18n from '@intlify/unplugin-vue-i18n/vite';
import vue from '@vitejs/plugin-vue';
@@ -98,7 +97,6 @@ export default defineConfig({
resolvers: [NaiveUiResolver(), IconsResolver({ prefix: 'icon' })],
}),
Unocss(),
nodePolyfills(),
],
base: baseUrl,
resolve: {