# Node to use with Smart Card readers and apply APDU protocol

**URL:** <https://discourse.nodered.org/t/node-to-use-with-smart-card-readers-and-apply-apdu-protocol/70291>\
**Category:** General\
**Tags:** function-node\
**Created:** [8 November 2022 22:57 UTC](https://discourse.nodered.org/t/node-to-use-with-smart-card-readers-and-apply-apdu-protocol/70291 "2022-11-08T22:57:40Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![JorgeGomes](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jorgegomes/32/70288_2.png) [@JorgeGomes](https://discourse.nodered.org/u/JorgeGomes)\
**Post date:** [8 November 2022 22:57 UTC](https://discourse.nodered.org/t/node-to-use-with-smart-card-readers-and-apply-apdu-protocol/70291/1 "2022-11-08T22:57:40Z")

</div>

Hello all,  
I'm new with Node red, and I've realized that it is a powerful tool with a huge capability, I'm looking for some nodes to use with Smart cards and also with APDU communication protocol.  
Do you know some that can advice me?  
Thanks

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [9 November 2022 07:43 UTC](https://discourse.nodered.org/t/node-to-use-with-smart-card-readers-and-apply-apdu-protocol/70291/2 "2022-11-09T07:43:56Z")

</div>

Welcome to the forum @JorgeGomes

I don't know much about this subject, but I think the first question is how are you connecting the card to the computer? Also what OS?

---

<div class="post-metadata">

**Author:** ![JorgeGomes](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jorgegomes/32/70288_2.png) [@JorgeGomes](https://discourse.nodered.org/u/JorgeGomes)\
**Post date:** [9 November 2022 10:09 UTC](https://discourse.nodered.org/t/node-to-use-with-smart-card-readers-and-apply-apdu-protocol/70291/3 "2022-11-09T10:09:23Z")

</div>

Hi Colin,  
Thanks for your prompt answer.  
Actually, I can use MACOS or Windows. I can use what node is or are available. I'm just start it.  
Let me know what is possible.  
Appreciate.  
Thanks

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [9 November 2022 10:42 UTC](https://discourse.nodered.org/t/node-to-use-with-smart-card-readers-and-apply-apdu-protocol/70291/4 "2022-11-09T10:42:15Z")

</div>

I was asking how you are going to connect the smart card to the computer. That is a hardware question and nothing to do with node-red. What type of card are you talking about?

---

<div class="post-metadata">

**Author:** ![JorgeGomes](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jorgegomes/32/70288_2.png) [@JorgeGomes](https://discourse.nodered.org/u/JorgeGomes)\
**Post date:** [9 November 2022 22:36 UTC](https://discourse.nodered.org/t/node-to-use-with-smart-card-readers-and-apply-apdu-protocol/70291/5 "2022-11-09T22:36:22Z")

</div>

Hi Colin,  
I'm going to use Mobile SIM card.  
Thanks

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [10 November 2022 07:11 UTC](https://discourse.nodered.org/t/node-to-use-with-smart-card-readers-and-apply-apdu-protocol/70291/6 "2022-11-10T07:11:04Z")

</div>

> [@JorgeGomes](#):
>
> I'm going to use Mobile SIM card

How are you going to connect the SIM to the computer?

---

<div class="post-metadata">

**Author:** ![JorgeGomes](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jorgegomes/32/70288_2.png) [@JorgeGomes](https://discourse.nodered.org/u/JorgeGomes)\
**Post date:** [10 November 2022 08:04 UTC](https://discourse.nodered.org/t/node-to-use-with-smart-card-readers-and-apply-apdu-protocol/70291/7 "2022-11-10T08:04:04Z")

</div>

With a card reader.  
I'm telco engineer working with devices and SIM cards. I've using the IDBridge CT30:

> **[Amazon.com: Gemalto IDBridge CT30 USB Smart Card Reader Writer CAC DOD ID Army...](https://www.amazon.com/Gemalto-IDBridge-CT30-Government-Corporate/dp/B00G46Y7CG)**
>
> IDBridge smart card readers are designed for securing network access, using the Gemalto PC Core hardware and firmware, handling all types of ISO7816 compatible smart cards. Several different models are available to adapt to every host PC interfaces...

Now I want to play with Node-red, is why I'm looking for useful nodes.  
Thanks

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [10 November 2022 10:20 UTC](https://discourse.nodered.org/t/node-to-use-with-smart-card-readers-and-apply-apdu-protocol/70291/8 "2022-11-10T10:20:27Z")

</div>

What software do you use for accessing the card?

---

<div class="post-metadata">

**Author:** ![JorgeGomes](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jorgegomes/32/70288_2.png) [@JorgeGomes](https://discourse.nodered.org/u/JorgeGomes)\
**Post date:** [11 November 2022 15:42 UTC](https://discourse.nodered.org/t/node-to-use-with-smart-card-readers-and-apply-apdu-protocol/70291/9 "2022-11-11T15:42:00Z")

</div>

I've some software licensed by card manufacturers.  
Why are you asking?  
Thanks

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [11 November 2022 15:54 UTC](https://discourse.nodered.org/t/node-to-use-with-smart-card-readers-and-apply-apdu-protocol/70291/10 "2022-11-11T15:54:12Z")

</div>

> [@JorgeGomes](#):
>
> I've some software licensed by card manufacturers.  
> Why are you asking?

Because the easiest (possibly the only) way may be to drive that software from node-red.

---

<div class="post-metadata">

**Author:** ![JorgeGomes](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jorgegomes/32/70288_2.png) [@JorgeGomes](https://discourse.nodered.org/u/JorgeGomes)\
**Post date:** [12 November 2022 16:48 UTC](https://discourse.nodered.org/t/node-to-use-with-smart-card-readers-and-apply-apdu-protocol/70291/11 "2022-11-12T16:48:32Z")

</div>

uhmm...interesting. Can you share some information how to do?  
Another way that can be possible, is to use some java packages that exists to handle APDU with card readers. In case you have some interesting info how to integrate jar libraries, would be nice.  
Thanks

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [12 November 2022 21:11 UTC](https://discourse.nodered.org/t/node-to-use-with-smart-card-readers-and-apply-apdu-protocol/70291/12 "2022-11-12T21:11:14Z")

</div>

> [@JorgeGomes](#):
>
> Can you share some information how to do

It depends on whether the s/w has an API you can access.

> [@JorgeGomes](#):
>
> Another way that can be possible, is to use some java packages that exists to handle APDU with card readers.

If you have a command line program that will do it then you should be able to call that using an exec node.

Alternatively, searching for adpu in the npmjs website finds a number of npm packages that could possibly be useful

> **[apdu - npm search](https://www.npmjs.com/search?q=apdu&page=0&perPage=20)**

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [11 January 2023 21:11 UTC](https://discourse.nodered.org/t/node-to-use-with-smart-card-readers-and-apply-apdu-protocol/70291/13 "2023-01-11T21:11:43Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
