Skip to content

Commit

Permalink
Module changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rkbalgi committed Apr 22, 2020
1 parent 462cc97 commit 431d6bc
Show file tree
Hide file tree
Showing 26 changed files with 32 additions and 39 deletions.
2 changes: 1 addition & 1 deletion cmd/echoserver/echo_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package main

import (
"fmt"
mynet "libiso/net"
mynet "github.com/rkbalgi/libiso/net"
"log"
"net"
//"testing"
Expand Down
6 changes: 3 additions & 3 deletions cmd/iso_host/iso_host.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"encoding/hex"
"flag"
"fmt"
"libiso/iso8583"
"libiso/iso_host"
bnet "libiso/net"
"github.com/rkbalgi/libiso/iso8583"
"github.com/rkbalgi/libiso/iso_host"
bnet "github.com/rkbalgi/libiso/net"
"log"
"net"
"os"
Expand Down
2 changes: 1 addition & 1 deletion cmd/netcat/netcat.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
mynet "libiso/net"
mynet "github.com/rkbalgi/libiso/net"
"log"
)
import (
Expand Down
4 changes: 2 additions & 2 deletions cmd/scratchpad/scratchpad.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
package main

//import hexutils "github.com/rkbalgi/utils"
import "libiso/crypto"
import "github.com/rkbalgi/libiso/crypto"
import (
"bytes"
"encoding/hex"
"fmt"
"libiso/utils"
"github.com/rkbalgi/libiso/utils"
"reflect"
"sync"
//"os"
Expand Down
4 changes: 2 additions & 2 deletions cmd/thales_hsm/thales_hsm.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package main

import (
_ "libiso/hsm"
"libiso/hsm/console"
_ "github.com/rkbalgi/libiso/hsm"
"github.com/rkbalgi/libiso/hsm/console"
"sync"
)

Expand Down
2 changes: 1 addition & 1 deletion cmd/thales_hsm_client/thales_hsm_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package main
import (
"encoding/hex"
"fmt"
"libiso/net"
"github.com/rkbalgi/libiso/net"
"os"
"time"
)
Expand Down
2 changes: 1 addition & 1 deletion crypto/mac/x99_mac.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package mac

import (
"encoding/hex"
"libiso/crypto"
"github.com/rkbalgi/libiso/crypto"
)

//generate a X9.9 MAC using a single length key
Expand Down
2 changes: 1 addition & 1 deletion crypto/mac/x9x_mac_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package mac

import (
"bytes"
"libiso/utils"
"github.com/rkbalgi/libiso/utils"
"testing"
)

Expand Down
10 changes: 2 additions & 8 deletions crypto/pin/crypto_pin.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,9 @@ package pin

import (
"bytes"
"encoding/hex"
_ "fmt"
_ "log"
_ "strconv"
_ "strings"
//"math"
"crypto/rand"
_crypt "libiso/crypto"
//"github.com/rkbalgi/crypto/pin"
"encoding/hex"
_crypt "github.com/rkbalgi/libiso/crypto"
)

type PinBlocker interface {
Expand Down
2 changes: 1 addition & 1 deletion hsm/console/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package console
import (
"bufio"
"fmt"
"libiso/hsm"
"github.com/rkbalgi/libiso/hsm"
//"io"
_ "flag"
"os"
Expand Down
3 changes: 1 addition & 2 deletions hsm/hsm.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ import (
//"bytes"
"encoding/binary"
"encoding/hex"
_net "github.com/rkbalgi/libiso/net"
"io"
_net "libiso/net"
"log"
"os"
_ "strconv"
"strings"
"time"
)
Expand Down
2 changes: 1 addition & 1 deletion hsm/hsm_key_functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ package hsm

import (
"encoding/hex"
"github.com/rkbalgi/libiso/crypto"
"golang.org/x/xerrors"
"libiso/crypto"
"strconv"
)

Expand Down
2 changes: 1 addition & 1 deletion hsm/hsm_key_functions_x917.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package hsm

import (
"libiso/crypto"
"github.com/rkbalgi/libiso/crypto"
)

//encrypt a key under the kek using x917
Expand Down
4 changes: 2 additions & 2 deletions hsm/thales_a0_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package hsm
import (
"bytes"
"encoding/hex"
"libiso/crypto"
"libiso/hsm/keys"
"github.com/rkbalgi/libiso/crypto"
"github.com/rkbalgi/libiso/hsm/keys"
)

type thalesA0Req struct {
Expand Down
2 changes: 1 addition & 1 deletion hsm/thales_cc_command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package hsm
import (
"encoding/hex"
"fmt"
"libiso/net"
"github.com/rkbalgi/libiso/net"
"strings"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion hsm/thales_ms_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package hsm
import (
"bytes"
"encoding/hex"
"libiso/crypto/mac"
"github.com/rkbalgi/libiso/crypto/mac"
"log"
//_ "github.com/rkbalgi/hsm"
)
Expand Down
2 changes: 1 addition & 1 deletion hsm/thales_ms_command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
//"bytes"
"encoding/hex"
"fmt"
"libiso/net"
"github.com/rkbalgi/libiso/net"
"strings"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion hsm/thales_nc_command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package hsm
import (
"encoding/hex"
"fmt"
"libiso/net"
"github.com/rkbalgi/libiso/net"
"strings"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion hsm/thales_pin_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package hsm

import (
"fmt"
"libiso/crypto/pin"
"github.com/rkbalgi/libiso/crypto/pin"
"log"
)

Expand Down
2 changes: 1 addition & 1 deletion iso8583/iso8583_field_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package iso8583
import (
"encoding/hex"
_ "fmt"
"libiso/encoding/ebcdic"
"github.com/rkbalgi/libiso/encoding/ebcdic"
"log"
)

Expand Down
2 changes: 1 addition & 1 deletion iso8583/iso8583_variable_field.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
_ "encoding/binary"
"encoding/hex"
"fmt"
"libiso/encoding/ebcdic"
"github.com/rkbalgi/libiso/encoding/ebcdic"
"strconv"
)

Expand Down
2 changes: 1 addition & 1 deletion iso8583/services/iso8583_json_services.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package services

import (
"encoding/json"
"libiso/iso8583"
"github.com/rkbalgi/libiso/iso8583"
"log"
)

Expand Down
2 changes: 1 addition & 1 deletion iso_host/iso8583_auth_req_handler.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package iso_host

import (
"libiso/iso8583"
"github.com/rkbalgi/libiso/iso8583"
"strconv"
"time"
)
Expand Down
2 changes: 1 addition & 1 deletion iso_host/iso8583_network_req_handler.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package iso_host

import "libiso/iso8583"
import "github.com/rkbalgi/libiso/iso8583"

func handleNetworkReq(isoResp *iso8583.Iso8583Message) {

Expand Down
2 changes: 1 addition & 1 deletion iso_host/iso8583_reversal_req_handler.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package iso_host

import "libiso/iso8583"
import "github.com/rkbalgi/libiso/iso8583"

func handleReversalReq(isoResp *iso8583.Iso8583Message) {

Expand Down
2 changes: 1 addition & 1 deletion iso_host/iso_host_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package iso_host
import (
"bytes"
"errors"
. "libiso/iso8583"
. "github.com/rkbalgi/libiso/iso8583"
"log"
"os"
)
Expand Down

0 comments on commit 431d6bc

Please sign in to comment.