~welt/murse

ebaa2cb408bf7f6bbb8888c496170c26784e44b3 — welt 19 days ago 56b733c
cont
1 files changed, 2 insertions(+), 2 deletions(-)

M files.go
M files.go => files.go +2 -2
@@ 16,7 16,7 @@ func init() {
	}

	if !fileExists(cd) {
		err = os.MkdirAll(filepath.Join(cd, ".murse"), 0777)
		err = os.MkdirAll(filepath.Join(cd, "murse"), 0777)
		if err != nil {
			log.Fatal(err)
		}


@@ 29,7 29,7 @@ func getKey() (*rsa.PublicKey, error) {
		return nil, err
	}

	f := filepath.Join(cd, "public.key")
	f := filepath.Join(cd, "murse", "public.key")
	if fileExists(f) {
		b, err := os.ReadFile(f)
		if err != nil {