aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOphestra Umiker <cat@ophivana.moe>2024-10-20 19:50:13 +0900
committerOphestra Umiker <cat@ophivana.moe>2024-10-20 19:50:13 +0900
commit65af1684e3f12c1920f91c96474f19dbd0b147fc (patch)
tree0e721a066726e009daa71eb2cbcf3ccf5adb546c
parentcdda33555cf5967221523b90ede1f4eda2a82ce3 (diff)
migrate to git.ophivana.moe/security/fortify
Signed-off-by: Ophestra Umiker <cat@ophivana.moe>
-rw-r--r--README.md6
-rw-r--r--config.go8
-rw-r--r--dbus/config_test.go2
-rw-r--r--dbus/dbus_test.go4
-rw-r--r--dbus/proxy.go4
-rw-r--r--dbus/run.go6
-rw-r--r--dbus/samples_test.go2
-rw-r--r--dbus/stub_test.go2
-rw-r--r--error.go4
-rw-r--r--go.mod2
-rw-r--r--helper/args_test.go2
-rw-r--r--helper/bwrap.go2
-rw-r--r--helper/bwrap_test.go4
-rw-r--r--helper/direct_test.go2
-rw-r--r--helper/helper_test.go2
-rw-r--r--helper/stub.go2
-rw-r--r--helper/stub_test.go2
-rw-r--r--internal/app/config.go6
-rw-r--r--internal/app/launch.machinectl.go2
-rw-r--r--internal/app/launch.sudo.go2
-rw-r--r--internal/app/seal.go12
-rw-r--r--internal/app/share.dbus.go6
-rw-r--r--internal/app/share.display.go6
-rw-r--r--internal/app/share.pulse.go4
-rw-r--r--internal/app/share.runtime.go4
-rw-r--r--internal/app/share.system.go4
-rw-r--r--internal/app/start.go12
-rw-r--r--internal/app/system.go10
-rw-r--r--internal/environ.go2
-rw-r--r--internal/init/main.go2
-rw-r--r--internal/shim/main.go6
-rw-r--r--internal/shim/parent.go4
-rw-r--r--internal/shim/payload.go2
-rw-r--r--internal/state/print.go4
-rw-r--r--internal/state/state.go2
-rw-r--r--internal/system/acl.go6
-rw-r--r--internal/system/acl_test.go2
-rw-r--r--internal/system/dbus.go6
-rw-r--r--internal/system/mkdir.go4
-rw-r--r--internal/system/op_test.go2
-rw-r--r--internal/system/tmpfiles.go6
-rw-r--r--internal/system/tmpfiles_test.go2
-rw-r--r--internal/system/xhost.go6
-rw-r--r--internal/verbose/print_test.go2
-rw-r--r--internal/verbose/state_test.go2
-rw-r--r--ldd/exec.go4
-rw-r--r--ldd/ldd_test.go2
-rw-r--r--main.go10
-rw-r--r--state.go4
49 files changed, 102 insertions, 102 deletions
diff --git a/README.md b/README.md
index 72a1f5c3..2ffc7e52 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 aadf87ff..228d3feb 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 63966592..63c66a56 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 8397aff4..aa43925b 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 f3474a8e..f2b0d4fb 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 a9b31e50..28f67698 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 87fe46e6..dd216aac 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 0dd80bdc..0f4781e9 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 a941ac50..922a93b9 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 e5903eef..a85947a6 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 e8383c78..0495e075 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 60a62edf..d5255564 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 8fd2d4be..7ef40286 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 d2b764c2..578bb509 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 da1dae90..bbedd1c9 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 f9ff3681..c0be010b 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 5838c108..30d05e50 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 9a6e18ea..90a99c86 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 606fd9d5..c06e8a6c 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 965af963..129ef328 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 d296aa91..d4b4efa7 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 f9efc7b5..a96b1de5 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 d6b28eae..7c50b636 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 4076c511..83c16fde 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 f7380137..1c65aa77 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 478885af..b8c5f063 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 314ade48..6d301028 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 e0c869b8..834bdc91 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 25f44964..441c74ae 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 b70aebca..d0d81054 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 811fb246..051d945d 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 59be5885..9382db22 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 45a608d0..5d9552d4 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 9859cb73..e04a690b 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 dde43f77..81df9655 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 9fc047f0..e4bc9359 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 37384e1a..fe456c70 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 21b8cef7..8fe7d510 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 33e241a0..89dcd481 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 428c7ea9..50f260ad 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 ba25e077..7b23e0e6 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 afd92c7d..dbbf6bed 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 40914756..4ed3f8bd 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 010557a5..d74b70ed 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 21a03be1..f8179eea 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 92b10549..87b60ce3 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 ec8a5d0c..088d708e 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 755853f2..da84f969 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 5454fb79..04355263 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 (