[aadhaar_rd] RD Service : Rd Service (Device Discovery)

556 views
Skip to first unread message

PANT Vineet (SAFRAN IDENTITY AND SECURITY)

unread,
Mar 2, 2017, 7:51:35 AM3/2/17
to aadha...@googlegroups.com

Dear All

 

1> As mentioned in the Section 5.1(Device Discovery):

 

    The RD-Service call is similar to a HTTP 1.1 GET call. Except that it use the RD-SERVICE as the verb and * as the request URI.

 

Would the request be standard HTTP request or customized string over the socket( since HTTP protocol does not allow “RD-SERVICE” to be used as VERB, so standard HTTP request would not be accepted)?

 

Regards,

Vineet Pant

Smartchip Ltd.

 

#
" Ce courriel et les documents qui lui sont joints peuvent contenir des informations confidentielles, être soumis aux règlementations relatives au contrôle des exportations ou ayant un caractère privé. S'ils ne vous sont pas destinés, nous vous signalons qu'il est strictement interdit de les divulguer, de les reproduire ou d'en utiliser de quelque manière que ce soit le contenu. Toute exportation ou réexportation non autorisée est interdite.Si ce message vous a été transmis par erreur, merci d'en informer l'expéditeur et de supprimer immédiatement de votre système informatique ce courriel ainsi que tous les documents qui y sont attachés."
******
" This e-mail and any attached documents may contain confidential or proprietary information and may be subject to export control laws and regulations. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. Unauthorized export or re-export is prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system."
#

Pramod Varma

unread,
Mar 2, 2017, 7:54:06 AM3/2/17
to aadha...@googlegroups.com
Custom VERB. This is to avoid generic HTTP port scanners from pinging it.

Regards, Pramod.
linkedin.com/in/pramodkvarma  |  @pramodkvarma


--
You received this message because you are subscribed to the Google Groups "Aadhaar Registered Devices Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aadhaar_rd+unsubscribe@googlegroups.com.
To post to this group, send email to aadha...@googlegroups.com.
Visit this group at https://groups.google.com/group/aadhaar_rd.
To view this discussion on the web visit https://groups.google.com/d/msgid/aadhaar_rd/af05cdd98195418780fa4c3a239eeeaa%40Y0032WO.rd1.rf1.
For more options, visit https://groups.google.com/d/optout.

SAINI Supriya (SAFRAN IDENTITY AND SECURITY)

unread,
Mar 2, 2017, 11:45:45 PM3/2/17
to aadha...@googlegroups.com

Dear  Pramod

 

Does that mean that Application will not communicate with RD service through standard Http Apis ?

 

It means we have to create Socket Listener RD Service listening the request with header as specified in doc :-

 

RDSERVICE * HTTP/1.1

HOST: 127.0.0.1:<apps port>

EXT: app_name

 

CAPTURE http://127.0.0.1:<rd_service_port>/<CAPTURE_path>

HOST: 127.0.0.1:<port>

<PidOptions />

 

DEVICEINFO http://127.0.0.1:<rd_service_port>/<INFO_path>

HOST: 127.0.0.1:<port>

 

 

And application will create the above header as a customized string to be sent over  socket to RD Service?

 

Regards,

Supriya Saini

 

From: aadha...@googlegroups.com [mailto:aadha...@googlegroups.com] On Behalf Of Pramod Varma
Sent: Thursday, March 02, 2017 6:24 PM
To: aadha...@googlegroups.com
Subject: Re: [aadhaar_rd] RD Service : Rd Service (Device Discovery)

 

Custom VERB. This is to avoid generic HTTP port scanners from pinging it.


Regards, Pramod.

linkedin.com/in/pramodkvarma  |  @pramodkvarma

 

 

On Thu, Mar 2, 2017 at 6:21 PM, PANT Vineet (SAFRAN IDENTITY AND SECURITY) <vinee...@safrangroup.com> wrote:

Dear All

 

1> As mentioned in the Section 5.1(Device Discovery):

 

    The RD-Service call is similar to a HTTP 1.1 GET call. Except that it use the RD-SERVICE as the verb and * as the request URI.

 

Would the request be standard HTTP request or customized string over the socket( since HTTP protocol does not allow “RD-SERVICE” to be used as VERB, so standard HTTP request would not be accepted)?

 

Regards,

Vineet Pant

Smartchip Ltd.

 

#
" Ce courriel et les documents qui lui sont joints peuvent contenir des informations confidentielles, être soumis aux règlementations relatives au contrôle des exportations ou ayant un caractère privé. S'ils ne vous sont pas destinés, nous vous signalons qu'il est strictement interdit de les divulguer, de les reproduire ou d'en utiliser de quelque manière que ce soit le contenu. Toute exportation ou réexportation non autorisée est interdite.Si ce message vous a été transmis par erreur, merci d'en informer l'expéditeur et de supprimer immédiatement de votre système informatique ce courriel ainsi que tous les documents qui y sont attachés."
******
" This e-mail and any attached documents may contain confidential or proprietary information and may be subject to export control laws and regulations. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. Unauthorized export or re-export is prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system."
#

