CodeWrecks
CodeWrecks
  • 75
  • 261 422
Some thought about Embeddings in Natural Language Processing
In this video we will experiment with embedding models, showing how we can use a trained model to transform a piece of text in a vector that capture semantic of the text. We will show some visualisations techniques to create a 2D representation of a N-Dimensional vector space.
Python notebook can be found here github.com/alkampfergit/ai-playground/blob/develop/src/python/langchainVarious/vectorization/03_vector_context.ipynb
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
00:00 - Introduction to natural language processing and embeddings
00:34 - Using embeddings for sentence context analysis
02:07 - Visualizing vector spaces and their limitations
04:26 - Example sentences to demonstrate vector calculations
05:21 - Concepts of sentence transformation into vectors
09:03 - Using OpenAI for embedding creation
12:44 - Exploration of large vector limits and dimension reduction
14:32 - Performance quality and dimension reduction trade-offs with OpenAI model
17:52 - Video Conclusion
Переглядів: 21

Відео

Word2Vec and how AI started 10 years ago a revolution of NLP
Переглядів 47День тому
More than ten years ago, researchers in Google tried to train a Neural Network to assign to each word a Vector (a sequence of numbers) in a way that the vector captures semantic of the word. You can find notebook used in this example here: github.com/alkampfergit/ai-playground/blob/develop/src/python/langchainVarious/vectorization/02_word_experiments.ipynb ▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 00...
Kernel Memory : How to use Cohere Command R+ to simplify Grounding
Переглядів 5014 днів тому
In this video I'll examine the concept of Grounding in RAG, and how you can use some specialized LLM that exposes special API to simplify grounding and give you more functionalities out of the box. I'll explain how to integrate Command R inside your Kernel Memory pipeline with my custom extension. You can find code here: github.com/alkampfergit/KernelMemory.Extensions Cohere platform documentat...
I bought a Yubikey now what: Pin and touch explained.
Переглядів 38821 день тому
One of the question I got from friends about yubikey is: does the touch is a fingerprint scanner? If no why it is required? Also another common one is: why sometimes I need to type a pin and some other times I only need to touch the key? Watch the video to got the answer. 00:00 - Introduction to Yubikey 01:50 - Importance of PIN in Yubikey 03:50 - Yubikey as a Second Factor of Authentication 04...
Top three feature of Yubikey I use as a Developer
Переглядів 24128 днів тому
Yubikey are not only for developers, but nevertheless I believe that it gives you some unique feature that are really important in your developer day. Let's see how you can use your new yubikey in your daily developer workflow. ▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 00:00 - Introduction to YubiKey for Developers 00:19 - Using YubiKey for GitHub Login 02:39 - Using YubiKey for GitHub Commit Signing...
Kernel Memory - Create a custom search pipeline with rerank.
Переглядів 90Місяць тому
Learn how to create a more advanced RAG pipeline in Kernel Memory using a combined Keyword Vector Search followed by a ReRanking stage, actually implemented by Cohere really good ReRanking API. The extension that made this possible is here: github.com/alkampfergit/KernelMemory.Extensions Here is a previous video with some theory on the subject: ua-cam.com/video/lMxi0lj0QEQ/v-deo.html This is th...
Kernel Memory - Nlp, Precision, Recall, ReRanking
Переглядів 49Місяць тому
In a RAG system the R part (Retrieve) is the most important part, because is the one where you extract from all your knowledge, the pieces of text that you are going to pass to a LLM to answer the user question. As you can understand, it is important that this search is precise. But what is precision? What is Recall? Can you have both of them given latest advancement in the AI from latest years...
KernelMemory - Some suggestions on how to choose a local Embedding Model.
Переглядів 87Місяць тому
In this new video I'll deal with the usage of local embedding generators, like the onens from SBERT family. I'll show which are the main pitfall you can encounter if you are gonna use local embeddings also some theory for using an Embedding Generator effectively. ▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 00:00 - Introduction to Kernel Memory and Embedding Generators 01:23 - Checking Language Support ...
Kernel Memory - Custom Embedding and local LLM with Python, Fast Api and LMStudio
Переглядів 3522 місяці тому
In this video I show how easy is to extend Kernel Memory to use a local Embedding model and a local LLM thanks to Python, Fast Api and LM studio. The code is here: github.com/alkampfergit/SemanticKernelPlayground/tree/develop/200_CSharpSemanticMemory ▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 00:00 - Introduction and Overview 00:22 - Customizing the Embedding Part 01:12 - Creating a Server with Python...
KernelMemory: Cleanup extreacted text, example of ingestion pipeline customization
Переглядів 852 місяці тому
In this video I show how you can customize ingestion pipeline of Kernel Memory creating a simple component that remove any non ASCII character, to demonstrate a very rough technique to remove weird UNICODED or wrong UNICODE characters extracted from the document. You can find the code here. github.com/alkampfergit/SemanticKernelPlayground/tree/develop/200_CSharpSemanticMemory ▬ Contents of this...
Kernel Memory: integrate in your code with serverless mode.
Переглядів 1573 місяці тому
Kernel Memory: integrate in your code with serverless mode.
I bought a Yubikey now what - Sign Git Commits with GPG
Переглядів 3233 місяці тому
I bought a Yubikey now what - Sign Git Commits with GPG
Create MongoDb Atlas installation on Windows + Docker
Переглядів 1893 місяці тому
Create MongoDb Atlas installation on Windows Docker
Semantic Kernel - how to use HandleBars plans
Переглядів 3554 місяці тому
Semantic Kernel - how to use HandleBars plans
Introduction to Langsmith a nice visualizer of LangChain workflows
Переглядів 1914 місяці тому
Introduction to Langsmith a nice visualizer of LangChain workflows
Choose right LLM for orchestration in LangChain (or Semantic Kernel)
Переглядів 4634 місяці тому
Choose right LLM for orchestration in LangChain (or Semantic Kernel)
An introduction to LangChain
Переглядів 1645 місяців тому
An introduction to LangChain
Avoid leaking secret in your repository using python.
Переглядів 785 місяців тому
Avoid leaking secret in your repository using python.
Intro to Semantic Kernel - How to debug interaction with GPT
Переглядів 5385 місяців тому
Intro to Semantic Kernel - How to debug interaction with GPT
I bought ONE youbikey only - Now What?
Переглядів 7115 місяців тому
I bought ONE youbikey only - Now What?
Intro to Semantic Kernel RC3 - AutoPluginInvoker capabilities
Переглядів 1316 місяців тому
Intro to Semantic Kernel RC3 - AutoPluginInvoker capabilities
Intro to Semantic Kernel RC3 - Create plugins in C#
Переглядів 3546 місяців тому
Intro to Semantic Kernel RC3 - Create plugins in C#
Intro to Semantic Kernel RC3 - How to use handlebar templates
Переглядів 3516 місяців тому
Intro to Semantic Kernel RC3 - How to use handlebar templates
Intro to Semantic Kernel - Call python function from C#
Переглядів 4846 місяців тому
Intro to Semantic Kernel - Call python function from C#
I bought a Yubikey now what - Using SSH keys to interact with GitHub code
Переглядів 3326 місяців тому
I bought a Yubikey now what - Using SSH keys to interact with GitHub code
Introduction to Semantic Kernel - Define skills and call Sequentially in Python
Переглядів 5486 місяців тому
Introduction to Semantic Kernel - Define skills and call Sequentially in Python
I bought a Yubikey now what - Using your key to secure your GitHub Account
Переглядів 5036 місяців тому
I bought a Yubikey now what - Using your key to secure your GitHub Account
I bough a Yubikey now What: Update your OpenSSH installation in Windows
Переглядів 1,4 тис.6 місяців тому
I bough a Yubikey now What: Update your OpenSSH installation in Windows
I bought a yubikey now what: Using with Remote Desktop Protocol
Переглядів 1,3 тис.7 місяців тому
I bought a yubikey now what: Using with Remote Desktop Protocol
Document Search: Extract keyword from user question
Переглядів 1067 місяців тому
Document Search: Extract keyword from user question

