Skip to main content
Rollback to Revision 1
Source Link
Chris Davies
  • 128.5k
  • 16
  • 179
  • 325

I have a Raspberry PI Pico laying around and I was thinking about creating a device that, when I need to authenticate myself on Linux, I could just click a button soldered to the Pico, which would then send a message to the computer that would authenticate myself.

This device would be connected to a secure computer, so no problem.

Which part of the GNU/Linux OS stack usually handle the authentication?

I'm planning on creating The question is, how can I do it? I have no experience with Linux programming, so I don't know if there's already a service or library that:

  1. Will listen to "something" that will inform when authentication is required
  2. The service will send a message to the Raspberry Pi, which then will wait for the button press to respond with an OK
  3. If the service receive an OK before the timeout, inform this "something" that I'm authenticated, otherwise fail the authentication.

could be used for that. I know howthat YubiKey has devices with a button that works something like that, but I also read that they need internet connection to programwork, I'm just not super familiar with system programmingwhich is a no-no.

I have a Raspberry PI Pico laying around and I was thinking about creating a device that, when I need to authenticate myself on Linux, I could just click a button soldered to the Pico, which would then send a message to the computer that would authenticate myself.

This device would be connected to a secure computer, so no problem.

Which part of the GNU/Linux OS stack usually handle the authentication?

I'm planning on creating a service that:

  1. Will listen to "something" that will inform when authentication is required
  2. The service will send a message to the Raspberry Pi, which then will wait for the button press to respond with an OK
  3. If the service receive an OK before the timeout, inform this "something" that I'm authenticated, otherwise fail the authentication.

I know how to program, I'm just not super familiar with system programming.

I have a Raspberry PI Pico laying around and I was thinking about creating a device that, when I need to authenticate myself on Linux, I could just click a button soldered to the Pico, which would then send a message to the computer that would authenticate myself.

This device would be connected to a secure computer, so no problem.

The question is, how can I do it? I have no experience with Linux programming, so I don't know if there's already a service or library that could be used for that. I know that YubiKey has devices with a button that works something like that, but I also read that they need internet connection to work, which is a no-no.

Edit history is already available
Source Link
Chris Davies
  • 128.5k
  • 16
  • 179
  • 325

I have a Raspberry PI Pico laying around and I was thinking about creating a device that, when I need to authenticate myself on Linux, I could just click a button soldered to the Pico, which would then send a message to the computer that would authenticate myself.

This device would be connected to a secure computer, so no problem.

Which part of the GNU/Linux OS stack usually handle the authentication?

I'm planning on creating a service that:

  1. Will listen to "something" that will inform when authentication is required
  2. The service will send a message to the Raspberry Pi, which then will wait for the button press to respond with an OK
  3. If the service receive an OK before the timeout, inform this "something" that I'm authenticated, otherwise fail the authentication.

I know how to program, I'm just not super familiar with system programming.

Edit: Removed mention to YubiKey and made the problem description clearer.

I have a Raspberry PI Pico laying around and I was thinking about creating a device that, when I need to authenticate myself on Linux, I could just click a button soldered to the Pico, which would then send a message to the computer that would authenticate myself.

This device would be connected to a secure computer, so no problem.

Which part of the GNU/Linux OS stack usually handle the authentication?

I'm planning on creating a service that:

  1. Will listen to "something" that will inform when authentication is required
  2. The service will send a message to the Raspberry Pi, which then will wait for the button press to respond with an OK
  3. If the service receive an OK before the timeout, inform this "something" that I'm authenticated, otherwise fail the authentication.

I know how to program, I'm just not super familiar with system programming.

Edit: Removed mention to YubiKey and made the problem description clearer.

I have a Raspberry PI Pico laying around and I was thinking about creating a device that, when I need to authenticate myself on Linux, I could just click a button soldered to the Pico, which would then send a message to the computer that would authenticate myself.

This device would be connected to a secure computer, so no problem.

Which part of the GNU/Linux OS stack usually handle the authentication?

I'm planning on creating a service that:

  1. Will listen to "something" that will inform when authentication is required
  2. The service will send a message to the Raspberry Pi, which then will wait for the button press to respond with an OK
  3. If the service receive an OK before the timeout, inform this "something" that I'm authenticated, otherwise fail the authentication.

I know how to program, I'm just not super familiar with system programming.

added 294 characters in body
Source Link

I have a Raspberry PI Pico laying around and I was thinking about creating a device that, when I need to authenticate myself on Linux, I could just click a button soldered to the Pico, which would then send a message to the computer that would authenticate myself.

This device would be connected to a secure computer, so no problem.

The question is, how can I do it? I have no experience with Linux programming, so I don't know if there's alreadyWhich part of the GNU/Linux OS stack usually handle the authentication?

I'm planning on creating a service or library that could be used for that.:

  1. Will listen to "something" that will inform when authentication is required
  2. The service will send a message to the Raspberry Pi, which then will wait for the button press to respond with an OK
  3. If the service receive an OK before the timeout, inform this "something" that I'm authenticated, otherwise fail the authentication.

I know that YubiKey has devices with a button that works something like that, but I also read that they need internet connectionhow to workprogram, which is a no-noI'm just not super familiar with system programming.

Edit: Removed mention to YubiKey and made the problem description clearer.

I have a Raspberry PI Pico laying around and I was thinking about creating a device that, when I need to authenticate myself on Linux, I could just click a button soldered to the Pico, which would then send a message to the computer that would authenticate myself.

This device would be connected to a secure computer, so no problem.

The question is, how can I do it? I have no experience with Linux programming, so I don't know if there's already a service or library that could be used for that. I know that YubiKey has devices with a button that works something like that, but I also read that they need internet connection to work, which is a no-no.

I have a Raspberry PI Pico laying around and I was thinking about creating a device that, when I need to authenticate myself on Linux, I could just click a button soldered to the Pico, which would then send a message to the computer that would authenticate myself.

This device would be connected to a secure computer, so no problem.

Which part of the GNU/Linux OS stack usually handle the authentication?

I'm planning on creating a service that:

  1. Will listen to "something" that will inform when authentication is required
  2. The service will send a message to the Raspberry Pi, which then will wait for the button press to respond with an OK
  3. If the service receive an OK before the timeout, inform this "something" that I'm authenticated, otherwise fail the authentication.

I know how to program, I'm just not super familiar with system programming.

Edit: Removed mention to YubiKey and made the problem description clearer.

Source Link
Loading