--

You received this message because you are subscribed to the Google Groups "Aadhaar Registered Devices Discussion Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to aadhaar_rd+...@googlegroups.com.

 

--

You received this message because you are subscribed to the Google Groups "Aadhaar Registered Devices Discussion Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to aadhaar_rd+...@googlegroups.com.


To post to this group, send email to aadha...@googlegroups.com.
Visit this group at https://groups.google.com/group/aadhaar_rd.


For more options, visit https://groups.google.com/d/optout.

#

Netaji Rao

unread,
Mar 3, 2017, 12:34:09 AM3/3/17
to aadha...@googlegroups.com

As I understand, both application and RDService can use standard Http classes in C++/Java/.NET except that method will be custom. Instead of GET/POST use RDSERVICE/CAPTURE/DEVICEINFO with proper URI.

App and RDService need not have to rely only on low level socket communication. App and RDService can choose their own implementation approach (Socket or Http) without worrying about the other end.





Thanks,
Netaji Rao D


Regards, Pramod.

linkedin.com/in/pramodkvarma  |  @pramodkvarma

 

 

--

To unsubscribe from this group and stop receiving emails from it, send an email to aadhaar_rd+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Aadhaar Registered Devices Discussion Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to aadhaar_rd+unsubscribe@googlegroups.com.

#
" Ce courriel et les documents qui lui sont joints peuvent contenir des informations confidentielles, être soumis aux règlementations relatives au contrôle des exportations ou ayant un caractère privé. S'ils ne vous sont pas destinés, nous vous signalons qu'il est strictement interdit de les divulguer, de les reproduire ou d'en utiliser de quelque manière que ce soit le contenu. Toute exportation ou réexportation non autorisée est interdite.Si ce message vous a été transmis par erreur, merci d'en informer l'expéditeur et de supprimer immédiatement de votre système informatique ce courriel ainsi que tous les documents qui y sont attachés."
******
" This e-mail and any attached documents may contain confidential or proprietary information and may be subject to export control laws and regulations. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. Unauthorized export or re-export is prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system."
#

--
You received this message because you are subscribed to the Google Groups "Aadhaar Registered Devices Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aadhaar_rd+unsubscribe@googlegroups.com.

To post to this group, send email to aadha...@googlegroups.com.
Visit this group at https://groups.google.com/group/aadhaar_rd.

Pramod Varma

unread,
Mar 3, 2017, 12:57:38 AM3/3/17
to aadha...@googlegroups.com
Apps can use regular HTTP as long as custom verbs are supported. Otherwise, socket calls also works. Are you guys facing issues with custom verb?

Regards, Pramod.
linkedin.com/in/pramodkvarma  |  @pramodkvarma


On Fri, Mar 3, 2017 at 10:15 AM, SAINI Supriya (SAFRAN IDENTITY AND SECURITY) <supriy...@safrangroup.com> wrote:


Regards, Pramod.

linkedin.com/in/pramodkvarma  |  @pramodkvarma

 

 

--

To unsubscribe from this group and stop receiving emails from it, send an email to aadhaar_rd+unsubscribe@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Aadhaar Registered Devices Discussion Group" group.

To unsubscribe from this group and stop receiving emails from it, send an email to aadhaar_rd+unsubscribe@googlegroups.com.

#
" Ce courriel et les documents qui lui sont joints peuvent contenir des informations confidentielles, être soumis aux règlementations relatives au contrôle des exportations ou ayant un caractère privé. S'ils ne vous sont pas destinés, nous vous signalons qu'il est strictement interdit de les divulguer, de les reproduire ou d'en utiliser de quelque manière que ce soit le contenu. Toute exportation ou réexportation non autorisée est interdite.Si ce message vous a été transmis par erreur, merci d'en informer l'expéditeur et de supprimer immédiatement de votre système informatique ce courriel ainsi que tous les documents qui y sont attachés."
******
" This e-mail and any attached documents may contain confidential or proprietary information and may be subject to export control laws and regulations. If you are not the intended recipient, you are notified that any dissemination, copying of this e-mail and any attachments thereto or use of their contents by any means whatsoever is strictly prohibited. Unauthorized export or re-export is prohibited. If you have received this e-mail in error, please advise the sender immediately and delete this e-mail and all attached documents from your computer system."
#

--
You received this message because you are subscribed to the Google Groups "Aadhaar Registered Devices Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aadhaar_rd+unsubscribe@googlegroups.com.

