From 65af1684e3f12c1920f91c96474f19dbd0b147fc Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Sun, 20 Oct 2024 19:50:13 +0900 Subject: [PATCH] migrate to git.ophivana.moe/security/fortify Signed-off-by: Ophestra Umiker --- README.md | 6 +++--- config.go | 8 ++++---- dbus/config_test.go | 2 +- dbus/dbus_test.go | 4 ++-- dbus/proxy.go | 4 ++-- dbus/run.go | 6 +++--- dbus/samples_test.go | 2 +- dbus/stub_test.go | 2 +- error.go | 4 ++-- go.mod | 2 +- helper/args_test.go | 2 +- helper/bwrap.go | 2 +- helper/bwrap_test.go | 4 ++-- helper/direct_test.go | 2 +- helper/helper_test.go | 2 +- helper/stub.go | 2 +- helper/stub_test.go | 2 +- internal/app/config.go | 6 +++--- internal/app/launch.machinectl.go | 2 +- internal/app/launch.sudo.go | 2 +- internal/app/seal.go | 12 ++++++------ internal/app/share.dbus.go | 6 +++--- internal/app/share.display.go | 6 +++--- internal/app/share.pulse.go | 4 ++-- internal/app/share.runtime.go | 4 ++-- internal/app/share.system.go | 4 ++-- internal/app/start.go | 12 ++++++------ internal/app/system.go | 10 +++++----- internal/environ.go | 2 +- internal/init/main.go | 2 +- internal/shim/main.go | 6 +++--- internal/shim/parent.go | 4 ++-- internal/shim/payload.go | 2 +- internal/state/print.go | 4 ++-- internal/state/state.go | 2 +- internal/system/acl.go | 6 +++--- internal/system/acl_test.go | 2 +- internal/system/dbus.go | 6 +++--- internal/system/mkdir.go | 4 ++-- internal/system/op_test.go | 2 +- internal/system/tmpfiles.go | 6 +++--- internal/system/tmpfiles_test.go | 2 +- internal/system/xhost.go | 6 +++--- internal/verbose/print_test.go | 2 +- internal/verbose/state_test.go | 2 +- ldd/exec.go | 4 ++-- ldd/ldd_test.go | 2 +- main.go | 10 +++++----- state.go | 4 ++-- 49 files changed, 102 insertions(+), 102 deletions(-) diff --git a/README.md b/README.md index 72a1f5c..2ffc7e5 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Fortify ======= -[![Go Reference](https://pkg.go.dev/badge/git.ophivana.moe/cat/fortify.svg)](https://pkg.go.dev/git.ophivana.moe/cat/fortify) +[![Go Reference](https://pkg.go.dev/badge/git.ophivana.moe/security/fortify.svg)](https://pkg.go.dev/git.ophivana.moe/security/fortify) Lets you run graphical applications as another user in a confined environment with a nice NixOS module to configure target users and provide launchers and desktop files for your privileged user. @@ -26,7 +26,7 @@ There are a few different things to set up for this to work: If you have a flakes-enabled nix environment, you can try out the tool by running: ```shell -nix run git+https://git.ophivana.moe/cat/fortify -- -h +nix run git+https://git.ophivana.moe/security/fortify -- -h ``` ## Module usage @@ -41,7 +41,7 @@ To use the module, import it into your configuration with nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05"; fortify = { - url = "git+https://git.ophivana.moe/cat/fortify"; + url = "git+https://git.ophivana.moe/security/fortify"; # Optional but recommended to limit the size of your system closure. inputs.nixpkgs.follows = "nixpkgs"; diff --git a/config.go b/config.go index aadf87f..228d3fe 100644 --- a/config.go +++ b/config.go @@ -6,10 +6,10 @@ import ( "fmt" "os" - "git.ophivana.moe/cat/fortify/dbus" - "git.ophivana.moe/cat/fortify/internal" - "git.ophivana.moe/cat/fortify/internal/app" - "git.ophivana.moe/cat/fortify/internal/system" + "git.ophivana.moe/security/fortify/dbus" + "git.ophivana.moe/security/fortify/internal" + "git.ophivana.moe/security/fortify/internal/app" + "git.ophivana.moe/security/fortify/internal/system" ) var ( diff --git a/dbus/config_test.go b/dbus/config_test.go index 6396659..63c66a5 100644 --- a/dbus/config_test.go +++ b/dbus/config_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - "git.ophivana.moe/cat/fortify/dbus" + "git.ophivana.moe/security/fortify/dbus" ) func TestConfig_Args(t *testing.T) { diff --git a/dbus/dbus_test.go b/dbus/dbus_test.go index 8397aff..aa43925 100644 --- a/dbus/dbus_test.go +++ b/dbus/dbus_test.go @@ -5,8 +5,8 @@ import ( "strings" "testing" - "git.ophivana.moe/cat/fortify/dbus" - "git.ophivana.moe/cat/fortify/helper" + "git.ophivana.moe/security/fortify/dbus" + "git.ophivana.moe/security/fortify/helper" ) func TestNew(t *testing.T) { diff --git a/dbus/proxy.go b/dbus/proxy.go index f3474a8..f2b0d4f 100644 --- a/dbus/proxy.go +++ b/dbus/proxy.go @@ -6,8 +6,8 @@ import ( "io" "sync" - "git.ophivana.moe/cat/fortify/helper" - "git.ophivana.moe/cat/fortify/helper/bwrap" + "git.ophivana.moe/security/fortify/helper" + "git.ophivana.moe/security/fortify/helper/bwrap" ) // ProxyName is the file name or path to the proxy program. diff --git a/dbus/run.go b/dbus/run.go index a9b31e5..28f6769 100644 --- a/dbus/run.go +++ b/dbus/run.go @@ -9,9 +9,9 @@ import ( "strconv" "strings" - "git.ophivana.moe/cat/fortify/helper" - "git.ophivana.moe/cat/fortify/helper/bwrap" - "git.ophivana.moe/cat/fortify/ldd" + "git.ophivana.moe/security/fortify/helper" + "git.ophivana.moe/security/fortify/helper/bwrap" + "git.ophivana.moe/security/fortify/ldd" ) // Start launches the D-Bus proxy and sets up the Wait method. diff --git a/dbus/samples_test.go b/dbus/samples_test.go index 87fe46e..dd216aa 100644 --- a/dbus/samples_test.go +++ b/dbus/samples_test.go @@ -3,7 +3,7 @@ package dbus_test import ( "sync" - "git.ophivana.moe/cat/fortify/dbus" + "git.ophivana.moe/security/fortify/dbus" ) var samples = []dbusTestCase{ diff --git a/dbus/stub_test.go b/dbus/stub_test.go index 0dd80bd..0f4781e 100644 --- a/dbus/stub_test.go +++ b/dbus/stub_test.go @@ -3,7 +3,7 @@ package dbus_test import ( "testing" - "git.ophivana.moe/cat/fortify/helper" + "git.ophivana.moe/security/fortify/helper" ) func TestHelperChildStub(t *testing.T) { diff --git a/error.go b/error.go index a941ac5..922a93b 100644 --- a/error.go +++ b/error.go @@ -5,8 +5,8 @@ import ( "fmt" "os" - "git.ophivana.moe/cat/fortify/internal/app" - "git.ophivana.moe/cat/fortify/internal/fmsg" + "git.ophivana.moe/security/fortify/internal/app" + "git.ophivana.moe/security/fortify/internal/fmsg" ) func logWaitError(err error) { diff --git a/go.mod b/go.mod index e5903ee..a85947a 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ -module git.ophivana.moe/cat/fortify +module git.ophivana.moe/security/fortify go 1.22 diff --git a/helper/args_test.go b/helper/args_test.go index e8383c7..0495e07 100644 --- a/helper/args_test.go +++ b/helper/args_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "git.ophivana.moe/cat/fortify/helper" + "git.ophivana.moe/security/fortify/helper" ) func Test_argsFD_String(t *testing.T) { diff --git a/helper/bwrap.go b/helper/bwrap.go index 60a62ed..d525556 100644 --- a/helper/bwrap.go +++ b/helper/bwrap.go @@ -7,7 +7,7 @@ import ( "strconv" "sync" - "git.ophivana.moe/cat/fortify/helper/bwrap" + "git.ophivana.moe/security/fortify/helper/bwrap" ) // BubblewrapName is the file name or path to bubblewrap. diff --git a/helper/bwrap_test.go b/helper/bwrap_test.go index 8fd2d4b..7ef4028 100644 --- a/helper/bwrap_test.go +++ b/helper/bwrap_test.go @@ -7,8 +7,8 @@ import ( "strings" "testing" - "git.ophivana.moe/cat/fortify/helper" - "git.ophivana.moe/cat/fortify/helper/bwrap" + "git.ophivana.moe/security/fortify/helper" + "git.ophivana.moe/security/fortify/helper/bwrap" ) func TestBwrap(t *testing.T) { diff --git a/helper/direct_test.go b/helper/direct_test.go index d2b764c..578bb50 100644 --- a/helper/direct_test.go +++ b/helper/direct_test.go @@ -5,7 +5,7 @@ import ( "os" "testing" - "git.ophivana.moe/cat/fortify/helper" + "git.ophivana.moe/security/fortify/helper" ) func TestDirect(t *testing.T) { diff --git a/helper/helper_test.go b/helper/helper_test.go index da1dae9..bbedd1c 100644 --- a/helper/helper_test.go +++ b/helper/helper_test.go @@ -6,7 +6,7 @@ import ( "testing" "time" - "git.ophivana.moe/cat/fortify/helper" + "git.ophivana.moe/security/fortify/helper" ) var ( diff --git a/helper/stub.go b/helper/stub.go index f9ff368..c0be010 100644 --- a/helper/stub.go +++ b/helper/stub.go @@ -10,7 +10,7 @@ import ( "syscall" "testing" - "git.ophivana.moe/cat/fortify/helper/bwrap" + "git.ophivana.moe/security/fortify/helper/bwrap" ) // InternalChildStub is an internal function but exported because it is cross-package; diff --git a/helper/stub_test.go b/helper/stub_test.go index 5838c10..30d05e5 100644 --- a/helper/stub_test.go +++ b/helper/stub_test.go @@ -3,7 +3,7 @@ package helper_test import ( "testing" - "git.ophivana.moe/cat/fortify/helper" + "git.ophivana.moe/security/fortify/helper" ) func TestHelperChildStub(t *testing.T) { diff --git a/internal/app/config.go b/internal/app/config.go index 9a6e18e..90a99c8 100644 --- a/internal/app/config.go +++ b/internal/app/config.go @@ -4,9 +4,9 @@ import ( "encoding/gob" "os" - "git.ophivana.moe/cat/fortify/dbus" - "git.ophivana.moe/cat/fortify/helper/bwrap" - "git.ophivana.moe/cat/fortify/internal/system" + "git.ophivana.moe/security/fortify/dbus" + "git.ophivana.moe/security/fortify/helper/bwrap" + "git.ophivana.moe/security/fortify/internal/system" ) func init() { diff --git a/internal/app/launch.machinectl.go b/internal/app/launch.machinectl.go index 606fd9d..c06e8a6 100644 --- a/internal/app/launch.machinectl.go +++ b/internal/app/launch.machinectl.go @@ -4,7 +4,7 @@ import ( "os/exec" "strings" - "git.ophivana.moe/cat/fortify/internal/verbose" + "git.ophivana.moe/security/fortify/internal/verbose" ) func (a *app) commandBuilderMachineCtl(shimEnv string) (args []string) { diff --git a/internal/app/launch.sudo.go b/internal/app/launch.sudo.go index 965af96..129ef32 100644 --- a/internal/app/launch.sudo.go +++ b/internal/app/launch.sudo.go @@ -3,7 +3,7 @@ package app import ( "os" - "git.ophivana.moe/cat/fortify/internal/verbose" + "git.ophivana.moe/security/fortify/internal/verbose" ) const ( diff --git a/internal/app/seal.go b/internal/app/seal.go index d296aa9..d4b4efa 100644 --- a/internal/app/seal.go +++ b/internal/app/seal.go @@ -8,12 +8,12 @@ import ( "path" "strconv" - "git.ophivana.moe/cat/fortify/dbus" - "git.ophivana.moe/cat/fortify/internal" - "git.ophivana.moe/cat/fortify/internal/fmsg" - "git.ophivana.moe/cat/fortify/internal/state" - "git.ophivana.moe/cat/fortify/internal/system" - "git.ophivana.moe/cat/fortify/internal/verbose" + "git.ophivana.moe/security/fortify/dbus" + "git.ophivana.moe/security/fortify/internal" + "git.ophivana.moe/security/fortify/internal/fmsg" + "git.ophivana.moe/security/fortify/internal/state" + "git.ophivana.moe/security/fortify/internal/system" + "git.ophivana.moe/security/fortify/internal/verbose" ) const ( diff --git a/internal/app/share.dbus.go b/internal/app/share.dbus.go index f9efc7b..a96b1de 100644 --- a/internal/app/share.dbus.go +++ b/internal/app/share.dbus.go @@ -3,9 +3,9 @@ package app import ( "path" - "git.ophivana.moe/cat/fortify/acl" - "git.ophivana.moe/cat/fortify/dbus" - "git.ophivana.moe/cat/fortify/internal/system" + "git.ophivana.moe/security/fortify/acl" + "git.ophivana.moe/security/fortify/dbus" + "git.ophivana.moe/security/fortify/internal/system" ) const ( diff --git a/internal/app/share.display.go b/internal/app/share.display.go index d6b28ea..7c50b63 100644 --- a/internal/app/share.display.go +++ b/internal/app/share.display.go @@ -5,9 +5,9 @@ import ( "os" "path" - "git.ophivana.moe/cat/fortify/acl" - "git.ophivana.moe/cat/fortify/internal/fmsg" - "git.ophivana.moe/cat/fortify/internal/system" + "git.ophivana.moe/security/fortify/acl" + "git.ophivana.moe/security/fortify/internal/fmsg" + "git.ophivana.moe/security/fortify/internal/system" ) const ( diff --git a/internal/app/share.pulse.go b/internal/app/share.pulse.go index 4076c51..83c16fd 100644 --- a/internal/app/share.pulse.go +++ b/internal/app/share.pulse.go @@ -7,8 +7,8 @@ import ( "os" "path" - "git.ophivana.moe/cat/fortify/internal/fmsg" - "git.ophivana.moe/cat/fortify/internal/system" + "git.ophivana.moe/security/fortify/internal/fmsg" + "git.ophivana.moe/security/fortify/internal/system" ) const ( diff --git a/internal/app/share.runtime.go b/internal/app/share.runtime.go index f738013..1c65aa7 100644 --- a/internal/app/share.runtime.go +++ b/internal/app/share.runtime.go @@ -3,8 +3,8 @@ package app import ( "path" - "git.ophivana.moe/cat/fortify/acl" - "git.ophivana.moe/cat/fortify/internal/system" + "git.ophivana.moe/security/fortify/acl" + "git.ophivana.moe/security/fortify/internal/system" ) const ( diff --git a/internal/app/share.system.go b/internal/app/share.system.go index 478885a..b8c5f06 100644 --- a/internal/app/share.system.go +++ b/internal/app/share.system.go @@ -4,8 +4,8 @@ import ( "os" "path" - "git.ophivana.moe/cat/fortify/acl" - "git.ophivana.moe/cat/fortify/internal/system" + "git.ophivana.moe/security/fortify/acl" + "git.ophivana.moe/security/fortify/internal/system" ) const ( diff --git a/internal/app/start.go b/internal/app/start.go index 314ade4..6d30102 100644 --- a/internal/app/start.go +++ b/internal/app/start.go @@ -11,12 +11,12 @@ import ( "strings" "time" - "git.ophivana.moe/cat/fortify/helper" - "git.ophivana.moe/cat/fortify/internal/fmsg" - "git.ophivana.moe/cat/fortify/internal/shim" - "git.ophivana.moe/cat/fortify/internal/state" - "git.ophivana.moe/cat/fortify/internal/system" - "git.ophivana.moe/cat/fortify/internal/verbose" + "git.ophivana.moe/security/fortify/helper" + "git.ophivana.moe/security/fortify/internal/fmsg" + "git.ophivana.moe/security/fortify/internal/shim" + "git.ophivana.moe/security/fortify/internal/state" + "git.ophivana.moe/security/fortify/internal/system" + "git.ophivana.moe/security/fortify/internal/verbose" ) // Start starts the fortified child diff --git a/internal/app/system.go b/internal/app/system.go index e0c869b..834bdc9 100644 --- a/internal/app/system.go +++ b/internal/app/system.go @@ -3,11 +3,11 @@ package app import ( "os/user" - "git.ophivana.moe/cat/fortify/dbus" - "git.ophivana.moe/cat/fortify/helper/bwrap" - "git.ophivana.moe/cat/fortify/internal" - "git.ophivana.moe/cat/fortify/internal/state" - "git.ophivana.moe/cat/fortify/internal/system" + "git.ophivana.moe/security/fortify/dbus" + "git.ophivana.moe/security/fortify/helper/bwrap" + "git.ophivana.moe/security/fortify/internal" + "git.ophivana.moe/security/fortify/internal/state" + "git.ophivana.moe/security/fortify/internal/system" ) // appSeal seals the application with child-related information diff --git a/internal/environ.go b/internal/environ.go index 25f4496..441c74a 100644 --- a/internal/environ.go +++ b/internal/environ.go @@ -7,7 +7,7 @@ import ( "strconv" "sync" - "git.ophivana.moe/cat/fortify/internal/verbose" + "git.ophivana.moe/security/fortify/internal/verbose" ) // state that remain constant for the lifetime of the process diff --git a/internal/init/main.go b/internal/init/main.go index b70aebc..d0d8105 100644 --- a/internal/init/main.go +++ b/internal/init/main.go @@ -13,7 +13,7 @@ import ( "syscall" "time" - "git.ophivana.moe/cat/fortify/internal/verbose" + "git.ophivana.moe/security/fortify/internal/verbose" ) const ( diff --git a/internal/shim/main.go b/internal/shim/main.go index 811fb24..051d945 100644 --- a/internal/shim/main.go +++ b/internal/shim/main.go @@ -11,9 +11,9 @@ import ( "strconv" "syscall" - "git.ophivana.moe/cat/fortify/helper" - init0 "git.ophivana.moe/cat/fortify/internal/init" - "git.ophivana.moe/cat/fortify/internal/verbose" + "git.ophivana.moe/security/fortify/helper" + init0 "git.ophivana.moe/security/fortify/internal/init" + "git.ophivana.moe/security/fortify/internal/verbose" ) // everything beyond this point runs as target user diff --git a/internal/shim/parent.go b/internal/shim/parent.go index 59be588..9382db2 100644 --- a/internal/shim/parent.go +++ b/internal/shim/parent.go @@ -8,8 +8,8 @@ import ( "os" "syscall" - "git.ophivana.moe/cat/fortify/acl" - "git.ophivana.moe/cat/fortify/internal/verbose" + "git.ophivana.moe/security/fortify/acl" + "git.ophivana.moe/security/fortify/internal/verbose" ) // called in the parent process diff --git a/internal/shim/payload.go b/internal/shim/payload.go index 45a608d..5d9552d 100644 --- a/internal/shim/payload.go +++ b/internal/shim/payload.go @@ -1,6 +1,6 @@ package shim -import "git.ophivana.moe/cat/fortify/helper/bwrap" +import "git.ophivana.moe/security/fortify/helper/bwrap" const EnvShim = "FORTIFY_SHIM" diff --git a/internal/state/print.go b/internal/state/print.go index 9859cb7..e04a690 100644 --- a/internal/state/print.go +++ b/internal/state/print.go @@ -10,8 +10,8 @@ import ( "text/tabwriter" "time" - "git.ophivana.moe/cat/fortify/internal/system" - "git.ophivana.moe/cat/fortify/internal/verbose" + "git.ophivana.moe/security/fortify/internal/system" + "git.ophivana.moe/security/fortify/internal/verbose" ) // MustPrintLauncherStateSimpleGlobal prints active launcher states of all simple stores diff --git a/internal/state/state.go b/internal/state/state.go index dde43f7..81df965 100644 --- a/internal/state/state.go +++ b/internal/state/state.go @@ -3,7 +3,7 @@ package state import ( "time" - "git.ophivana.moe/cat/fortify/internal/system" + "git.ophivana.moe/security/fortify/internal/system" ) type Store interface { diff --git a/internal/system/acl.go b/internal/system/acl.go index 9fc047f..e4bc935 100644 --- a/internal/system/acl.go +++ b/internal/system/acl.go @@ -4,9 +4,9 @@ import ( "fmt" "slices" - "git.ophivana.moe/cat/fortify/acl" - "git.ophivana.moe/cat/fortify/internal/fmsg" - "git.ophivana.moe/cat/fortify/internal/verbose" + "git.ophivana.moe/security/fortify/acl" + "git.ophivana.moe/security/fortify/internal/fmsg" + "git.ophivana.moe/security/fortify/internal/verbose" ) // UpdatePerm appends an ephemeral acl update Op. diff --git a/internal/system/acl_test.go b/internal/system/acl_test.go index 37384e1..fe456c7 100644 --- a/internal/system/acl_test.go +++ b/internal/system/acl_test.go @@ -3,7 +3,7 @@ package system import ( "testing" - "git.ophivana.moe/cat/fortify/acl" + "git.ophivana.moe/security/fortify/acl" ) func TestUpdatePerm(t *testing.T) { diff --git a/internal/system/dbus.go b/internal/system/dbus.go index 21b8cef..8fe7d51 100644 --- a/internal/system/dbus.go +++ b/internal/system/dbus.go @@ -5,9 +5,9 @@ import ( "fmt" "os" - "git.ophivana.moe/cat/fortify/dbus" - "git.ophivana.moe/cat/fortify/internal/fmsg" - "git.ophivana.moe/cat/fortify/internal/verbose" + "git.ophivana.moe/security/fortify/dbus" + "git.ophivana.moe/security/fortify/internal/fmsg" + "git.ophivana.moe/security/fortify/internal/verbose" ) var ( diff --git a/internal/system/mkdir.go b/internal/system/mkdir.go index 33e241a..89dcd48 100644 --- a/internal/system/mkdir.go +++ b/internal/system/mkdir.go @@ -5,8 +5,8 @@ import ( "fmt" "os" - "git.ophivana.moe/cat/fortify/internal/fmsg" - "git.ophivana.moe/cat/fortify/internal/verbose" + "git.ophivana.moe/security/fortify/internal/fmsg" + "git.ophivana.moe/security/fortify/internal/verbose" ) // Ensure the existence and mode of a directory. diff --git a/internal/system/op_test.go b/internal/system/op_test.go index 428c7ea..50f260a 100644 --- a/internal/system/op_test.go +++ b/internal/system/op_test.go @@ -4,7 +4,7 @@ import ( "strconv" "testing" - "git.ophivana.moe/cat/fortify/internal/system" + "git.ophivana.moe/security/fortify/internal/system" ) func TestNew(t *testing.T) { diff --git a/internal/system/tmpfiles.go b/internal/system/tmpfiles.go index ba25e07..7b23e0e 100644 --- a/internal/system/tmpfiles.go +++ b/internal/system/tmpfiles.go @@ -7,9 +7,9 @@ import ( "os" "strconv" - "git.ophivana.moe/cat/fortify/acl" - "git.ophivana.moe/cat/fortify/internal/fmsg" - "git.ophivana.moe/cat/fortify/internal/verbose" + "git.ophivana.moe/security/fortify/acl" + "git.ophivana.moe/security/fortify/internal/fmsg" + "git.ophivana.moe/security/fortify/internal/verbose" ) // CopyFile registers an Op that copies path dst from src. diff --git a/internal/system/tmpfiles_test.go b/internal/system/tmpfiles_test.go index afd92c7..dbbf6be 100644 --- a/internal/system/tmpfiles_test.go +++ b/internal/system/tmpfiles_test.go @@ -4,7 +4,7 @@ import ( "strconv" "testing" - "git.ophivana.moe/cat/fortify/acl" + "git.ophivana.moe/security/fortify/acl" ) func TestCopyFile(t *testing.T) { diff --git a/internal/system/xhost.go b/internal/system/xhost.go index 4091475..4ed3f8b 100644 --- a/internal/system/xhost.go +++ b/internal/system/xhost.go @@ -3,9 +3,9 @@ package system import ( "fmt" - "git.ophivana.moe/cat/fortify/internal/fmsg" - "git.ophivana.moe/cat/fortify/internal/verbose" - "git.ophivana.moe/cat/fortify/xcb" + "git.ophivana.moe/security/fortify/internal/fmsg" + "git.ophivana.moe/security/fortify/internal/verbose" + "git.ophivana.moe/security/fortify/xcb" ) // ChangeHosts appends an X11 ChangeHosts command Op. diff --git a/internal/verbose/print_test.go b/internal/verbose/print_test.go index 010557a..d74b70e 100644 --- a/internal/verbose/print_test.go +++ b/internal/verbose/print_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "git.ophivana.moe/cat/fortify/internal/verbose" + "git.ophivana.moe/security/fortify/internal/verbose" ) const ( diff --git a/internal/verbose/state_test.go b/internal/verbose/state_test.go index 21a03be..f8179ee 100644 --- a/internal/verbose/state_test.go +++ b/internal/verbose/state_test.go @@ -3,7 +3,7 @@ package verbose_test import ( "testing" - "git.ophivana.moe/cat/fortify/internal/verbose" + "git.ophivana.moe/security/fortify/internal/verbose" ) func TestGetSet(t *testing.T) { diff --git a/ldd/exec.go b/ldd/exec.go index 92b1054..87b60ce 100644 --- a/ldd/exec.go +++ b/ldd/exec.go @@ -6,8 +6,8 @@ import ( "os/exec" "strings" - "git.ophivana.moe/cat/fortify/helper" - "git.ophivana.moe/cat/fortify/helper/bwrap" + "git.ophivana.moe/security/fortify/helper" + "git.ophivana.moe/security/fortify/helper/bwrap" ) func Exec(p string) ([]*Entry, error) { diff --git a/ldd/ldd_test.go b/ldd/ldd_test.go index ec8a5d0..088d708 100644 --- a/ldd/ldd_test.go +++ b/ldd/ldd_test.go @@ -6,7 +6,7 @@ import ( "strings" "testing" - "git.ophivana.moe/cat/fortify/ldd" + "git.ophivana.moe/security/fortify/ldd" ) func TestParseError(t *testing.T) { diff --git a/main.go b/main.go index 755853f..da84f96 100644 --- a/main.go +++ b/main.go @@ -6,11 +6,11 @@ import ( "os" "syscall" - "git.ophivana.moe/cat/fortify/internal" - "git.ophivana.moe/cat/fortify/internal/app" - init0 "git.ophivana.moe/cat/fortify/internal/init" - "git.ophivana.moe/cat/fortify/internal/shim" - "git.ophivana.moe/cat/fortify/internal/verbose" + "git.ophivana.moe/security/fortify/internal" + "git.ophivana.moe/security/fortify/internal/app" + init0 "git.ophivana.moe/security/fortify/internal/init" + "git.ophivana.moe/security/fortify/internal/shim" + "git.ophivana.moe/security/fortify/internal/verbose" ) var ( diff --git a/state.go b/state.go index 5454fb7..0435526 100644 --- a/state.go +++ b/state.go @@ -6,8 +6,8 @@ import ( "os" "text/tabwriter" - "git.ophivana.moe/cat/fortify/internal" - "git.ophivana.moe/cat/fortify/internal/state" + "git.ophivana.moe/security/fortify/internal" + "git.ophivana.moe/security/fortify/internal/state" ) var (