updated code to new url
This commit is contained in:
1 parent
8d26f70c3a
commit
bf7f911e79
18 files changed
+25
-25
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
||||
|
||||
|
||||
*cover.out
|
||||
/ecrypto
|
||||
/filou
|
||||
# Compiled Object files, Static and Dynamic libs (Shared Objects)
|
||||
*.o
|
||||
*.a
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"PackageVersion": "0.0.1",
|
||||
"PrereleaseInfo": "ecrypto",
|
||||
"PrereleaseInfo": "snapshot",
|
||||
"ConfigVersion": "0.9",
|
||||
"Arch": "386,amd64",
|
||||
"Os": "windows,linux,darwin",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
|
||||
# Filou
|
||||
> cryptogra **phy** | **loo** phole
|
||||
> cryptogra**phy** (no) **loo** phole
|
||||
|
||||
|
||||
Filou is in devlopment. It is not yet a super hyper cool program but
|
||||
@@ -8,8 +8,8 @@ we are going there.
|
||||
|
||||
## the name
|
||||
|
||||
*Filou* was my brother nickname. He died the 9th octobre 2014. This program is
|
||||
dedicated to his memory.
|
||||
*Filou* is my brother, Charles Philippe Amyot, child nickname. He died the 9th
|
||||
octobre 2014. This program is dedicated to his memory.
|
||||
|
||||
## Use case
|
||||
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ Note that any private key are a public key.
|
||||
|
||||
### cypher format
|
||||
|
||||
We use the `.cyp` file extension for the encrypted file. A .cyp is nothing
|
||||
We use the `.filou` file extension for the encrypted file. A .filou is nothing
|
||||
else than a zip file containing the following shit.
|
||||
|
||||
1. a `data.encrypted` containing the encrypted data
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"crypto/aes"
|
||||
"crypto/cipher"
|
||||
"crypto/rand"
|
||||
. "github.com/didiercrunch/ecrypto/helper"
|
||||
. "github.com/didiercrunch/filou/helper"
|
||||
"reflect"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"crypto/rsa"
|
||||
"crypto/sha512"
|
||||
"fmt"
|
||||
"github.com/didiercrunch/ecrypto/helper"
|
||||
"github.com/didiercrunch/filou/helper"
|
||||
"testing"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
"bytes"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/didiercrunch/ecrypto/helper"
|
||||
"github.com/didiercrunch/filou/helper"
|
||||
"io"
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
@@ -5,8 +5,8 @@ import (
|
||||
"crypto/rsa"
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"github.com/didiercrunch/ecrypto/keys"
|
||||
"github.com/didiercrunch/ecrypto/shared"
|
||||
"github.com/didiercrunch/filou/keys"
|
||||
"github.com/didiercrunch/filou/shared"
|
||||
"os"
|
||||
"path"
|
||||
)
|
||||
|
||||
@@ -2,7 +2,7 @@ package keygenerator
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"github.com/didiercrunch/ecrypto/keys"
|
||||
"github.com/didiercrunch/filou/keys"
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"path"
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/didiercrunch/ecrypto/shared"
|
||||
"github.com/didiercrunch/filou/shared"
|
||||
"math/big"
|
||||
)
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ package keys
|
||||
import (
|
||||
"crypto/rsa"
|
||||
"encoding/json"
|
||||
. "github.com/didiercrunch/ecrypto/helper"
|
||||
. "github.com/didiercrunch/filou/helper"
|
||||
"math/big"
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
@@ -3,7 +3,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/codegangsta/cli"
|
||||
"github.com/didiercrunch/ecrypto/keygenerator"
|
||||
"github.com/didiercrunch/filou/keygenerator"
|
||||
"os"
|
||||
)
|
||||
|
||||
@@ -40,7 +40,7 @@ var encryptFileCommand = cli.Command{
|
||||
|
||||
func main() {
|
||||
app := cli.NewApp()
|
||||
app.Name = "ecrypto"
|
||||
app.Name = "filou"
|
||||
app.Usage = "encrypt files"
|
||||
app.Commands = []cli.Command{
|
||||
createKeyCommand,
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"crypto/cipher"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/didiercrunch/ecrypto/helper"
|
||||
"github.com/didiercrunch/filou/helper"
|
||||
"reflect"
|
||||
"testing"
|
||||
)
|
||||
|
||||
@@ -3,7 +3,7 @@ package payload
|
||||
import (
|
||||
"crypto/cipher"
|
||||
"crypto/des"
|
||||
"github.com/didiercrunch/ecrypto/helper"
|
||||
"github.com/didiercrunch/filou/helper"
|
||||
"testing"
|
||||
)
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import (
|
||||
cryptoSHA512 "crypto/sha512"
|
||||
"encoding/hex"
|
||||
"errors"
|
||||
"github.com/didiercrunch/ecrypto/helper"
|
||||
"github.com/didiercrunch/filou/helper"
|
||||
"hash"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
|
||||
@@ -2,7 +2,7 @@ package payload
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"github.com/didiercrunch/ecrypto/helper"
|
||||
"github.com/didiercrunch/filou/helper"
|
||||
"reflect"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"bytes"
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/didiercrunch/ecrypto/helper"
|
||||
"github.com/didiercrunch/filou/helper"
|
||||
"io/ioutil"
|
||||
"reflect"
|
||||
"testing"
|
||||
|
||||
+4
-4
@@ -9,7 +9,7 @@ import (
|
||||
|
||||
const VERSION = "0.0.1"
|
||||
|
||||
var ecryptoDir string
|
||||
var filouDir string
|
||||
|
||||
func ensureEcryptoDirectoryIsOkay(dir string) error {
|
||||
stat, err := os.Stat(dir)
|
||||
@@ -28,8 +28,8 @@ func ensureEcryptoDirectoryIsOkay(dir string) error {
|
||||
}
|
||||
|
||||
func init() {
|
||||
ecryptoDir = path.Join(os.Getenv("HOME"), ".ecrypto")
|
||||
if err := ensureEcryptoDirectoryIsOkay(ecryptoDir); err != nil {
|
||||
filouDir = path.Join(os.Getenv("HOME"), ".filou")
|
||||
if err := ensureEcryptoDirectoryIsOkay(filouDir); err != nil {
|
||||
fmt.Println("cannot work with eCrypto directory", err)
|
||||
os.Exit(1)
|
||||
|
||||
@@ -37,5 +37,5 @@ func init() {
|
||||
}
|
||||
|
||||
func GetEcryptoDir() string {
|
||||
return ecryptoDir
|
||||
return filouDir
|
||||
}
|
||||
Reference in new issue
Block a user