To post to this group, send email to aadha...@googlegroups.com.
Visit this group at https://groups.google.com/group/aadhaar_rd.

Ketan Upadhyay

unread,
Mar 3, 2017, 2:15:12 AM3/3/17
to Aadhaar Registered Devices Discussion Group, vinee...@safrangroup.com
Dear Pramod Ji 

We can write the custom verb in our appl, but this will also add task on app developer to handle custom verb using socket. Web application and novice application developer will not be able to use.

You may decide on any choice.

Regards
Ketan Upadhyay

PANT Vineet (SAFRAN IDENTITY AND SECURITY)

unread,
Mar 3, 2017, 5:01:04 AM3/3/17
to Aadhaar Registered Devices Discussion Group, SINGH Himanshu (SAFRAN IDENTITY AND SECURITY), SAINI Supriya (SAFRAN IDENTITY AND SECURITY)

Hi  ,

 

Agree with Ketan  . Can we get some sample application from UIDAI communicating with RD service over Http protocol with Custom headers ? it will be helpful to analyze the request headers  and will also help in the  validations to be put on  header of the request in RD Service for  testing purpose.

 

Regards,

Vineet pant

 

From: Ketan Upadhyay [mailto:ketanmu...@gmail.com]
Sent: Friday, March 03, 2017 12:45 PM
To: Aadhaar Registered Devices Discussion Group
Cc: PANT Vineet (SAFRAN IDENTITY AND SECURITY)
Subject: Re: [aadhaar_rd] RD Service : Rd Service (Device Discovery)

 

Dear Pramod Ji 

PANT Vineet (SAFRAN IDENTITY AND SECURITY)

unread,
Mar 7, 2017, 8:14:52 AM3/7/17
to Aadhaar Registered Devices Discussion Group, SINGH Himanshu (SAFRAN IDENTITY AND SECURITY), SAINI Supriya (SAFRAN IDENTITY AND SECURITY)

Hello,

 

Regarding RD Service on Android the document mentions following point in Section 5.2 (Android Discovery & API Calling)

 

·         Call “INFO” intent and verify the provider package name against locally cached UIDAIRDServices registry to make sure only certified ones are being used.  

 

But the UIDAIRDServices XML sample given in document doesn’t have any field related to provider package for android .

 

Regards,

Vineet Pant

 

 

 

From: PANT Vineet (SAFRAN IDENTITY AND SECURITY)
Sent: Friday, March 03, 2017 3:30 PM
To: Aadhaar Registered Devices Discussion Group
Cc: SINGH Himanshu (SAFRAN IDENTITY AND SECURITY); SAINI Supriya (SAFRAN IDENTITY AND SECURITY)
Subject: RE: [aadhaar_rd] RD Service : Rd Service (Device Discovery)

 

Hi  ,

 

Agree with Ketan  . Can we get some sample application from UIDAI communicating with RD service over Http protocol with Custom headers ? it will be helpful to analyze the request headers  and will also help in the  validations to be put on  header of the request in RD Service for  testing purpose.

 

Regards,

Vineet pant

 

From: Ketan Upadhyay [mailto:ketanmu...@gmail.com]
Sent: Friday, March 03, 2017 12:45 PM
To: Aadhaar Registered Devices Discussion Group
Cc: PANT Vineet (SAFRAN IDENTITY AND SECURITY)
Subject: Re: [aadhaar_rd] RD Service : Rd Service (Device Discovery)

 

Dear Pramod Ji 

Gaurav sharma

unread,
Jul 10, 2017, 7:01:49 AM7/10/17
to Aadhaar Registered Devices Discussion Group, vinee...@safrangroup.com

 

Dear netaji rao

 

How  adhaar apk will detect rd service ?                



Netaji Rao

unread,
Jul 10, 2017, 7:09:10 AM7/10/17
to aadha...@googlegroups.com
Dear Gaurav Sharma,

Android RDService and device discoverability is based on intents. Please check Registered Device API doc.

Thanks,
Netaji Rao D

On 10-Jul-2017 4:31 PM, "Gaurav sharma" <ergaur...@gmail.com> wrote:

 

Dear netaji rao

 

How  adhaar apk will detect rd service ?                



--
You received this message because you are subscribed to the Google Groups "Aadhaar Registered Devices Discussion Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aadhaar_rd+unsubscribe@googlegroups.com.
To post to this group, send email to aadha...@googlegroups.com.
Visit this group at https://groups.google.com/group/aadhaar_rd.

Gaurav sharma

unread,
Jul 10, 2017, 7:43:28 AM7/10/17
to Aadhaar Registered Devices Discussion Group, vinee...@safrangroup.com
Thanks Netaji  Rao

we have 1 more question

Do we have to register a broadcast receiver in our application for the same?
Reply all
Reply to author
Forward
0 new messages