КОМЕНТАРІ

  • @iAppreciateUnow
    @iAppreciateUnow День тому

    Thank you for the information. Do we need to activate the PIV along with the PIN?

  • @bastabey2652
    @bastabey2652 2 дні тому

    excellent simplified presentation regarding embeddings.. thanks for posting

    • @codewrecks
      @codewrecks 21 годину тому

      Glad it was helpful!

  • @bastabey2652
    @bastabey2652 3 дні тому

    the built in grounding feature of Cohere Command R/R+ models is unique to Cohere.. thanks for the informative video

  • @robsonpaulo848
    @robsonpaulo848 4 дні тому

    The best. Thanks

  • @computerguy1893
    @computerguy1893 6 днів тому

    Can you do it on local windows 10, 11 machines that's only on local lan and not on azure ?

    • @codewrecks
      @codewrecks 6 днів тому

      The result is the very same, RDP works the same in both w10 and 11 regarding yubi and the location does not matter

    • @computerguy1893
      @computerguy1893 6 днів тому

      @@codewrecks Yes I guess it works on baremetal. Have you tried it on VM host like on XCP-ng where you have to passthrough the Yubikey ?

    • @codewrecks
      @codewrecks 5 днів тому

      It does not depend on virtualization system, remote desktop protocol is part of windows and does not care if the machine you are connecting to is on bare metal, hyper-v, ESxI or whathever.

  • @AlexanderMatosOlivo
    @AlexanderMatosOlivo 7 днів тому

    This procedure is no longer functional, keycloak is not stored on docker hub any more and the docker run command return an error

    • @codewrecks
      @codewrecks 7 днів тому

      The video is really old, if I had time I'll try to find another image suitable for such a scenario

  • @ivorbiggen9599
    @ivorbiggen9599 10 днів тому

    Thank you for all the yubikey video’s, very helpful, nice to hear you accent reminds me of my mamma. Regards Francò

  • @Mohit-xl5qu
    @Mohit-xl5qu 12 днів тому

    thanks a lot

  • @niklaswe2686
    @niklaswe2686 12 днів тому

    Nice Tutorial. Keep up the good work👍 could you do a Video where you are on another machine or another one’s computer and the process of using your key there? I still don‘t understand if I have to Transfer the public key manually to the machine I‘m connecting from before connecting…

    • @codewrecks
      @codewrecks 11 днів тому

      You need to copy the shim private key, but if you create a resident key, you just need your yubikey. You use the command line utility to extract the key. ua-cam.com/video/jYb7l7mbhLM/v-deo.htmlsi=CaecHRQoAMyyGFLi

  • @dracoreeper
    @dracoreeper 16 днів тому

    what about blocking it entirely for front end users and only accessing it with a vpn? been running into some issues with this.

    • @codewrecks
      @codewrecks 16 днів тому

      If you want to let your user log in only on VPN it should be possible, but never tried honestly

  • @craconia
    @craconia 20 днів тому

    Hey Gian! Your Yubikey playlist has been incredibly helpful-I've learned a lot! Thanks for creating it. Just a quick note: in the video, you mentioned the SSH Private key as a "reference," but it's actually the genuine PRIVATE KEY encrypted with the Yubikey's master key. Also, the SSH Private key isn't stored in the Yubikey; instead, the Yubikey decrypts it when you connect. I noticed this distinction after watching your follow-up videos on resident keys. Adding a note in the description could clarify this for future viewers. Thanks for your great content!

    • @codewrecks
      @codewrecks 20 днів тому

      Thanks, following official documentation (developers.yubico.com/SSH/Securing_SSH_with_FIDO2.html) the private key should be stored inside the key. … The first file, id_ecdsa_sk, contains a reference to the private key credential stored on the YubiKey. The second file ,id_ecdsa_sk.pub, contains the public key

  • @user-jq3nr1kn6h
    @user-jq3nr1kn6h 21 день тому

    Can you explain why the keys don't work well with iphones? I had an iphone se and a Yubikey with NFC, but it never worked with the phone. Now I have an iphone 15, which allows me to put the Yubkiey directly into the usb-c port, but the keys are still not working! I tried logging into my email and it said "no credentials found," but the keys work fine on my laptop.

    • @codewrecks
      @codewrecks 21 день тому

      I do not own an iPhone, so I cannot test, but it should work. On android I had problem with browser different from Chrome in the past, but with Chrome I had no problem. Which service are you trying to use the yubi with?

    • @user-jq3nr1kn6h
      @user-jq3nr1kn6h 18 днів тому

      @@codewrecks I think it's called webauthen. Not the TOTP or passkey. I still use a password and then use the key after entering the password. I know the key is properly added to my accounts because I have no problem with a laptop.

    • @codewrecks
      @codewrecks 18 днів тому

      In android I had problems using browsers different from Chrome, but on iPhone official documentation states that it should just work support.apple.com/it-it/102637 . Which service are you using? Google, Microsoft, or it does not work with any service?

  • @computerguy1893
    @computerguy1893 22 дні тому

    If you use "Aegis" available ONLY for android. You can backup all the TOTP you don't have to save the QR Code as backup

  • @computerguy1893
    @computerguy1893 22 дні тому

    Good tutorial but not working for me. When I go to my new computer and do "ssh-keygen -K" it says "Cannot download keys without provider". What am I missing ?

    • @computerguy1893
      @computerguy1893 22 дні тому

      I was using wrong version of openssh. After upgrading to latest beta it worked

    • @codewrecks
      @codewrecks 20 днів тому

      Have you upgraded to the latest ssh version?

  • @ElwoodBlues48
    @ElwoodBlues48 24 дні тому

    Is the PIN from windows or is it set on the Yubikey?

  • @sscoder170
    @sscoder170 Місяць тому

    unable to find previous video

    • @codewrecks
      @codewrecks Місяць тому

      Sorry, I've updated the description. Here is the link ua-cam.com/video/zQcBIsmwuTw/v-deo.html

  • @alexanderclara3406
    @alexanderclara3406 Місяць тому

    Thank u very much. Works great. But i have 2 questions Can i use it also in Putty? I have 3 Yubikeys. How can i configure it that my Clients (2x Laptops/1x Desktop) can use all 3 yubikeys? Maybe u can help me/us Thank u.

    • @codewrecks
      @codewrecks Місяць тому

      Actually you can use your keys on any computer you want. When you first create the SSH key you get a private key (that is only a SHIM key that points to the right physical key). You can copy that private key on any computer you want. You can also create resident key, where you can extract the SHIM key with command line tool. I do not use putty from long time but from official documentation it seems that it has no problem with your yubi: developers.yubico.com/PGP/SSH_authentication/Windows.html

  • @rhd2qYT
    @rhd2qYT Місяць тому

    Wonderful video. I just got my YubiKey and watched your other video for first time users. In this video at 1:22 the Google Prompt asks for the Security Key Password. Do I enter the FIDO Pin that I created? Thanks.

    • @codewrecks
      @codewrecks Місяць тому

      Yes when some site / software is using your YubiKey to perform authentication (not 2nd factor, but using the key as sole factor of authentication) it ask you for the pin. If you got wrong for 8 times credentials inside the key are lost forever.

  • @theycallmetoast
    @theycallmetoast Місяць тому

    I would love to know if this still works for you because as of the last month, I am not able to download any of the files, or zips that GPT creates for me. Hope it still works, thanks!

    • @codewrecks
      @codewrecks Місяць тому

      I’ve not renewed my plus in latest two months, so I didn’t try again

    • @theycallmetoast
      @theycallmetoast Місяць тому

      @@codewrecks I figured it out on my side, it was entirely my fault, though something I think many will encounter. If you have a popupblocker or AdBlock, both of those will block the download link from executing. I guess it is just the function being used by GPT triggers the plugins to false flag the file. I've reported it to the popupblocker and AdBlock devs.

  • @anmolsachan2046
    @anmolsachan2046 Місяць тому

    Error programing device- Error in configure_yubikey_challenge_response_for_user:00010009 This error is showing Please help to solve this

    • @codewrecks
      @codewrecks Місяць тому

      Which environment/OS? Honestly never saw this error before.

    • @anmolsachan2046
      @anmolsachan2046 Місяць тому

      Windows 10

    • @anmolsachan2046
      @anmolsachan2046 Місяць тому

      I want to use yubikey for login in windows but this error is showing!!

    • @codewrecks
      @codewrecks Місяць тому

      Using key to login in Windows 10 is a thing that I never got it right for a computer that is not connected to Azure Active Directory. The reason is that for a local account you can always enter with your password, and I had also problem in configuring in a couple of computer with windows hello :(. Actually I gave up trying to use it to log on my windows 10 .

  • @KodakYarr
    @KodakYarr Місяць тому

    The challenge phrase A1B2C3 is not to verify that you are really infront of the computer. It is to make sure that you are actually entering the code you think you are. For example if you have the wrong keyboard layout without realizing.

    • @codewrecks
      @codewrecks Місяць тому

      Thanks, I really got it wrong in the video.

  • @rogerchandler9737
    @rogerchandler9737 Місяць тому

    Good stuff!

  • @henriquebueno4672
    @henriquebueno4672 Місяць тому

    Hello, I Can't use that because Show a error on my Python... U know how are the Intall library I need do? to this function: semantic_kernel.skill_definition

    • @codewrecks
      @codewrecks Місяць тому

      In the repository you should find requirements.txt files that contains all the libraries that needs to be installed.

  • @danielcampos5573
    @danielcampos5573 Місяць тому

    Thanks for the content!!! Love how you explain. I have a question. What do you recommend for Spanish embedding? Thanks!

    • @codewrecks
      @codewrecks Місяць тому

      I did not tried embedding outside english and italian, so I really have no special suggestion. Actually we have embeddings specialized on english and multilingual for everythign else. I suggest starting with some industry standard (openai, cohere, etc) before trying local model. You can estabilish a baseline than you can start using some multilingual one.

  • @email4adv
    @email4adv Місяць тому

    What a nice feature Advanced Data Analysis. May I ask how did you work with API and parse the result to download ChatGPT's response as a zip file before?

    • @codewrecks
      @codewrecks Місяць тому

      Actually I had custom code and some custom prompt to force GPT to have a precise output structure. It was C# code, I asked in the prompt to include a comment with the name of the file in each snippet, then parse output to find all snippet, hope that GPT understood my instruction so I find the name of the file in the first line and so on. It was not perfect and today I really rely on Copilot directly integrated in VS code or the technique in this video if I want it to generate some longer code.

    • @email4adv
      @email4adv Місяць тому

      @@codewrecks Given that not everyone has access to Advanced Data Analysis and ChatGPT4 Plus, I would love to see some sample code on how you did it previously if you don't mind to share. May be a github page or something. If not, it's cool.

    • @codewrecks
      @codewrecks Місяць тому

      I did not used it for a long time, it is on one of my github repo, but I really need to test again to verify that it still works :).

  • @slay1_1
    @slay1_1 2 місяці тому

    Hello, I liked your yubikey video very much and I applied it, but I have a question on my mind. I put a password on the piv and fido side as you did, but when I use services such as binance on the phone, it does not ask for a password, can I put a password on this? Because I feel so insecure this way.

    • @codewrecks
      @codewrecks 2 місяці тому

      If the service does not ask for a password it means that is using the key as second factor of authentication. If the service allow you to login only with the key without requiring the PIN, the service is (in my opinion) using the key in the wrong way. You should have two option Username+password then touch the key (used as 2FA) PIN+Key (FIDO2) But touching the key without requiring keyword pin is not security HAve you tried from an incognito browser tab? (Maybe you are still logged in and the site is asking only the key as 2FA)

    • @slay1_1
      @slay1_1 2 місяці тому

      @@codewrecks Now, when I check it on the computer, it works properly, first it verifies the pin and then the yubike. But I couldn't verify from the phone (I tried with Google). When I do it from the computer for Binance, it asks for the pin and then the yubike, but only the yubikey is enough on the phone. Is this their problem, right? Also, I installed yubico authenticator instead of authenticator and put a password there. Even if the wrong password is entered repeatedly, nothing happens. Is this normal? So, after a certain number of incorrect entries, there is no reset etc.?

    • @codewrecks
      @codewrecks 2 місяці тому

      @@slay1_1 If they do not require pin on the phone is their problem (but it seems strange to me because it means that they are only using 2FA part of the key). The password on yubico authenticator is used only to protect the 2FA stored inside the key, but there is not protection against incorrect entries. since it is used only for 2FA there is no need for this kind of protection. (yubico authenticator is the equivalent of google authenticator, with the sole difference that the seeds are inside your yubikey)

    • @slay1_1
      @slay1_1 2 місяці тому

      @@codewrecks Now I added the yubikey to the tutanota (mail service) phone application and it was added as U2f but it does not ask for my password. I think it doesn't require a password for the phone. Can you check that? Can you check if any phone app requires a password? I made the settings you made, I put a password on the fido side, I put a password on the piv side, but I did not set a password or any settings on the otp side. I made a password from the Yubico authenticator application and the password there works. I think I did something wrong or Yubikey is not working properly for the phone.

    • @codewrecks
      @codewrecks 2 місяці тому

      When key is used as two factor auth, it does not require the pin. What I suppose is that the application stores your credentials and uses yubikey only as 2FA. Usually all mail app on your phone does not ask credentials every time you open the app, it just stored them securely inside the phone. When you add your yubikey you are adding only the second factor, so it is normal that the pin is not requested. you should try to uninstall completely the app, reinstall again (or install in a new phone) then verify the login procedure. No application can use a FIDO2 credential inside your yubikey without entering the pin.

  • @slay1_1
    @slay1_1 2 місяці тому

    Hello, I registered the yubikey to binance Protection, but when binance asks for the yubikey over the phone, I show it to you, but it opens directly without asking for a password. I want it to ask for both yubikey and password, can I do this? I hope it was explanatory, I wrote it with translation.

    • @codewrecks
      @codewrecks 2 місяці тому

      I do not use binance so I do not know how they are using the key. Basically if the key is used as FIDO2 SINGLE source of auth, it should ask you the pin. Combination of KEY+PIN is enough to login. What you need is configure the key only as Second factor of authentication (but since I do not know binance, I do not know if it is possible and how to do it.)

  • @PaprikaYT
    @PaprikaYT 2 місяці тому

    Sick! thank you mate

  • @James_PET
    @James_PET 2 місяці тому

    That is nicely explained. Thank you so much. A few follow-up questions: 1. if you are creating a generic chatbot that should be able to do "anything", let's say, to summarise a video, but also to write and send an email - do you create a HandleBars plan and give it to chatGPT to pick one? 2. What if you want to mix a few plans, from the example above -> Summarize this video and write and send email

    • @codewrecks
      @codewrecks 2 місяці тому

      You will create agent for tasks, then it is GPT (or the LLM you want to use) that analyze the question of the user, looks at which agent it can use, and device a plan to solve user question. This lead to: a single user question will generate a unique plan. Plan is generated by LLM looking at the question of the user and the agent it can use.

    • @James_PET
      @James_PET 2 місяці тому

      ​@@codewrecks@codewrecks Thank you. I saw this in a few videos later, but thanks for clarifying. What would be super interesting is if you could record a video on how to save plans and call them later, especially if it is possible to have LLM pickup from pre-saved plans So, in your example, you have a plan for transcribing a video, if you have a plan that drafts an email on a specific topic and sends it via a plug-in. It would be amazing to see how to offer those plans to LLM so it can pickup depending on what user asks Thanks

    • @codewrecks
      @codewrecks 2 місяці тому

      ​@@James_PET Plan are not meant to be saved, because they are based on user question. What you can do is create agents that aggregate other agents. I'll explain You have three agents: extract audio, extract text from audio, summarize timeline. Now if you ask "Can you summarize video XYZ.mp4" the agent will interrogate the LLM and based on three agents devise a plan. But you can do this: Create a fourth agent, call it "Summarize Video", and internally simply call the three previous agent (or the functions that the agents call). Now that agent is actually a plan agent that is capable of doing what you requested. I did not examined the possibility to save a plan directly, it could be interesting if a user want to save it. In this situation the scenario is User ask "Can you summarize video XYZ.mp4?" He/she got a plan in return, the plan is good and it press save. Give the plan a name and a description. Then the software should add that plan as agent to the list of available agents.

  • @Paul_0001
    @Paul_0001 2 місяці тому

    Hi, this an been a good feature to use on the PC, thanks. Would please know if its also possible to use OTP Long Touch (Slot 2) with an iPhone, I've tried to set-up but with no joy, thanks Paul

    • @codewrecks
      @codewrecks 2 місяці тому

      I do not have an iPhone so I can't be sure, sorry

  • @baby333
    @baby333 2 місяці тому

    Please keep making Yubikey videos you do them great!!

  • @byteme6346
    @byteme6346 2 місяці тому

    I bought my Yubikeys from Amazon. I received the YubiKey 5 Nano on April 1st, the YubiKey 5 Ci on Apr 3rd. Yesterday, Apr 9th, I received the following messages upon boot: [ 2.336715] usb 1-14: new full-speed USB device number 4 using xhci_hcd [ 2.464891] usb 1-14: device descriptor read/64, error -71 [ 2.700891] usb 1-14: device descriptor read/64, error -71 [ 2.936965] usb 1-14: new full-speed USB device number 5 using xhci_hcd [ 3.064997] usb 1-14: device descriptor read/64, error -71 [ 3.300994] usb 1-14: device descriptor read/64, error -71 [ 3.409086] usb usb1-port14: attempt power cycle [ 3.820721] usb 1-14: new full-speed USB device number 6 using xhci_hcd [ 3.820896] usb 1-14: Device not responding to setup address. [ 4.029156] usb 1-14: Device not responding to setup address. [ 4.236968] usb 1-14: device not accepting address 6, error -71 [ 4.364974] usb 1-14: new full-speed USB device number 7 using xhci_hcd [ 4.365182] usb 1-14: Device not responding to setup address. [ 4.573165] usb 1-14: Device not responding to setup address. [ 4.780969] usb 1-14: device not accepting address 7, error -71 [ 4.781236] usb usb1-port14: unable to enumerate USB device These are from the Nano, but I believe the 5Ci exhibited similar messages. I am using a static password in slot 2 to decrypt my root partition. Are these messages indicating a failing yubikey?

  • @jlboni69
    @jlboni69 2 місяці тому

    Can you use the same yubikey for windows and macOS?

    • @codewrecks
      @codewrecks 2 місяці тому

      Absolutely

    • @jlboni69
      @jlboni69 2 місяці тому

      Thanks for reply. Greetings from Puerto Rico!

  • @baby333
    @baby333 2 місяці тому

    You have the best Yubikey videos ever please keep making them! watching all of them one by one

  • @byteme6346
    @byteme6346 2 місяці тому

    For using Security keys on iPhone, Apple REQUIRES two physical keys. And I can't get the Nano to work, even with a USB-A to lightning adapter (I've tried two). I recently bought a Yubikey 5 Nano and a 5Ci. I can register the 5Ci as a security key with my iPhone SE2, but not the Nano. These products are too difficult. I wasted $135.

    • @codewrecks
      @codewrecks 2 місяці тому

      Apple adapters from usb-A to lightning does not transfer data so yubikey nano does not work :(. This is the problem with proprietary ports like lightning. Luckily enough we should have USB-C for all device now.

  • @byteme6346
    @byteme6346 2 місяці тому

    I recently bought a Yubikey 5 Nano and a 5Ci. I can register the 5Ci as a security key with my iPhone SE2, but not the Nano. These products are too difficult. I wasted $135.

  • @ianwanjala8621
    @ianwanjala8621 2 місяці тому

    what about those using linux systems?

    • @codewrecks
      @codewrecks 2 місяці тому

      I usually work with SSH keys so it is a whole different technique :)

    • @ianwanjala8621
      @ianwanjala8621 2 місяці тому

      @@codewrecks thanks but ai already found a way by installing GCM on my linux machine. It works the same except for the ui

  • @Thomas____
    @Thomas____ 2 місяці тому

    In a other Video u mentioned that the Yubikey FIDO2 PIN can be stored in KeePass, so in this case, i cant secure Keepass with Yubikey because to get the PIN i need the PIN, is that correct?

    • @codewrecks
      @codewrecks 2 місяці тому

      If you have only one key you are correct, if you have more than one key you can use yubikey with keepass. Using the key for keepass does not require pin, because it is just another layer of security over the standard password

  • @Wh0CaresAnyway
    @Wh0CaresAnyway 2 місяці тому

    Thank you for the tutorial! It is possible to protect two different google accounts with the same hardware key?

    • @codewrecks
      @codewrecks 2 місяці тому

      Yes, absolutely

    • @Wh0CaresAnyway
      @Wh0CaresAnyway 2 місяці тому

      Great! Thank you for taking your time to answer 👍

  • @marlonvelez5240
    @marlonvelez5240 2 місяці тому

    Can you tell me why the keycloak environment variables are created automatically but not generated for me? I also get this error, if someone knows how to fix it would be great: Exception in multi-container configuration parse: YamlException: (Line: 6, Col: 9, Idx: 89) - (Line: 6, Col: 74, Idx: 154): Bind mount must start with ${WEBAPP_STORAGE_HOME}.

    • @codewrecks
      @codewrecks 2 місяці тому

      Can you share the whole yaml configuration file?

  • @csuazob
    @csuazob 2 місяці тому

    Thanks a lot for the explanation

  • @sebastiantillmann1669
    @sebastiantillmann1669 2 місяці тому

    Great video (series). Are the gpg pins different from the pins in the first video with the yubico admin program?

    • @codewrecks
      @codewrecks 2 місяці тому

      Yes, GPG PIN is a different pin

  • @Golden2Talon
    @Golden2Talon 3 місяці тому

    you always say password manager... but if you need the pin/puk for the passwort manager, you lock yourself out

    • @codewrecks
      @codewrecks 3 місяці тому

      Password manager where you keep pin and puk must be not protected with the yubi. Also I wrote them and store in my house

    • @Golden2Talon
      @Golden2Talon 3 місяці тому

      @@codewrecks does that mean that you have two passwort managers?

    • @codewrecks
      @codewrecks 2 місяці тому

      Yes, I have a keepass archive protected with yubikey, that is the important one. Then I have bitwarden with pin/puk and some less important stuff protected with a long password and Yubikey. I have 4 yubikey configured, so I'm pretty sure I'll not be cut off.

    • @Golden2Talon
      @Golden2Talon 2 місяці тому

      @@codewrecks lol that's a bit too much for my taste

    • @codewrecks
      @codewrecks 2 місяці тому

      @@Golden2Talon Yeah you are probably right :D :D. But I have some credentials that are for customers VPN / Account where I'd like to have maximum security, and I'd like not to mix with other credentials that are everyday usage (like the shop where I buy food for pets) That allows me to choose settings for argon2 in keepass that makes the archive more secure, but virtually very difficult to open on a device :).

  • @Gengingen
    @Gengingen 3 місяці тому

    Ideally when you set passkey you should delete all other ways of login because that is a “shared-secret” security hole that you are trying to avoid using passkeys. Else what is the point of using passkeys if you are opening a weaker access method anyway? Using multiple passkeys should help.

    • @codewrecks
      @codewrecks 3 місяці тому

      That is the reason why you need at least two keys so you can remove passwords and be sure you will not be locked out

  • @alexanderthoma6311
    @alexanderthoma6311 3 місяці тому

    This video and your other ones are by far the best explanation of how to use YubiKey with SSH. Thanks a lot for your effort 🤟 Subscribed

    • @codewrecks
      @codewrecks 2 місяці тому

      Thanks a lot for your kindly words.

  • @Kenleaty
    @Kenleaty 3 місяці тому

    Is 2 keys OK, or is 3. What is best number of keys to have? Thanks.

    • @codewrecks
      @codewrecks 3 місяці тому

      IMHO: 2 is minimum number that I'd like to have. 3 is better, but you can easily live with 2.

  • @MegaDeano1963
    @MegaDeano1963 3 місяці тому

    Very informative thankyou .

  • @ErenDeniz-ld7ki
    @ErenDeniz-ld7ki 3 місяці тому

    Hi, when I add a yubikey I want the yubico admin app to ask for the password before accessing it. How can I do this like with Yubico authentication?

    • @codewrecks
      @codewrecks 3 місяці тому

      Actually the application does not have a password, this is mainly because no operation is present to extract keys or other sensitive information. All you can do is reset the key or setting the pin the first time.

  • @gsilva877
    @gsilva877 3 місяці тому

    This series is really helpful. I'm watching everything!

  • @garydunken7934
    @garydunken7934 3 місяці тому

    You entered 4 incorrect pins twice, so a total of 8 time. Not 3 incorrect pins each time.

    • @codewrecks
      @codewrecks 3 місяці тому

      My bad, it is indeed 8 tentatives, with a different warning approaching 8