diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 03feb5c..0000000 --- a/.travis.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -language: go -script: - - go test ./... - - go get git.yaegashi.fr/nishiki/gpm/cmd/gpm diff --git a/CHANGELOG.md b/CHANGELOG.md index 972b061..c1c80b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/) ## Unreleased +### Changed + +- Update libs + ### Fixed - Choice box for generate new password was ignored @@ -52,7 +56,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/) ### Changed -- Prefix error message with ERROR +- Prefix error message with ERROR - Fix new line with clear input - Replace sha1 to sha512 in pbkdf2.Key function - Replace default config directory diff --git a/README.md b/README.md index 237627b..c671055 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # gpm: Go Passwords Manager -[![Version](https://img.shields.io/badge/latest_version-2.0.0-green.svg)](https://git.yaegashi.fr/nishiki/gpm/releases) +[![Version](https://img.shields.io/badge/latest_version-2.0.0-green.svg)](https://code.waks.be/nishiki/gpm/releases) [![Build Status](https://travis-ci.org/nishiki/gpm.svg?branch=master)](https://travis-ci.org/nishiki/gpm) -[![GoReport](https://goreportcard.com/badge/git.yaegashi.fr/nishiki/gpm)](https://goreportcard.com/report/git.yaegashi.fr/nishiki/gpm) -[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://git.yaegashi.fr/nishiki/gpm/src/branch/master/LICENSE) +[![GoReport](https://goreportcard.com/badge/code.waks.be/nishiki/gpm)](https://goreportcard.com/report/code.waks.be/nishiki/gpm) +[![License](https://img.shields.io/badge/license-Apache--2.0-blue.svg)](https://code.waks.be/nishiki/gpm/src/branch/master/LICENSE) gpm is passwords manager write in go and use AES-256 to encrypt the wallets @@ -21,7 +21,7 @@ gpm is passwords manager write in go and use AES-256 to encrypt the wallets - Download and build ```text -go get git.yaegashi.fr/nishiki/gpm/cmd/gpm +go get code.waks.be/nishiki/gpm/cmd/gpm ``` ## How to use diff --git a/cmd/gpm/go.mod b/cmd/gpm/go.mod deleted file mode 100644 index 3ca7ff8..0000000 --- a/cmd/gpm/go.mod +++ /dev/null @@ -1,4 +0,0 @@ -module git.yaegashi.fr/nishiki/gpm/cmd/gpm - -require git.yaegashi.fr/nishiki/gpm/gpm v0.0.0 -replace git.yaegashi.fr/nishiki/gpm/gpm => ../../gpm diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..b388361 --- /dev/null +++ b/go.mod @@ -0,0 +1,17 @@ +module code.waks.be/nishiki/gpm + +go 1.23.1 + +require ( + github.com/atotto/clipboard v0.1.4 + github.com/gizak/termui/v3 v3.1.0 + github.com/pquerna/otp v1.4.0 + golang.org/x/crypto v0.28.0 +) + +require ( + github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc // indirect + github.com/mattn/go-runewidth v0.0.2 // indirect + github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 // indirect + github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d // indirect +) diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..df98203 --- /dev/null +++ b/go.sum @@ -0,0 +1,23 @@ +github.com/atotto/clipboard v0.1.4 h1:EH0zSVneZPSuFR11BlR9YppQTVDbh5+16AmcJi4g1z4= +github.com/atotto/clipboard v0.1.4/go.mod h1:ZY9tmq7sm5xIbd9bOK4onWV4S6X0u6GY7Vn0Yu86PYI= +github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc h1:biVzkmvwrH8WK8raXaxBx6fRVTlJILwEwQGL1I/ByEI= +github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc/go.mod h1:paBWMcWSl3LHKBqUq+rly7CNSldXjb2rDl3JlRe0mD8= +github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/gizak/termui/v3 v3.1.0 h1:ZZmVDgwHl7gR7elfKf1xc4IudXZ5qqfDh4wExk4Iajc= +github.com/gizak/termui/v3 v3.1.0/go.mod h1:bXQEBkJpzxUAKf0+xq9MSWAvWZlE7c+aidmyFlkYTrY= +github.com/mattn/go-runewidth v0.0.2 h1:UnlwIPBGaTZfPQ6T1IGzPI0EkYAQmT9fAEJ/poFC63o= +github.com/mattn/go-runewidth v0.0.2/go.mod h1:LwmH8dsx7+W8Uxz3IHJYH5QSwggIsqBzpuz5H//U1FU= +github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7 h1:DpOJ2HYzCv8LZP15IdmG+YdwD2luVPHITV96TkirNBM= +github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= +github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d h1:x3S6kxmy49zXVVyhcnrFqxvNVCBPb2KZ9hV2RBdS840= +github.com/nsf/termbox-go v0.0.0-20190121233118-02980233997d/go.mod h1:IuKpRQcYE1Tfu+oAQqaLisqDeXgjyyltCfsaoYN18NQ= +github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/pquerna/otp v1.4.0 h1:wZvl1TIVxKRThZIBiwOOHOGP/1+nZyWBil9Y2XNEDzg= +github.com/pquerna/otp v1.4.0/go.mod h1:dkJfzwRKNiegxyNb54X/3fLwhCynbMspSyWKnvi1AEg= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +golang.org/x/crypto v0.28.0 h1:GBDwsMXVQi34v5CCYUm2jkJvu4cbtru2U4TN2PSyQnw= +golang.org/x/crypto v0.28.0/go.mod h1:rmgy+3RHxRZMyY0jjAJShp2zgEdOqj2AO7U0pYmeQ7U= diff --git a/gpm/go.mod b/gpm/go.mod deleted file mode 100644 index c0ed2e2..0000000 --- a/gpm/go.mod +++ /dev/null @@ -1 +0,0 @@ -module git.yaegashi.fr/nishiki/gpm diff --git a/gpm/cli.go b/internal/gpm/cli.go similarity index 100% rename from gpm/cli.go rename to internal/gpm/cli.go diff --git a/gpm/config.go b/internal/gpm/config.go similarity index 100% rename from gpm/config.go rename to internal/gpm/config.go diff --git a/gpm/config_test.go b/internal/gpm/config_test.go similarity index 100% rename from gpm/config_test.go rename to internal/gpm/config_test.go diff --git a/gpm/crypto.go b/internal/gpm/crypto.go similarity index 100% rename from gpm/crypto.go rename to internal/gpm/crypto.go diff --git a/gpm/crypto_test.go b/internal/gpm/crypto_test.go similarity index 100% rename from gpm/crypto_test.go rename to internal/gpm/crypto_test.go diff --git a/gpm/entry.go b/internal/gpm/entry.go similarity index 100% rename from gpm/entry.go rename to internal/gpm/entry.go diff --git a/gpm/entry_test.go b/internal/gpm/entry_test.go similarity index 100% rename from gpm/entry_test.go rename to internal/gpm/entry_test.go diff --git a/gpm/wallet.go b/internal/gpm/wallet.go similarity index 100% rename from gpm/wallet.go rename to internal/gpm/wallet.go diff --git a/gpm/wallet_test.go b/internal/gpm/wallet_test.go similarity index 100% rename from gpm/wallet_test.go rename to internal/gpm/wallet_test.go diff --git a/cmd/gpm/main.go b/main.go similarity index 94% rename from cmd/gpm/main.go rename to main.go index 11d11f5..145eb34 100644 --- a/cmd/gpm/main.go +++ b/main.go @@ -15,7 +15,7 @@ package main import ( - "git.yaegashi.fr/nishiki/gpm/gpm" + "code.waks.be/nishiki/gpm/internal/gpm" ) func main() {