Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discuss
  3. Yubikey to secure servers.. has anyone tried it?

Yubikey to secure servers.. has anyone tried it?

Scheduled Pinned Locked Moved Discuss
34 Posts 6 Posters 6.0k Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • humptydumptyH Offline
      humptydumptyH Offline
      humptydumpty
      wrote on last edited by humptydumpty
      #1

      I've been watching videos about Yubikeys last night and came across this

      where Jay from "Learn Linux TV" adds a Yubikey to his hosted server at Linode. It got me curious as to whether this would play nice with Cloudron. Has anyone tried such a thing?

      fbartelsF 1 Reply Last reply
      0
      • humptydumptyH humptydumpty

        I've been watching videos about Yubikeys last night and came across this

        where Jay from "Learn Linux TV" adds a Yubikey to his hosted server at Linode. It got me curious as to whether this would play nice with Cloudron. Has anyone tried such a thing?

        fbartelsF Offline
        fbartelsF Offline
        fbartels
        App Dev
        wrote on last edited by
        #2

        @humptydumpty there recently was a promotion between Cloudflare and Yubikey where you could get keys for a greatly reduced price: https://www.reddit.com/r/yubikey/comments/xrcly7/cloudflare_deal_for_1011_keys/

        I ordered a bunch back then (also replace one old Yubikey that only has usb-a), but in the past it wasn't really worth it for me to use it for ssh keys. For the Cloudron dashboard you cannot use it, since that does otp codes.

        humptydumptyH jdaviescoatesJ 2 Replies Last reply
        1
        • fbartelsF fbartels

          @humptydumpty there recently was a promotion between Cloudflare and Yubikey where you could get keys for a greatly reduced price: https://www.reddit.com/r/yubikey/comments/xrcly7/cloudflare_deal_for_1011_keys/

          I ordered a bunch back then (also replace one old Yubikey that only has usb-a), but in the past it wasn't really worth it for me to use it for ssh keys. For the Cloudron dashboard you cannot use it, since that does otp codes.

          humptydumptyH Offline
          humptydumptyH Offline
          humptydumpty
          wrote on last edited by
          #3

          @fbartels Wow, that was an amazing deal! I'm thinking of using Yubikey to secure Vaultwarden which hosts the passwords and 2fa codes so that should cover all sites that don't work with Yubikey directly. I saw that Yubikeys can be used to secure Windows machines too. I might use that on my laptop in case it gets stolen but I'm looking to see if full drive encryption can be enabled or not.

          BTW, do you have the FIPS version? Is it worth it?

          fbartelsF 1 Reply Last reply
          1
          • fbartelsF fbartels

            @humptydumpty there recently was a promotion between Cloudflare and Yubikey where you could get keys for a greatly reduced price: https://www.reddit.com/r/yubikey/comments/xrcly7/cloudflare_deal_for_1011_keys/

            I ordered a bunch back then (also replace one old Yubikey that only has usb-a), but in the past it wasn't really worth it for me to use it for ssh keys. For the Cloudron dashboard you cannot use it, since that does otp codes.

            jdaviescoatesJ Offline
            jdaviescoatesJ Offline
            jdaviescoates
            wrote on last edited by
            #4

            @fbartels said in Yubikey to secure servers.. has anyone tried it?:

            a promotion between Cloudflare and Yubikey where you could get keys for a greatly reduced price: https://www.reddit.com/r/yubikey/comments/xrcly7/cloudflare_deal_for_1011_keys/

            That's an insanely good deal. I've never used Cloudflare (nor do I intend to do so) but seemingly just registering on their site was enough to click the "claim offer" button so hopefully in the next 1-3 business days I'll receive the email from Yubico...

            I use Cloudron with Gandi & Hetzner

            humptydumptyH 2 Replies Last reply
            0
            • jdaviescoatesJ jdaviescoates

              @fbartels said in Yubikey to secure servers.. has anyone tried it?:

              a promotion between Cloudflare and Yubikey where you could get keys for a greatly reduced price: https://www.reddit.com/r/yubikey/comments/xrcly7/cloudflare_deal_for_1011_keys/

              That's an insanely good deal. I've never used Cloudflare (nor do I intend to do so) but seemingly just registering on their site was enough to click the "claim offer" button so hopefully in the next 1-3 business days I'll receive the email from Yubico...

              humptydumptyH Offline
              humptydumptyH Offline
              humptydumpty
              wrote on last edited by
              #5

              @jdaviescoates Wait, you're able to still get the offer? I do have an account but don't see that button anywhere. Odd.

              1 Reply Last reply
              0
              • humptydumptyH Offline
                humptydumptyH Offline
                humptydumpty
                wrote on last edited by
                #6

                I found the original Cloudflare blog post about this collab and the direct link is:

                https://dash.cloudflare.com/?to=/:account/yubico-promotion

                Either create an account or log in and that link will take you to the button to claim the offer.

                timconsidineT 1 Reply Last reply
                2
                • humptydumptyH humptydumpty

                  @fbartels Wow, that was an amazing deal! I'm thinking of using Yubikey to secure Vaultwarden which hosts the passwords and 2fa codes so that should cover all sites that don't work with Yubikey directly. I saw that Yubikeys can be used to secure Windows machines too. I might use that on my laptop in case it gets stolen but I'm looking to see if full drive encryption can be enabled or not.

                  BTW, do you have the FIPS version? Is it worth it?

                  fbartelsF Offline
                  fbartelsF Offline
                  fbartels
                  App Dev
                  wrote on last edited by
                  #7

                  @humptydumpty said in Yubikey to secure servers.. has anyone tried it?:

                  do you have the FIPS version?

                  No, the fips version was not part of the promotion.

                  Vaultwarden would indeed work with the Yubikey. Because of some certificate issue I never got it to work with my old key. But that is sadly the downside of them. you cannot update their firmware (which to be fair would make them potentially less secure).

                  The other thing that i liked to do was to store a long passphrase on it (it acts as a keyboard when plugged). Then you can just add a custom pre or suffix and press the button and have an easy to enter secure password.

                  humptydumptyH 1 Reply Last reply
                  2
                  • jdaviescoatesJ jdaviescoates

                    @fbartels said in Yubikey to secure servers.. has anyone tried it?:

                    a promotion between Cloudflare and Yubikey where you could get keys for a greatly reduced price: https://www.reddit.com/r/yubikey/comments/xrcly7/cloudflare_deal_for_1011_keys/

                    That's an insanely good deal. I've never used Cloudflare (nor do I intend to do so) but seemingly just registering on their site was enough to click the "claim offer" button so hopefully in the next 1-3 business days I'll receive the email from Yubico...

                    humptydumptyH Offline
                    humptydumptyH Offline
                    humptydumpty
                    wrote on last edited by
                    #8

                    @jdaviescoates It seems you need to have an active zone or use zero trust.

                    Exclusive 'good for the Internet' pricing on security keys
                    
                    Cloudflare has partnered with Yubico to offer hardware authentication security keys at a promotional price to eligible Cloudflare customers. Select "Claim my offer" and Yubico will email the offer to the email address associated with your account if you are eligible. Eligible customers must have an active zone or actively use Cloudflare Zero Trust. You may not claim this offer multiple times from the same email and this offer may be restricted to one email per account. Cloudflare may modify, limit, or discontinue this promotion at any time. Offer is subject to Yubico's terms.
                    
                    Learn more about how Cloudflare Zero Trust makes it easy to activate and authenticate using your hardware security keys with any identity provider for more secure access to any self-hosted or SaaS application.
                    
                    By clicking "Claim my offer", you consent to Cloudflare sharing your email address with Yubico AB, Yubico GmbH, Yubico Inc. and Yubico Canada Inc. ("Yubico") solely for the purpose of you claiming this promotion from Yubico. Review the Yubico Privacy Notice to learn more.
                    
                    jdaviescoatesJ 1 Reply Last reply
                    1
                    • fbartelsF fbartels

                      @humptydumpty said in Yubikey to secure servers.. has anyone tried it?:

                      do you have the FIPS version?

                      No, the fips version was not part of the promotion.

                      Vaultwarden would indeed work with the Yubikey. Because of some certificate issue I never got it to work with my old key. But that is sadly the downside of them. you cannot update their firmware (which to be fair would make them potentially less secure).

                      The other thing that i liked to do was to store a long passphrase on it (it acts as a keyboard when plugged). Then you can just add a custom pre or suffix and press the button and have an easy to enter secure password.

                      humptydumptyH Offline
                      humptydumptyH Offline
                      humptydumpty
                      wrote on last edited by
                      #9

                      @fbartels I came across this Yubico page that lists which keys work with Bitwarden (includes the legacy keys) https://www.yubico.com/works-with-yubikey/catalog/bitwarden-premium/

                      BrutalBirdieB fbartelsF 2 Replies Last reply
                      2
                      • humptydumptyH humptydumpty

                        @fbartels I came across this Yubico page that lists which keys work with Bitwarden (includes the legacy keys) https://www.yubico.com/works-with-yubikey/catalog/bitwarden-premium/

                        BrutalBirdieB Online
                        BrutalBirdieB Online
                        BrutalBirdie
                        Partner
                        wrote on last edited by
                        #10

                        @humptydumpty

                        https://media.giphy.com/media/SX5y0h1Dh5BQVOBwNo/giphy.gif

                        Thanks! Will order some 😄

                        Like my work? Consider donating a drink. Cheers!

                        humptydumptyH 1 Reply Last reply
                        3
                        • humptydumptyH humptydumpty

                          @fbartels I came across this Yubico page that lists which keys work with Bitwarden (includes the legacy keys) https://www.yubico.com/works-with-yubikey/catalog/bitwarden-premium/

                          fbartelsF Offline
                          fbartelsF Offline
                          fbartels
                          App Dev
                          wrote on last edited by fbartels
                          #11

                          @humptydumpty yes, I know them. the one I previously had is 9+ years old. I don't remember the details but some certificate on my stick was expired and therefore the setup with vaultwarden never worked. I wanted to upgrade to a stick that supports fido 2.0 for quite a while and the Cloudflare promotion was too good to miss.

                          humptydumptyH 1 Reply Last reply
                          2
                          • BrutalBirdieB BrutalBirdie

                            @humptydumpty

                            https://media.giphy.com/media/SX5y0h1Dh5BQVOBwNo/giphy.gif

                            Thanks! Will order some 😄

                            humptydumptyH Offline
                            humptydumptyH Offline
                            humptydumpty
                            wrote on last edited by
                            #12

                            @BrutalBirdie Thank @fbartels . We owe him a beer now.

                            BrutalBirdieB 1 Reply Last reply
                            2
                            • fbartelsF fbartels

                              @humptydumpty yes, I know them. the one I previously had is 9+ years old. I don't remember the details but some certificate on my stick was expired and therefore the setup with vaultwarden never worked. I wanted to upgrade to a stick that supports fido 2.0 for quite a while and the Cloudflare promotion was too good to miss.

                              humptydumptyH Offline
                              humptydumptyH Offline
                              humptydumpty
                              wrote on last edited by
                              #13

                              @fbartels said in Yubikey to secure servers.. has anyone tried it?:

                              I wanted to upgrade to a stick that supports fido 2.0 for quite a while

                              I hear you. I looked into Yubikeys many times but the cost ramped up quickly since it's best if you have a backup key and with a handful of family members, the bill wasn't easy to swallow. This deal makes it possible. I wish they made a nano NFC version though. I could have it hidden inside a custom made wearable like a pendant, bracelet, or even toss it inside a watch.

                              1 Reply Last reply
                              1
                              • humptydumptyH humptydumpty

                                @jdaviescoates It seems you need to have an active zone or use zero trust.

                                Exclusive 'good for the Internet' pricing on security keys
                                
                                Cloudflare has partnered with Yubico to offer hardware authentication security keys at a promotional price to eligible Cloudflare customers. Select "Claim my offer" and Yubico will email the offer to the email address associated with your account if you are eligible. Eligible customers must have an active zone or actively use Cloudflare Zero Trust. You may not claim this offer multiple times from the same email and this offer may be restricted to one email per account. Cloudflare may modify, limit, or discontinue this promotion at any time. Offer is subject to Yubico's terms.
                                
                                Learn more about how Cloudflare Zero Trust makes it easy to activate and authenticate using your hardware security keys with any identity provider for more secure access to any self-hosted or SaaS application.
                                
                                By clicking "Claim my offer", you consent to Cloudflare sharing your email address with Yubico AB, Yubico GmbH, Yubico Inc. and Yubico Canada Inc. ("Yubico") solely for the purpose of you claiming this promotion from Yubico. Review the Yubico Privacy Notice to learn more.
                                
                                jdaviescoatesJ Offline
                                jdaviescoatesJ Offline
                                jdaviescoates
                                wrote on last edited by
                                #14

                                @humptydumpty said in Yubikey to secure servers.. has anyone tried it?:

                                @jdaviescoates It seems you need to have an active zone or use zero trust.

                                thanks for the heads up, I guess I had better set something up then... hopefully I'm not too late (probably should've read that and done it before clicking on the claim offer button!)

                                I use Cloudron with Gandi & Hetzner

                                1 Reply Last reply
                                0
                                • humptydumptyH humptydumpty

                                  I found the original Cloudflare blog post about this collab and the direct link is:

                                  https://dash.cloudflare.com/?to=/:account/yubico-promotion

                                  Either create an account or log in and that link will take you to the button to claim the offer.

                                  timconsidineT Offline
                                  timconsidineT Offline
                                  timconsidine
                                  App Dev
                                  wrote on last edited by timconsidine
                                  #15

                                  @humptydumpty do I understand correctly that in order to use Cloudflare on a domain, they have to be registrar for it, i.e. transfer the domain to them?

                                  I am my own Nominet registrar, so if the above is true, I cannot use Cloudflare on domains currently with Nominet.

                                  EDIT : should have looked a bit further.
                                  They don't support registering .UK domains so the above cannot be true.
                                  Doh !
                                  Ignore me.

                                  robiR BrutalBirdieB 2 Replies Last reply
                                  0
                                  • timconsidineT timconsidine

                                    @humptydumpty do I understand correctly that in order to use Cloudflare on a domain, they have to be registrar for it, i.e. transfer the domain to them?

                                    I am my own Nominet registrar, so if the above is true, I cannot use Cloudflare on domains currently with Nominet.

                                    EDIT : should have looked a bit further.
                                    They don't support registering .UK domains so the above cannot be true.
                                    Doh !
                                    Ignore me.

                                    robiR Offline
                                    robiR Offline
                                    robi
                                    wrote on last edited by
                                    #16

                                    @timconsidine Yes 😉

                                    They started fronting/protecting domains before they became a registrar which is very recent.

                                    Conscious tech

                                    1 Reply Last reply
                                    1
                                    • humptydumptyH humptydumpty

                                      @BrutalBirdie Thank @fbartels . We owe him a beer now.

                                      BrutalBirdieB Online
                                      BrutalBirdieB Online
                                      BrutalBirdie
                                      Partner
                                      wrote on last edited by
                                      #17

                                      @humptydumpty said in Yubikey to secure servers.. has anyone tried it?:

                                      We owe him a beer now.

                                      If the yubico e-mail ever arrives 😬 I will sponsor a beer.

                                      Like my work? Consider donating a drink. Cheers!

                                      1 Reply Last reply
                                      2
                                      • timconsidineT timconsidine

                                        @humptydumpty do I understand correctly that in order to use Cloudflare on a domain, they have to be registrar for it, i.e. transfer the domain to them?

                                        I am my own Nominet registrar, so if the above is true, I cannot use Cloudflare on domains currently with Nominet.

                                        EDIT : should have looked a bit further.
                                        They don't support registering .UK domains so the above cannot be true.
                                        Doh !
                                        Ignore me.

                                        BrutalBirdieB Online
                                        BrutalBirdieB Online
                                        BrutalBirdie
                                        Partner
                                        wrote on last edited by BrutalBirdie
                                        #18

                                        @timconsidine said in Yubikey to secure servers.. has anyone tried it?:

                                        do I understand correctly that in order to use Cloudflare on a domain, they have to be registrar for it, i.e. transfer the domain to them?

                                        No, you can also delegate single zones or the whole domain to another name server.
                                        For example I have some domains registered at autodns, which cloudron does not have an auto config for.
                                        So I can delegate either the whole domain or a zone to another name server.

                                        Example:

                                        I have my AwesomeDomain.tld and I want to have a cloudron on my.dev.AwesomeDomain.tld and want the .*.dev zone to be managed by DigitalOcean.
                                        I can set 3x NS records for dev with ns[1-3].digitalocean.com. as value.

                                        Now the zone is delegated to DigitalOcean DNS Servers and can be managed over there.

                                        Watch out tho! When configuring Cloudron you have to click Advanced settings for the DNS setup and set the Zone Name (Optional) to dev.AwesomeDomain.tld which would be by default AwesomeDomain.tld

                                        Like my work? Consider donating a drink. Cheers!

                                        timconsidineT 1 Reply Last reply
                                        3
                                        • BrutalBirdieB BrutalBirdie

                                          @timconsidine said in Yubikey to secure servers.. has anyone tried it?:

                                          do I understand correctly that in order to use Cloudflare on a domain, they have to be registrar for it, i.e. transfer the domain to them?

                                          No, you can also delegate single zones or the whole domain to another name server.
                                          For example I have some domains registered at autodns, which cloudron does not have an auto config for.
                                          So I can delegate either the whole domain or a zone to another name server.

                                          Example:

                                          I have my AwesomeDomain.tld and I want to have a cloudron on my.dev.AwesomeDomain.tld and want the .*.dev zone to be managed by DigitalOcean.
                                          I can set 3x NS records for dev with ns[1-3].digitalocean.com. as value.

                                          Now the zone is delegated to DigitalOcean DNS Servers and can be managed over there.

                                          Watch out tho! When configuring Cloudron you have to click Advanced settings for the DNS setup and set the Zone Name (Optional) to dev.AwesomeDomain.tld which would be by default AwesomeDomain.tld

                                          timconsidineT Offline
                                          timconsidineT Offline
                                          timconsidine
                                          App Dev
                                          wrote on last edited by
                                          #19

                                          @BrutalBirdie thank you !
                                          For some reason I struggle with Cloudflare.
                                          Must try harder - I'm sure it's within my grasp 🙂

                                          BrutalBirdieB humptydumptyH fbartelsF 3 Replies Last reply
                                          0
                                          • timconsidineT timconsidine

                                            @BrutalBirdie thank you !
                                            For some reason I struggle with Cloudflare.
                                            Must try harder - I'm sure it's within my grasp 🙂

                                            BrutalBirdieB Online
                                            BrutalBirdieB Online
                                            BrutalBirdie
                                            Partner
                                            wrote on last edited by
                                            #20

                                            @timconsidine if you need some help, let me know. I am happy to help.

                                            Like my work? Consider donating a drink. Cheers!

                                            1 Reply Last reply
                                            0
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes


                                              • Login

                                              • Don't have an account? Register

                                              • Login or register to search.
                                              • First post
                                                Last post
                                              0
                                              • Categories
                                              • Recent
                                              • Tags
                                              • Popular
                                              • Bookmarks
                                              • Search