URI: 
       tAdd license headers to the source code files. - tordam - A library for peer discovery inside the Tor network
  HTML git clone https://git.parazyd.org/tordam
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit c2eda2650c7f4656d810557b7d536968600a5956
   DIR parent 4e2daaff80aee02c9a8b02030042f661559ef010
  HTML Author: parazyd <parazyd@dyne.org>
       Date:   Tue, 20 Feb 2018 12:15:44 +0100
       
       Add license headers to the source code files.
       
       Diffstat:
         M LICENSE                             |       2 --
         M cmd/dam-client/main.go              |      21 ++++++++++++++++++++-
         M cmd/dam-dir/main.go                 |      20 +++++++++++++++++++-
         M cmd/dam-dir/main_test.go            |      20 +++++++++++++++++++-
         M pkg/damlib/config.go                |      20 ++++++++++++++++++++
         M pkg/damlib/crypto_25519.go          |      20 +++++++++++++++++++-
         M pkg/damlib/crypto_common.go         |      20 ++++++++++++++++++++
         M pkg/damlib/crypto_rsa.go            |      20 +++++++++++++++++++-
         M pkg/damlib/helpers.go               |      20 +++++++++++++++++++-
         M pkg/damlib/net.go                   |      20 +++++++++++++++++++-
         M pkg/damlib/redis.go                 |      20 ++++++++++++++++++++
         M pkg/damlib/tor.go                   |      20 +++++++++++++++++++-
         M pkg/damlib/validate.go              |      20 +++++++++++++++++++-
         M python/damauth.py                   |      19 ++++++++++++++++++-
         M python/damhs.py                     |      19 ++++++++++++++++++-
       
       15 files changed, 268 insertions(+), 13 deletions(-)
       ---
   DIR diff --git a/LICENSE b/LICENSE
       t@@ -1,5 +1,3 @@
       -Copyright (c) 2017 - Ivan J. <parazyd@dyne.org>
       -
                            GNU AFFERO GENERAL PUBLIC LICENSE
                               Version 3, 19 November 2007
        
   DIR diff --git a/cmd/dam-client/main.go b/cmd/dam-client/main.go
       t@@ -1,6 +1,24 @@
        package main
        
       -// See LICENSE file for copyright and license details.
       +/*
       + * Copyright (c) 2017-2018 Dyne.org Foundation
       + * tor-dam is written and maintained by Ivan J. <parazyd@dyne.org>
       + *
       + * This file is part of tor-dam
       + *
       + * This source code is free software: you can redistribute it and/or modify
       + * it under the terms of the GNU General Public License as published by
       + * the Free Software Foundation, either version 3 of the License, or
       + * (at your option) any later version.
       + *
       + * This software is distributed in the hope that it will be useful,
       + * but WITHOUT ANY WARRANTY; without even the implied warranty of
       + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       + * GNU General Public License for more details.
       + *
       + * You should have received a copy of the GNU General Public License
       + * along with this source code. If not, see <http://www.gnu.org/licenses/>.
       + */
        
        import (
                "bufio"
       t@@ -185,6 +203,7 @@ func main() {
                        lib.CheckError(err)
                        err = lib.SavePrivRsa(lib.PrivKeyPath, key)
                        lib.CheckError(err)
       +                // TODO: save or log hostname
                }
        
                // Start up the hidden service
   DIR diff --git a/cmd/dam-dir/main.go b/cmd/dam-dir/main.go
       t@@ -1,6 +1,24 @@
        package main
        
       -// See LICENSE file for copyright and license details.
       +/*
       + * Copyright (c) 2017-2018 Dyne.org Foundation
       + * tor-dam is written and maintained by Ivan J. <parazyd@dyne.org>
       + *
       + * This file is part of tor-dam
       + *
       + * This source code is free software: you can redistribute it and/or modify
       + * it under the terms of the GNU General Public License as published by
       + * the Free Software Foundation, either version 3 of the License, or
       + * (at your option) any later version.
       + *
       + * This software is distributed in the hope that it will be useful,
       + * but WITHOUT ANY WARRANTY; without even the implied warranty of
       + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       + * GNU General Public License for more details.
       + *
       + * You should have received a copy of the GNU General Public License
       + * along with this source code. If not, see <http://www.gnu.org/licenses/>.
       + */
        
        import (
                "encoding/json"
   DIR diff --git a/cmd/dam-dir/main_test.go b/cmd/dam-dir/main_test.go
       t@@ -1,6 +1,24 @@
        package main
        
       -// See LICENSE file for copyright and license details.
       +/*
       + * Copyright (c) 2017-2018 Dyne.org Foundation
       + * tor-dam is written and maintained by Ivan J. <parazyd@dyne.org>
       + *
       + * This file is part of tor-dam
       + *
       + * This source code is free software: you can redistribute it and/or modify
       + * it under the terms of the GNU General Public License as published by
       + * the Free Software Foundation, either version 3 of the License, or
       + * (at your option) any later version.
       + *
       + * This software is distributed in the hope that it will be useful,
       + * but WITHOUT ANY WARRANTY; without even the implied warranty of
       + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       + * GNU General Public License for more details.
       + *
       + * You should have received a copy of the GNU General Public License
       + * along with this source code. If not, see <http://www.gnu.org/licenses/>.
       + */
        
        import (
                "encoding/base64"
   DIR diff --git a/pkg/damlib/config.go b/pkg/damlib/config.go
       t@@ -1,5 +1,25 @@
        package damlib
        
       +/*
       + * Copyright (c) 2017-2018 Dyne.org Foundation
       + * tor-dam is written and maintained by Ivan J. <parazyd@dyne.org>
       + *
       + * This file is part of tor-dam
       + *
       + * This source code is free software: you can redistribute it and/or modify
       + * it under the terms of the GNU General Public License as published by
       + * the Free Software Foundation, either version 3 of the License, or
       + * (at your option) any later version.
       + *
       + * This software is distributed in the hope that it will be useful,
       + * but WITHOUT ANY WARRANTY; without even the implied warranty of
       + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       + * GNU General Public License for more details.
       + *
       + * You should have received a copy of the GNU General Public License
       + * along with this source code. If not, see <http://www.gnu.org/licenses/>.
       + */
       +
        import "os"
        
        // Cwd holds the path to the directory where we will Chdir on startup.
   DIR diff --git a/pkg/damlib/crypto_25519.go b/pkg/damlib/crypto_25519.go
       t@@ -1,6 +1,24 @@
        package damlib
        
       -// See LICENSE file for copyright and license details.
       +/*
       + * Copyright (c) 2017-2018 Dyne.org Foundation
       + * tor-dam is written and maintained by Ivan J. <parazyd@dyne.org>
       + *
       + * This file is part of tor-dam
       + *
       + * This source code is free software: you can redistribute it and/or modify
       + * it under the terms of the GNU General Public License as published by
       + * the Free Software Foundation, either version 3 of the License, or
       + * (at your option) any later version.
       + *
       + * This software is distributed in the hope that it will be useful,
       + * but WITHOUT ANY WARRANTY; without even the implied warranty of
       + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       + * GNU General Public License for more details.
       + *
       + * You should have received a copy of the GNU General Public License
       + * along with this source code. If not, see <http://www.gnu.org/licenses/>.
       + */
        
        import (
                "crypto/rand"
   DIR diff --git a/pkg/damlib/crypto_common.go b/pkg/damlib/crypto_common.go
       t@@ -1,5 +1,25 @@
        package damlib
        
       +/*
       + * Copyright (c) 2017-2018 Dyne.org Foundation
       + * tor-dam is written and maintained by Ivan J. <parazyd@dyne.org>
       + *
       + * This file is part of tor-dam
       + *
       + * This source code is free software: you can redistribute it and/or modify
       + * it under the terms of the GNU General Public License as published by
       + * the Free Software Foundation, either version 3 of the License, or
       + * (at your option) any later version.
       + *
       + * This software is distributed in the hope that it will be useful,
       + * but WITHOUT ANY WARRANTY; without even the implied warranty of
       + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       + * GNU General Public License for more details.
       + *
       + * You should have received a copy of the GNU General Public License
       + * along with this source code. If not, see <http://www.gnu.org/licenses/>.
       + */
       +
        import (
                "crypto/rand"
                "math/big"
   DIR diff --git a/pkg/damlib/crypto_rsa.go b/pkg/damlib/crypto_rsa.go
       t@@ -1,6 +1,24 @@
        package damlib
        
       -// See LICENSE file for copyright and license details.
       +/*
       + * Copyright (c) 2017-2018 Dyne.org Foundation
       + * tor-dam is written and maintained by Ivan J. <parazyd@dyne.org>
       + *
       + * This file is part of tor-dam
       + *
       + * This source code is free software: you can redistribute it and/or modify
       + * it under the terms of the GNU General Public License as published by
       + * the Free Software Foundation, either version 3 of the License, or
       + * (at your option) any later version.
       + *
       + * This software is distributed in the hope that it will be useful,
       + * but WITHOUT ANY WARRANTY; without even the implied warranty of
       + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       + * GNU General Public License for more details.
       + *
       + * You should have received a copy of the GNU General Public License
       + * along with this source code. If not, see <http://www.gnu.org/licenses/>.
       + */
        
        import (
                "crypto"
   DIR diff --git a/pkg/damlib/helpers.go b/pkg/damlib/helpers.go
       t@@ -1,6 +1,24 @@
        package damlib
        
       -// See LICENSE file for copyright and license details.
       +/*
       + * Copyright (c) 2017-2018 Dyne.org Foundation
       + * tor-dam is written and maintained by Ivan J. <parazyd@dyne.org>
       + *
       + * This file is part of tor-dam
       + *
       + * This source code is free software: you can redistribute it and/or modify
       + * it under the terms of the GNU General Public License as published by
       + * the Free Software Foundation, either version 3 of the License, or
       + * (at your option) any later version.
       + *
       + * This software is distributed in the hope that it will be useful,
       + * but WITHOUT ANY WARRANTY; without even the implied warranty of
       + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       + * GNU General Public License for more details.
       + *
       + * You should have received a copy of the GNU General Public License
       + * along with this source code. If not, see <http://www.gnu.org/licenses/>.
       + */
        
        import (
                "bytes"
   DIR diff --git a/pkg/damlib/net.go b/pkg/damlib/net.go
       t@@ -1,6 +1,24 @@
        package damlib
        
       -// See LICENSE file for copyright and license details.
       +/*
       + * Copyright (c) 2017-2018 Dyne.org Foundation
       + * tor-dam is written and maintained by Ivan J. <parazyd@dyne.org>
       + *
       + * This file is part of tor-dam
       + *
       + * This source code is free software: you can redistribute it and/or modify
       + * it under the terms of the GNU General Public License as published by
       + * the Free Software Foundation, either version 3 of the License, or
       + * (at your option) any later version.
       + *
       + * This software is distributed in the hope that it will be useful,
       + * but WITHOUT ANY WARRANTY; without even the implied warranty of
       + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       + * GNU General Public License for more details.
       + *
       + * You should have received a copy of the GNU General Public License
       + * along with this source code. If not, see <http://www.gnu.org/licenses/>.
       + */
        
        import (
                "bytes"
   DIR diff --git a/pkg/damlib/redis.go b/pkg/damlib/redis.go
       t@@ -1,5 +1,25 @@
        package damlib
        
       +/*
       + * Copyright (c) 2017-2018 Dyne.org Foundation
       + * tor-dam is written and maintained by Ivan J. <parazyd@dyne.org>
       + *
       + * This file is part of tor-dam
       + *
       + * This source code is free software: you can redistribute it and/or modify
       + * it under the terms of the GNU General Public License as published by
       + * the Free Software Foundation, either version 3 of the License, or
       + * (at your option) any later version.
       + *
       + * This software is distributed in the hope that it will be useful,
       + * but WITHOUT ANY WARRANTY; without even the implied warranty of
       + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       + * GNU General Public License for more details.
       + *
       + * You should have received a copy of the GNU General Public License
       + * along with this source code. If not, see <http://www.gnu.org/licenses/>.
       + */
       +
        import "github.com/go-redis/redis"
        
        // RedisAddress points us to our Redis instance.
   DIR diff --git a/pkg/damlib/tor.go b/pkg/damlib/tor.go
       t@@ -1,6 +1,24 @@
        package damlib
        
       -// See LICENSE file for copyright and license details.
       +/*
       + * Copyright (c) 2017-2018 Dyne.org Foundation
       + * tor-dam is written and maintained by Ivan J. <parazyd@dyne.org>
       + *
       + * This file is part of tor-dam
       + *
       + * This source code is free software: you can redistribute it and/or modify
       + * it under the terms of the GNU General Public License as published by
       + * the Free Software Foundation, either version 3 of the License, or
       + * (at your option) any later version.
       + *
       + * This software is distributed in the hope that it will be useful,
       + * but WITHOUT ANY WARRANTY; without even the implied warranty of
       + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       + * GNU General Public License for more details.
       + *
       + * You should have received a copy of the GNU General Public License
       + * along with this source code. If not, see <http://www.gnu.org/licenses/>.
       + */
        
        import (
                "bytes"
   DIR diff --git a/pkg/damlib/validate.go b/pkg/damlib/validate.go
       t@@ -1,6 +1,24 @@
        package damlib
        
       -// See LICENSE file for copyright and license details.
       +/*
       + * Copyright (c) 2017-2018 Dyne.org Foundation
       + * tor-dam is written and maintained by Ivan J. <parazyd@dyne.org>
       + *
       + * This file is part of tor-dam
       + *
       + * This source code is free software: you can redistribute it and/or modify
       + * it under the terms of the GNU General Public License as published by
       + * the Free Software Foundation, either version 3 of the License, or
       + * (at your option) any later version.
       + *
       + * This software is distributed in the hope that it will be useful,
       + * but WITHOUT ANY WARRANTY; without even the implied warranty of
       + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       + * GNU General Public License for more details.
       + *
       + * You should have received a copy of the GNU General Public License
       + * along with this source code. If not, see <http://www.gnu.org/licenses/>.
       + */
        
        import (
                "encoding/base64"
   DIR diff --git a/python/damauth.py b/python/damauth.py
       t@@ -1,5 +1,22 @@
        #!/usr/bin/env python3
       -# See LICENSE file for copyright and license details.
       +# Copyright (c) 2017-2018 Dyne.org Foundation
       +# tor-dam is writen and maintained by Ivan J. <parazyd@dyne.org>
       +#
       +# This file is part of tor-dam
       +#
       +# This source code is free software: you can redistribute it and/or modify
       +# it under the terms of the GNU General Public License as published by
       +# the Free Software Foundation, either version 3 of the License, or
       +# (at your option) any later version.
       +#
       +# This software is distributed in the hope that it will be useful,
       +# but WITHOUT ANY WARRANTY; without even the implied warranty of
       +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       +# GNU General Public License for more details.
       +#
       +# You should have received a copy of the GNU General Public License
       +# along with this source code. If not, see <http://www.gnu.org/licenses/>.
       +
        """
        Retrieves and prints a hidden service's public key to stdout.
        
   DIR diff --git a/python/damhs.py b/python/damhs.py
       t@@ -1,5 +1,22 @@
        #!/usr/bin/env python3
       -# See LICENSE file for copyright and license details.
       +# Copyright (c) 2017-2018 Dyne.org Foundation
       +# tor-dam is writen and maintained by Ivan J. <parazyd@dyne.org>
       +#
       +# This file is part of tor-dam
       +#
       +# This source code is free software: you can redistribute it and/or modify
       +# it under the terms of the GNU General Public License as published by
       +# the Free Software Foundation, either version 3 of the License, or
       +# (at your option) any later version.
       +#
       +# This software is distributed in the hope that it will be useful,
       +# but WITHOUT ANY WARRANTY; without even the implied warranty of
       +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       +# GNU General Public License for more details.
       +#
       +# You should have received a copy of the GNU General Public License
       +# along with this source code. If not, see <http://www.gnu.org/licenses/>.
       +
        """
        Controller daemon running the ephemeral hidden service.