Commit Graph

63 Commits

Author SHA1 Message Date
44f60646f2 Create tempdir using mktemp. Set a trap to remove the tempdir when the script ends 2011-12-22 15:18:51 +00:00
0521382696 The main change is with trying to get the update URLs from the source itself 2011-12-22 01:52:53 +00:00
d542ddff2c My wrapper script for net.i2p.crypto.TrustedUpdate 2011-12-22 01:34:43 +00:00
546726ff75 Add -l to the grep parameter to print the file names. Remove the /dev/null. Remove the dependency on bash 2011-12-22 00:45:50 +00:00
zzz
5b1d1da03f vm comm system 2011-12-18 13:05:20 +00:00
zzz
f39e390e7d merge of '35a09391071041482ee5d90510ece49de1c3dffb'
and '5a7a5a6ee7af3f1f0055cb370071f5537a3b850d'
2011-12-18 13:02:38 +00:00
11288c7d60 no longer using \t or \n, so switch to normal 'echo' 2011-12-18 02:04:26 +00:00
bdc727e979 a simple script to count monotone commits 2011-12-18 01:50:22 +00:00
548926a557 This is the script I use to update from monotone. Should be convenient, automated, sane defaults etc. basically everything monotone is not. Edit src/.../Main.java to sync with custom modules. 2011-12-15 05:07:48 +00:00
60e4bed08a merge of '7e4212946d82cf76e210ef6439c6d29e29b5fa5f'
and 'bb537cf59426c106c115492088f58de6a06847df'
2011-12-15 04:58:14 +00:00
dce02de625 Tiny wrapper script to convert b32s to b64s using BOB and netcat 2011-12-15 00:21:28 +00:00
f8665aa17e switch from let to using expr
expr will work in all shells, let is just usable in bash, ksh, and zsh IIRC
2011-12-14 23:52:32 +00:00
b986b08c6c Now blockSign and blockVerify actually work and it can import private keys from i2p.dir.config or wherever.
Also includes the key hash now, so don't need to specify the key when verify or decrypt.
2011-12-11 08:28:26 +00:00
c316ff2fee Got the KeyServer working! KeyFinder's HTTP PUT
works perfectly right with the KeyServer servlet.
2011-12-09 00:40:03 +00:00
67da78e5d1 Did grouped-signing/verification and factored out the interfaces and... still not sure what to do with the mess that is PrivateKey -> PrivateKeyFile -> i2p.keytools.PrivateKey. 2011-12-05 03:13:12 +00:00
570f4945b1 check if $LOCKDIR can be removed; exit if not 2011-12-02 01:29:15 +00:00
bf75c55224 Removing unused variables (that I used in another script and meant to exclude
from this).)
2011-11-30 20:25:31 +00:00
aed911cc6c merge of '7d7b1e2a196cf0de60113520e2102e08d75798a8'
and 'd31ec574b7f04e4124b9b087e95cd68eaf6b6d6f'
2011-11-30 20:00:22 +00:00
4be175e19e Add locking and make bourne shell compatible 2011-11-30 18:56:10 +00:00
zzz
7e8adec349 possibly useful stuff 2011-11-29 13:24:48 +00:00
d8e5f55059 A little tool to manipulate i2p keys on the command line. Signing and encryption both work great. I had to hack a little data format for making sure the tail end was % 0x10 without random stuff on the end, but nothing too complicated. This is exactly the same stuff that i2ptunnel uses for dests and such, but you could use it for signing or encrypting arbitrary data, more gpg style. Could be useful? 2011-09-19 06:37:04 +00:00
zzz
40eb86c0a2 diffstat script 2011-09-16 17:50:13 +00:00
zzz
7ff20b476a git export script 2011-09-16 13:34:18 +00:00
5c104a28f5 merge of '5f5b72747d2227ba27674ff153ca21dc27cc4b7a'
and 'c720142c98fadebb216d6fae2972bf463cb59ac1'
2011-09-12 01:37:50 +00:00
1a49c4af0e Fixing Shortcut to parse URLs correctly when adding an address helper. Also a quick example of how to use rsync over i2p. 2011-09-10 02:18:23 +00:00
zzz
b089202d1f redirect if missing path 2011-09-04 18:18:05 +00:00
6f5c6e1d32 Add tino scripts. See http://zzz.i2p/topics/960 for details. 2011-08-16 19:49:13 +00:00
031446bfe6 Updated `shortcut' to work with the new (0.8.7) built-in i2paddresshelper addressbook eepproxy interaction thing. 2011-07-20 06:49:15 +00:00
8da5359c97 Shortcut fixes
guest123_ on i2p suggested some fixes to the applet
2011-05-23 05:26:21 +00:00
8dff45929e Spiffed up the Shortcut servlet a bit, and started on some work to make the AddressPublisher have some web configuration, subscriptions and such. Not sure what to do about how the configuration servlet needs to be in the router webapps whereas the actual hosts publishing servlet has to be in the eepsite webapps directory. Just making two .war files, for now. 2011-03-02 05:56:30 +00:00
zzz
9b8866efab - New updatechecker.sh
- Fix up updateheads.sh and reviewfromrelease.sh
2011-02-05 14:53:30 +00:00
8f796922a4 Some secret netbeans jars that mess around with swing. Project now actually compiles with ant. 2011-01-26 20:38:51 +00:00
1265feb92d Refactored XPISigner somewhat, and got it to produce a validly signed
XPI2P file. Tested it with my own key, works great. TrustedUpdate: VALID
(Note: this won't work unless you figure out how to put my key in the 
trusted list)
2011-01-22 05:42:52 +00:00
776eb36402 Made a program to sign and create xpi2p files. Also some fiddling with shortcut.war and how it handles base32 host names. Made a thing in login_example to link back to your own eepsite if you use http_bidir as an eepproxy. 2011-01-21 06:58:08 +00:00
zzz
b504f23d03 improve review scripts 2010-11-28 13:32:01 +00:00
dc5c90b779 Remove obsolete text 2010-11-07 18:47:17 +00:00
a4d8ef88e3 Add 64to32.py 2010-10-26 23:36:28 +00:00
7388816c9d merge of 'a9034936dce030ffc3170a297096728a52b47f58'
and 'd51bfc023623fefa0102ddc490fd0813a1bee89f'
2010-10-26 23:31:47 +00:00
e4e8aef993 Had a reason to clone a GIT repository using git:// so made a script
that installs a script and sets up GIT to use that script for proxying
through an i2p SOCKS client proxy. Tested it, and works great.
2010-10-26 19:55:02 +00:00
3cab1e08ce Eh, polling hosts.txt once an hour makes more sense than polling once a day. 2010-10-26 08:12:50 +00:00
70377de19f Debugged to working order. Also forgot to add web.xml. At this point the webapp works for me. Subscribe to http://33pz6wn6qqntoxs4hfrhjiinihmse6w2uhdwcrwjqwma7icz5qaa.b32.i2p/addresspublisher/ in your susidns to benefit from the fruits of my labor! 2010-10-26 07:56:31 +00:00
dd936a9377 Made a new webapp. :p
Had this in mind for a while. Basically it regularly polls to see if the 
master addressbook susidns spits out got any bigger, then sucks the 
new addresses into my very own awful database implementation that should be 
neodatis if I could be assed to figure out how to do that. Anyone visiting
the servlet page will be pleased to find (hopefully) that it keeps track
of when what hosts were added, and only sends you the hosts you haven't yet
gotten.
2010-10-26 04:34:31 +00:00
5c78eb3a3d Going back to the old enableAliases because making it more complicated
did not fix the problem. :( Also avoiding literally building the directory
named "${build.dir}"
2010-09-22 02:21:36 +00:00
8ce66e5cdd enableAliases wasn't working, so I tried having it repeatedly call. Still
doesn't work though because jetty doesn't even instantiate the servlet until
you go to the URL. Hm...
2010-09-19 04:08:45 +00:00
2ba43ee2ab Initial import. Everything should be working here. I don't really see this
being developed much further without some kind of actual direct application
for having logins, but it's also an example servlet and...stuff. So enjoy
the source!
2010-09-18 02:04:44 +00:00
d27c971204 Make b32 <--> b64 conversion scripts more useful 2010-09-11 06:53:32 +00:00
7a7e6925dd EnableAliases servlet. The damn jetty keeps setting its behavior of checking
aliases to true (which means I can't use symlinks ever (which is stupid)) and 
they make sure you can't configure that at all (yes I tried setting the System 
property) so I decided to make an easy pluggable way to enable aliases, in the
form of a rather simple servlet that does one thing, set the checking of 
aliases to false, which is another way of saying allow aliases to work, since 
instead of checking it just rejects aliases universally. Call it a security 
risk if you like, but I see nothing wrong with it as long as I avoid certain 
operating $y$tems that can't stick to a consistent file naming standard.

Netbeans sucks at webapps, so I kind of manually hacked build.xml to produce
a .war file, but I tested it and it works for me.
2010-08-10 21:19:51 +00:00
95a50f5016 Shortcut to Servlet
Thanks to the earnest encouragement from i2pn00b, I went and converted this thing into a servlet for supreme convenience of user interaction. (Plus that means I can put it on my eepsite!) It will lookup the b64 and b32 of any given name (or b64 I think) and if possible copy that b32 to the system clipboard.
2010-05-22 03:08:18 +00:00
7910fc0d1b Way to get the b32 shortcut for a name
If you have X.i2p in your addressbook and your friend doesn't, you can
use this script to get a b32 URL to paste to them over IRC. They could
then use i2ptunnel.sh to find the base64, and use susidns to add that
base64 under their own name into their own addressbook.

Doing that shouldn't be so complicated...
2010-05-18 20:25:12 +00:00
667e2f7ba3 Just shutdown
GoHE wanted a script to just shutdown i2p, not check for the time left.
2010-05-14 22:01:41 +00:00