Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

promlens with device identification in Chomre and Opera #37

Closed
hudecof opened this issue Jun 18, 2018 · 1 comment
Closed

promlens with device identification in Chomre and Opera #37

hudecof opened this issue Jun 18, 2018 · 1 comment

Comments

@hudecof
Copy link

hudecof commented Jun 18, 2018

Hi,

in Chorme and Opera he Yubikey registration response is different. The device type is not recongnized.

I have the same issue with the python based u2fval server end the u2f-api-1.1.js. I have attestation enabled, so if the device is not recognized, the registration failed.

Seems that, there is problem in JS API and browser integration. I tried also another Yubikye with the same result.

See the result from the Chome, espacially the Issuer and certificate validity.

OS Info

  • os: Mac OS 10.13.5
  • FF: 60.0.2 (64-bit) (latest)
  • Chrome: Version 67.0.3396.87 (Official Build) (64-bit) (latest)
  • Opera: 53.0.2907.99 - Opera is up to date

Firefox

Successfully registered device:

Vendor metadata

                url: https://yubico.com
            

                imageUrl: https://developers.yubico.com/U2F/Images/yubico.png
            

                name: Yubico
            

Device metadata

                deviceId: 1.3.6.1.4.1.41482.1.5
            

                displayName: YubiKey 4/YubiKey 4 Nano
            

                deviceUrl: https://www.yubico.com/products/yubikey-hardware/yubikey4/
            

                imageUrl: https://developers.yubico.com/U2F/Images/YK4.png
            

Device transports: USB

Registration data

 DeviceRegistration{Key handle=ikcNuC3imxbGbnEvCxwYODKzZNIC0_yW1ksV99jFm7bl2FMT1w_snYCEGQiQOH31STVnYM63JU9gPXhDRhRbow, Public key=BL-8QSDycOXlmjLs9pKgvwVgE9FVEqWSSi1k2sCvChCLKcUkdf-sfW4nK2M20-66YJ17JeUX4ah6HLod1RGLdpw, Counter=-1, Attestation certificate=  [0]         Version: 3
         SerialNumber: 305582463
             IssuerDN: CN=Yubico U2F Root CA Serial 457200631
           Start Date: Fri Aug 01 02:00:00 CEST 2014
           Final Date: Sun Sep 04 02:00:00 CEST 2050
            SubjectDN: CN=Yubico U2F EE Serial 23925734103241087
           Public Key: EC Public Key
            X: d365a91e5e99e0d5b439c0d9afbb87f4058e47dd12b144edb14d2b33f8d35c15
            Y: 13e40d79f0f999abe23671959381c9dc2b07858b82ac63476204ccf734d6ae21

  Signature Algorithm: SHA256WITHRSA
            Signature: 221b9bb3b27224f13ebea322f0351eaf464966a3
                       6f7269857c8e23f9e505b55275dd4e41223e7f26
                       11091469cf929fa5263e6cc77681b2486daaf41f
                       b1cfabe85508f13f6750f6c81b29de601b5e7208
                       bbfa6476e564a91d7d64ab524ad04ebb5ace218b
                       1526f171f87cdef52398e8432c50b9bf1578197a
                       b6ebbe32abd1769338389c24b8c97acee3f1bc61
                       6476caf42f1367df2928d02655c63b9d3cd0ab69
                       b6996fe573788b9952f802ab4f941155b109dc1e
                       20ec6d2542175857eeabe19b478a5f2617860d31
                       9d3e45a60fc4069835690561dcce6426887506d7
                       45979f8067db3148800b683058dedf88f1d5f5eb
                       bcd8d632a46537d8e8a31bd063846b7f
       Extensions: 
                       critical(false) 1.3.6.1.4.1.41482.2 value = 1.3.6.1.4.1.41482.2 value = *****
                       critical(false) 1.3.6.1.4.1.45724.2.1.1 value = DER Bit String[1, 5] 

Chrome and Opera

Successfully registered device:

No vendor metadata present!

No device metadata present!

Device transports: USB

Registration data

 DeviceRegistration{Key handle=3N0Cv3RvZZbfeWPdJuwh50Ycq1bGfa1kSEP9n_sIpIGdkSwzBxPXqqazU_lBCD0zJoIzRqVwUlfv1_xemiX6rg, Public key=BCBFyIMtJlem_qY4ibCy6n91iVZvHmAag3Crg7hjZCciR5ee46BsrPN17t6HN9_nhUT1YqVJDH2d-JKM8OInRcM, Counter=-1, Attestation certificate=  [0]         Version: 3
         SerialNumber: 459897267187468141154298
             IssuerDN: CN=U2F Issuer
           Start Date: Sat Jan 01 01:00:00 CET 2000
           Final Date: Sat Jan 01 01:00:00 CET 2000
            SubjectDN: CN=U2F Device
           Public Key: EC Public Key
            X: 1dc67445b5373078ebd57cd78088c43f008f64b13265e4a5549a1c7ef3da32d8
            Y: edc75a29a53e2f948121ac128184c55e9eaf6b88ec53e071edf7accb24bc9973

  Signature Algorithm: SHA256WITHECDSA
            Signature: 3045022100c1a3a68e2f16a7214627057f62bb72
                       8c9e03e7a1ba62d046524e456d2c2f3f7302200b
                       5f78e511aa18129f6f236d9213227d92b4e67edf
                       53e816dfb05d9dc8b90fde
       Extensions: 
                       critical(false) 1.3.6.1.4.1.45724.2.1.1 value = DER Bit String[1, 5] 

} 
@hudecof
Copy link
Author

hudecof commented Jun 18, 2018

solved in Yubico/u2fval#38

@hudecof hudecof closed this as completed Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant