Article View: alt.privacy.anon-server
Article #318300yamn-0.2.5 testing
From: Zax
Date: Sat, 29 Jan 2022 14:05
Date: Sat, 29 Jan 2022 14:05
75 lines
3844 bytes
3844 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi,
I've been doing some work on the config/flag handling in yamn. Since it
was released there have been credible moves to standardise config file
formats. I've consequently decided to convert it to use a YAML format
config file. Some key points to note:-
* v0.2.5 is not compatible with the config file from older versions. It
needs to be re-coded into YAML format.
* Running "yamn --debug" will print the configuration in YAML format.
If no config file is found (see below) the defaults will be output.
* yamn config is now a Go package with unit tests. This has no impact
on usage but helps with development and debugging.
Config file location
- --------------------
yamn will try quite hard to find a configuration file. In order of
precedence (highest first):-
* If the --config flag points to a file that exists, it will be used.
* If the YAMNCFG environment variable points to an existing file, use
that file.
* If there is a yamn.yml in the current directory, use it.
* If the --dir flag was specified, look for a yamn.yml in the directory
specified.
* If a yamn.yml file exists in the user's homedir, use it.
* Lastly, use /etc/yamn.yml if it exists.
* If all attempts fail, issue a warning and go with defaults
The output from "yaml --debug" will include:-
files:
config: <path-to-config>
This will indicate what config file will be read. Consider that it
might vary depending on what directory you run it from (if there is a
yamn.yml in the current directory).
Testing
- -------
If you'd like to test the new version, please switch to a branch called
"config" on Github and compile from there. I'll merge this into the
master branch once I'm confident it hasn't broken anything. My remailer
"yamn4" is currently running it.
remailer-wallet
- ---------------
I've seen the proposal to get yamn to respond to a remailer-wallet
request. It's not included in this branch but, once it's been merged,
I'm happy to add that functionality.
Thanks and enjoy!
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEJHudPu4ysYQcZBcigyyPTc2QQmMFAmH1SbIACgkQgyyPTc2Q
QmN9QQ/9HOUeC8R/clB3P3EyRSp8Z34CynfOthLVTRTWQEWYbvztCse5td5fYhWv
TZ43ETZa9DgXylVZGaaloB/Yeh0OvlU67534icFGGYUeh4lrzw5S7B0IMtzepmsw
vgxBI6+FUyhoE6DUMR00hqkZv8nX5vGLGXXWselht+1ikNrNDujkQC/2u3axS0QV
jmnbn6brNXLRwJxpIg5Bv+Z70fl9xCy7giu/Z/I8W0xktqFgRsOL4eKNd/O4hujL
uPvFvq6/vSr82fFnJauqhPw+sgLqr+1gmZRsWLn0cQX3BO0SnPyVcsZAz/Z/E3S2
tG826Dm2kUGIzwzyjrRysxSXhEtPMfbl1AIvlWC+Qw2a2rbg5CHNHrl0EDu5AEeM
maUixDHT19KoArrCxzxo9YAIyFYO8ezow3KDPyf9pnzfkNX9e9D+lfd5qsp+pTvO
Fj4Jdo2KvgF3kIX+oYF9MDYUDfDyhuFOCgJtttmwFyPFgU5teB+dvA502xixzMzp
ekkPJwyDe/AnwL7xD7B8jRb1gAnsVhFTdTogQViqwOVWMOTgNMcM3x5OpO3OGXRS
cGxXtMkj3qiBX1CAoXQbMKXLZniwD/xM8HzSReXnxFP17/lmRreVxBAgFX5BN8iv
u2jGJmFxc8pzX5b3OwcYYFdACuOlFmqj5/4N6HRfyi0f4F4Y8ac=
=PKhV
-----END PGP SIGNATURE-----
--
pub 1024D/228761E7 2003-06-04 Steven Crook <steve@mixmin.net>
Key fingerprint = 1CD9 95E1 E9CE 80D6 C885 B7EB B471 80D5 2287 61E7
ssb rsa4096/832C8F4DCD904263 created: 2019-05-04 expires: 2024-05-02 usage: S
Technical Details
Message-ID:
<slrnsvaidj.e3v.admin@fleegle.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrnsvaidj.e3v.admin@fleegle.mixmin.net> Subject: yamn-0.2.5 testing Date: Sat, 29 Jan 2022 14:05:39 +0000 From: Zax <admin@mixmin.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail Newsgroups: alt.privacy.anon-server Organization: Mixmin Injection-Date: Sat, 29 Jan 2022 14:05:39 -0000 (UTC) Injection-Info: news.mixmin.net; posting-host="c4af4a3027e8317d29ea238d8aa6bb2f616aa3fc"; logging-data="4119175"; mail-complaints-to="abuse@mixmin.net" User-Agent: slrn/pre1.0.4-2 (Linux)