Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)T
Posts
5
Comments
34
Joined
3 yr. ago

  • Yup this fixed it -- adding GOPRIVATE=code.mydomain.com as an environment variable allowed go get and go mod tidy to work with my private repos.

    Is there a way to set this globally, or to configure Go to always treat any references to code.mydomain.com as a private URL?

  • Looking at it again, I'm guessing the part where sum.golang.org/lookup tries to query my behind-netbird server is why the lookup is failing. But is there a way to gave Go not rely on an external service like that? Or have it run the query locally instead of from the sum.golang.org server?

  • Best we can do is paid leave

  • There's also SeaweedFS that I've used as an S3 compatible fileserver

  • Golang @programming.dev

    Idiomatic Go Question

  • Well to be fair, FBI would tap whatever VPS you use to host your email server and get your info from them. Email is not secure.

  • Naw dude, the takeaway here is that you're a pendantic prick.

  • I think you need a Windows server for that.

  • The assignment requires the database contents itself to be encrypted, not just where its stored, unfortunately.

  • Programming @programming.dev

    Best Practices for Encrypted Search

  • No, it looks like someone modified one of those shitty little plastic flags you get on the 4th of July with some paper and a marker

  • This comment hertz

  • That happens on my RSS reader, I haven't looked into it too deeply but I'm assuming he's using JavaScript to populate the entries and are thus not being populated on none dowser clients

  • Oh fair good point

  • Well then you'd have to keep track of all messages recieved. An easier option might just be to sign the current system time, make sure the clocks are synchronized, and accept a +/- 1 second wiggle

  • Spotube is an android app that provides a frontend to Spotify and allows you to download songs you listen to to your device. Im guessing you could sync those files to your server and store them in a different system.

  • FreeIPA and Keycloak will give you directory management (LDAP and Kerberos), identity management, and single-sign on (OIDC and SAML) which if all your computers are running Linux as well, will give you centralized management of users.

    You can then set other FOSS business management/productivity applications like NextCloud, Oodoo, Seafile, OnlyOffice, LibreOffice, CryptPad, etc. To use Keycloak as its authentication mechanism.

    A lot of this will depend on what kind of work the business does.

    You'll also want to look into log management and SEIM for security monitoring, Wazuh, Graylog, and others. This is especially true if the business has any data compliancy responsibilities in the country this is in.

  • I think the general consensus for homelabbers is a mesh network -- Tailscale and Netbird are the two most popular options

  • That's a bingo! Yeah I decided to dip my toes into Go by writing a simple library on a topic I was learning about

  • I don't think libraries should log by default

    That's a fair point, interfaces are still a concept that boggle my mind a bit, but maybe this is the problem that will help me actually grasp them. Thanks!

  • there’s no explanation of what this is supposed to do.

    Totally right, sorry about that, I'll update the Github, but it brief this is a library that's supposed to help a developer set up a Role Based Access Control system for an API for web service. Role Based Access Control is a method of access control whereby (And this is my very beginner's understanding of it) users are assigned roles, and these roles are in turn issued different permissions based off what that role is supposed to have access to. When checking if a user is authorized access to a certain resource, the roles assigned to them are checked for the permissions needed for the resource. If they have permission then they are granted access to the resource, otherwise they are denied access.

    This library manages roles, permissions assigned to roles, and checking of permissions against roles via an http middleware.

    Then, there’s no main function. Where’s the entry point? This is a bit where I’m doubting myself now. Maybe go has changed, but when I was writing it, it requires a main function to even run.

    Well, this is supposed to be a library that's used by other people, so it has no main function itself, rather it's called by other people

  • Selfhosted @lemmy.world

    Local NetBird Network for Zero Trust network, accessible from WAN

  • Selfhosted @lemmy.world

    Proxmox running TrueNAS and NextCloud or Nextcloud on TrueNAS via Docker?