Skip to content
Snippets Groups Projects
Closed Get riseup stuff out of menshen
  • View options
  • Get riseup stuff out of menshen

  • View options
  • Closed Issue created by Pea Nut

    Making menshen provider independent. Currently, the code contains some riseup stuff:

    pkg/api/providers.go
    27:var defaultVPNWebCert = "https://api.black.riseup.net/3/cert"
    29:var riseupCA = `-----BEGIN CERTIFICATE-----

    pkg/genconfig/serialize.go
    90:var riseupCA = `-----BEGIN CERTIFICATE-----

    pkg/api/genconfig.go
    60: "riseup.ovpn",

    There are still some RiseUp things in texts (like docs/help, e.g. pkg/help/ios.go).

    Proposal

    • support for command line argument + env variable: defaultVPNWebCert
    • support for command line argument + env variable: vpnCaFile (content: filename, not the ca itself)
      • comment says: TODO get the CA from the service too - how does this work?
    • riseup.ovpn => leap.ovpn

    I can fix the issue if you tell me how :)

    Linked items 0

  • Link items together to show that they're related.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first