-
Notifications
You must be signed in to change notification settings - Fork 492
Needed to change Firebase Fingerprint #236
Comments
to what you change it ? I have the same problem too |
See if you can get the fingerprint from firebase.com. Will check the real value you need when I get home in about 45min |
In the file static const char kFirebaseFingerprint[] = "7A 54 06 9B DC 7A 25 B3 86 8D 66 53 48 2C 0B 96 42 C7 B3 0A"; to static const char kFirebaseFingerprint[] = "9A E1 A3 B7 88 E0 C9 A3 3F 13 72 4E B5 CB C7 27 41 B2 0F 6A"; |
how did you know where to find the new fingerprint? why it's change?
thank you
בתאריך 14 בדצמ׳ 2016 12:54, "Chris Kolodziej" <[email protected]>
כתב:
… In the file FirebaseHttpClient.h, change
static const char kFirebaseFingerprint[] = "7A 54 06 9B DC 7A 25 B3 86 8D 66 53 48 2C 0B 96 42 C7 B3 0A";
to
static const char kFirebaseFingerprint[] = "9A E1 A3 B7 88 E0 C9 A3 3F 13 72 4E B5 CB C7 27 41 B2 0F 6A";
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#236 (comment)>,
or mute the thread
<https://github.com./notifications/unsubscribe-auth/AP7yGx6PM7K4HnRUqwOl5SNeAf5dNCOZks5rH8rsgaJpZM4LMe2q>
.
|
No idea why it changed. Firebase updated their SDK, maybe that changed something? Maybe one of the devs know more? I found the new fingerprint by accident, to be honest. I was on the hunt for a memory leak that is occurring when Firebase pushes fail (story for another thread, probably post in the next few days) and had alot of debug information being dumped to Serial. You can enable this in Arduino IDE using this or in PlatformIO (big fan) by adding some build flags. I think I used build_flags = -DDEBUG_ESP_SSL -DDEBUG_ESP_CORE -DDEBUG_TLS_MEM -DDEBUG_LOG_LEVEL=6 but could have included any of
With those defined I saw a print of the test fingerprint and the real fingerprint which didn't match, seen in the debug snippet below.
Did changing the fingerprint work for you? |
In the serial its throw Exception (29): After i change to the new fingerprint its work !!!!!!!!!!! Thank You ! |
Also work for me. Thanks |
This probably means their SSL certificate was updated. Seems a bit odd to me that fingerprints are stored in code. I've seen it in other arduino code examples. |
It was the only thing the ESP8266 https library supported when this was written. Looks like that was fixed back in august though (esp8266/Arduino@b412660) so if I am understanding it correctly we could (and should) update to be more resilient using a CA root cert. |
Last night Firebase Fingerprint was changed again, crazy ! @proppy Can we change the lib FirebaseHttpClient can detect the Firebase Fingerprint automatically? |
Same issue. Last night my ESP8266 stopped to update on Firebase. |
@lenguyenvu007 thanks for the updates. |
@alvintwking I just follow the method of this topic owner @ChrisAlphabet as above mention. Thanks for him ! |
thank you @lenguyenvu007 you save me, I was wondering why my production ready IoT service stop working. |
Should be fixed with #277. Thanks @RaemondBW ! |
If fingerprint changes again you can find new fingerprint by this site. |
Why they change it all the time????
2017-09-07 15:03 GMT+03:00 mikrodunya <[email protected]>:
… If fingerprint changes again you can find new fingerprint by this
<https://mikrodunyaiot.firebaseio.com/>site.
Just enter your firebase host adress (xxxxxxxx.firebaseio.com) to the
textbox on that site and you will see fingerprint.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#236 (comment)>,
or mute the thread
<https://github.com./notifications/unsubscribe-auth/AP7yGwizH5xRSH8IGC0OYXhmLsK2zOoMks5sf9urgaJpZM4LMe2q>
.
|
Hi. I solved this problem by changing wificlientsecure.cpp file in Arduino ESP8266 libraries. Path of file is :"C:\Users(Your_user_name)\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src" You can download modified wificlientsecure.cpp here: https://github.com./mikrodunya/Firebase-Arduino-Skip-fingerprint-Verification |
The fingerprint is still |
Fingerprint B8 4F 40.. is already new @proppy |
I dont know much about security if we bypass verification. |
@lenguyenvu007 I believe #277 already updated the finger bring to |
They may change fingerprint later. Lets think we make a product and sold it. Then firebaseio fingerprint changed. Our product wont work for a period of time until we modify FirebaseHttpClient.h file . Our customers will be unpleased. |
@mikrodunya you are absolutely right. Thanks a lot for your method. |
Related: Something like this could allow us to remove the hardcoded fingerprint from the library. |
I attempted to adopt mikrodunya's solution above in hopes of bypassing the Firebase Fingerprint. I swapped my cpp file but it is unclear what other steps are required. I tested whether or not it worked by changing the Firebase Fingerprint to an incorrect value and my data stopped flowing so I know the file swap was either ineffective or there is something else I need to do. Any ideas? Thank you. |
Hi @bizmike . |
Thanks for the reply, @mikrodunya. Tested it again this morning and it hasn't worked for me. I am wondering if the library needs to be updated or something. I swapped to your cpp file and tried the current key B8 4F 40 70 0C 63 90 E0 07 E8 7D BD B4 11 D0 4A EA 9C 90 F6 and data went into Firebase. Then I changed the key to start B9 instead of B8 which is incorrect. If the cpp file worked then data should've still flowed into Firebase but it didn't. |
Instead of trying to bypass the key (haven't been successful getting that to work) is it possible to have the code reference a URL where it can find an updated key instead of the key in line? So instead of "B8 4F 40 70 0C 63 90 E0 07 E8 7D BD B4 11 D0 4A EA 9C 90 F6" it sees "Go here to the fancy secure URL and find the updated key" so that I can update all of my hardware's fingerprints remote at once? |
@bizmike maybe we should make the fingerprint an optional argument of the |
#315 |
Hi guys please find the permanent solution for this problem. |
parmak izi kontrolü disable yaptım parmak izi sorgulama devam ediyor çözüm bulmak zor olmalı yoksa bir çözüm bulurdu ögretmenler... |
mikrodünya yı burda görmek güzel... |
Yukarida nasil cozulecegini detayli bir sekilde anlattim ve hala kullaniyorum. Buradakiler anlayamadi ne yaptigimi aval aval konusuyolar. |
senin gönderdigin cpp dosyasını yükledim fakat çalışmadı bir yerde hata var belkide bizdeki libray farkı olabılır hata verme sebebi daha önce be sll false yapıp denemiştim ama degişen bir şey olmadı
…________________________________
Gönderen: mikrodunya <[email protected]>
Gönderildi: 23 Eylül 2018 Pazar 20:39
Kime: FirebaseExtended/firebase-arduino
Bilgi: mesut25; Comment
Konu: Re: [FirebaseExtended/firebase-arduino] Needed to change Firebase Fingerprint (#236)
Yukarida nasil cozulecegini detayli bir sekilde anlattim ve hala kullaniyorum. Buradakiler anlayamadi ne yaptigimi aval aval konusuyolar.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#236 (comment)>, or mute the thread<https://github.com./notifications/unsubscribe-auth/Ad8AasKhg_ppXREI9IzcrxPkUl4qYdGEks5ud8dSgaJpZM4LMe2q>.
|
Esp8266 nin yeni versiyonunu yiklediyseniz cpp dosyasini degistirmisler. Onu yeniden modifiye etmek lazim. Bi ara atarim buraya musait olunca |
araştırmaya devam ediyorum adamlar bu işi çözememiş bu çözümü bir türkün ortaya koyması gerçekten güzel olur diye düşünüyorum
#239
burda proppy<https://github.com./proppy> parametre olsa güzel olur diyor yakında bunu çözerler
çeşke bizde buralarda katkımız olsa ama kendim için söylüyorum çok zor ve üzücü adamlar uçmuş .....kolay gelsin
…________________________________
Gönderen: mikrodunya <[email protected]>
Gönderildi: 23 Eylül 2018 Pazar 21:54
Kime: FirebaseExtended/firebase-arduino
Bilgi: mesut25; Comment
Konu: Re: [FirebaseExtended/firebase-arduino] Needed to change Firebase Fingerprint (#236)
Esp8266 nin yeni versiyonunu yiklediyseniz cpp dosyasini degistirmisler. Onu yeniden modifiye etmek lazim. Bi ara atarim buraya musait olunca
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#236 (comment)>, or mute the thread<https://github.com./notifications/unsubscribe-auth/Ad8AaiXVpHqez822Z2AyDaV5tIqewahmks5ud9jOgaJpZM4LMe2q>.
|
Solution You can find necessary file here ; |
benim dosya yolum== "C:\Users(Your_user_name)\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WiFi\src"
dosyama 2.4.1 programlama başarılı
istenilen
yol="C:\Users(Your_user_name)\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266WiFi\src"
2.4.2 güncelleme yapınca derleme hatası alıyorum ...
nerde hata yapıyorum??
…________________________________
Gönderen: mikrodunya <[email protected]>
Gönderildi: 24 Eylül 2018 Pazartesi 16:33
Kime: FirebaseExtended/firebase-arduino
Bilgi: mesut25; Comment
Konu: Re: [FirebaseExtended/firebase-arduino] Needed to change Firebase Fingerprint (#236)
For esp8266 for arduino release 2.4.2 ;
If you use "#define SKIP_FP_CONTROL" line fingerprint changes will no more be a problem. If you comment the line fingerprint will be questioned. So fp control will be an optional codeblock.
Path of file is :"C:\Users(Your_user_name)\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.2\libraries\ESP8266WiFi\src"
You can find necessary file here ;
https://github.com./mikrodunya/Firebase-Arduino-Skip-fingerprint-Verification
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#236 (comment)>, or mute the thread<https://github.com./notifications/unsubscribe-auth/Ad8AaveO8zj4N-B6jOjK2NVGF91ZcMGgks5ueN8NgaJpZM4LMe2q>.
|
Firebase fingerprint was updated yesterday AGAIN!! file to change: FirebaseHttpClient.h static const char kFirebaseFingerprint[] = @mikrodunya thanks for your solution. I tried to use your code to replace my current wificlientsecure.cpp file, unfortunately it doesn't work. One interesting thing is, you asked us to modify the wificlientsecure.cpp file, but in the github link you provided, you named the file as wificlientsecureAxTLS.cpp file which is a totally different file in the Arduino package. Which one are we supposed to change actually? Did you just point us to the correct file? Look forwawrd to your or anyone's reply :) |
Hi everyone, I had this same issue with my application a couple days ago and i figured out a way to solve it. Basically if we host this fingerprint somewhere else than in the hardware it will make things easier to change next time we had a fingerprint change. I am sending below my FirebaseHttpClient_Esp8266.cpp code where I've changed the FirebaseHttpClientEsp8266 class, I added some Serial.println to check the get request and also some string manipulation(because my-json-server.typicode adds some spaces and characters to the getString.
Feel free to comment and add suggestions to this solution!! Cheers !@ |
@henriQLima
|
Hey @kiralikbeyin! The error -1 is probably due to your http get request. Did you set up your db.json at my-json-server.typicode.com properly? Are you able to access your fingerprint inside an array? |
@ChrisAlphabet |
@mikrodunya please explain, if I get fingerprint to my firebase project will it also change after some time? Or using fingerprint of my own firebase project address it is permanent? |
thank you!!!!!!!!!!!!!!!!!!
…On Sat, Feb 29, 2020 at 4:44 PM danilomna ***@***.***> wrote:
If fingerprint changes again you can find new fingerprint by this
<https://www.grc.com/fingerprints.htm>site.
Just enter your firebase host adress (xxxxxxxx.firebaseio.com) to the
textbox on that site and you will see fingerprint.
@mikrodunya <https://github.com./mikrodunya> please explain, if I get
fingerprint to my firebase project will it also change after some time? Or
using fingerprint of my own firebase project address it is permanent?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#236?email_source=notifications&email_token=AID6RCPPYPOIVFVX2UZABVTRFDW3BA5CNFSM4CZR5WVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENLXLRQ#issuecomment-592934342>,
or unsubscribe
<https://github.com./notifications/unsubscribe-auth/AID6RCN2QPHGP5AXB7LLQSDRFDW3BANCNFSM4CZR5WVA>
.
|
Guys, Problems solved for good!!! Forget about firebase fingetprint changes issue forever!!! Use this and only this library avaliable on arduino library manager: Firebase ESP8266 Client. It is an amazing library project with new approach not fingerprint dependant provided by @mobizt https://github.com./mobizt/Firebase-ESP8266 |
Is there have any online fingerprint generators for this problem?? |
Hi all,
I had to change the Firebase Fingerprint in
FirebaseHttpClient.h
Any idea why the fingerprint would have changed overnight?
Cheers
The text was updated successfully, but these errors were encountered: