<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>207806</bug_id>
          
          <creation_ts>2020-02-14 21:58:31 -0800</creation_ts>
          <short_desc>[WebAuthn] Any plan to support NFC APDU short length encoding ?</short_desc>
          <delta_ts>2020-08-25 19:52:20 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKit Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>181943</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="nuno.sung">nuno.sung</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>jiewen_tan</cc>
    
    <cc>loginllama</cc>
    
    <cc>webkit-unassigned</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1619360</commentid>
    <comment_count>0</comment_count>
    <who name="nuno.sung">nuno.sung</who>
    <bug_when>2020-02-14 21:58:31 -0800</bug_when>
    <thetext>As the desciription under
https://github.com/WebKit/webkit/blob/master/Source/WebCore/Modules/webauthn/apdu/ApduCommand.h
&quot;This class implements only the extended length encoding.&quot;

There are still many legancy nfc java card for U2F can support short length encoding.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1619443</commentid>
    <comment_count>1</comment_count>
    <who name="Jiewen Tan">jiewen_tan</who>
    <bug_when>2020-02-15 16:29:51 -0800</bug_when>
    <thetext>(In reply to nuno.sung from comment #0)
&gt; As the desciription under
&gt; https://github.com/WebKit/webkit/blob/master/Source/WebCore/Modules/webauthn/
&gt; apdu/ApduCommand.h
&gt; &quot;This class implements only the extended length encoding.&quot;
&gt; 
&gt; There are still many legancy nfc java card for U2F can support short length
&gt; encoding.

Besides supporting legacy devices, is there any other reasons to introduce short length encoding? I want to have a better understanding of its benefits to prioritize the work.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1619493</commentid>
    <comment_count>2</comment_count>
    <who name="nuno.sung">nuno.sung</who>
    <bug_when>2020-02-16 07:25:37 -0800</bug_when>
    <thetext>(In reply to Jiewen Tan from comment #1)
&gt; Besides supporting legacy devices, is there any other reasons to introduce
&gt; short length encoding? I want to have a better understanding of its benefits
&gt; to prioritize the work.

Thanks for your consideration.
Because these device still can be supported by other FIDO clients of Windows10 and Android with short APUD encoding. Although I don&apos;t know if they have other reasons for this support. And some users will be happy to keep using them on iOS .</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1682892</commentid>
    <comment_count>3</comment_count>
    <who name="login Llama">loginllama</who>
    <bug_when>2020-08-25 19:52:20 -0700</bug_when>
    <thetext>Most authenticators support both short and extended length.

The reason is that some number of desktop CCID readers don&apos;t support extended length encoding,  If you know it is not a problem with the built in iOS reader then I wouldn&apos;t make it a high priority.  

If you are planning on supporting external readers on OSX like Windows then you will need to support short encoding as a fallback. 

NFC can be a bit of a pain in the ass but it is better than blue tooth.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>