Mike McRill

Results 27 comments of Mike McRill

These are good, though some of them are mostly in the docs these days I think. For additional topics, as someone who has spent the past year learning Mithril, I...

Temporary workaround: **jest.config.js** ``` module.exports = { moduleNameMapper: { "\\@capacitor-community/barcode-scanner": "/src/jest/noop.ts", }, } ``` **src/jest/noop.ts** ``` module.exports = ""; ```

Yea this is probably a bug to be honest. If a peer doesn't have an endpoint, it shouldn't add peers that also don't have endpoints.

I don't give my nodes blanket access, I use Vault policy templates: https://learn.hashicorp.com/tutorials/vault/policy-templating#create-templated-acl-policies. Can you use that?

I use something like this: ``` path "wireguard/groups/mygroup/{{ identity.entity.name }}" { capabilities = [ "create" ] } path "wireguard/groups/mygroup/{{ identity.entity.name }}/wg-quick" { capabilities = [ "read" ] } ```

Oh I misread your comment above, you don't want to use the wg-quick endpoint. What about having a wireguard/groups/mygroup/peers endpoint that you can read to get a list of peers...

I think it would be easier for you to get all the peers from the peer path, that way your policy is all scoped to the peer name. Why do...

Also there could be a group property for a custom wg-quick template (or properties for setting certain fields?)

I was thinking, given `peer1/2/3` in `mygroup`, you could read (or list?) `/mygroup/peer1/peers` and get an object with a property peers that is an array of peer objects containing endpoint,...