Russ Allbery: remctl 3.10
remctl is a simple and secure remote command execution protocol using
GSS-API. Essentially, it's the thinnest and simplest possible way to
deploy remote network APIs for commands using Kerberos authentication and
encryption.
Most of the work in this release is around supporting anonymous
authentication for an upcoming project of mine. This included cleaning up
ACL handling so that clients that authenticated with anonymous PKINIT
didn't count as ANYUSER (it's not likely this would have been a security
problem for existing users, since you would have had to enable anonymous
service tickets in your KDC), and adding new
anyuser:auth and
anyuser:anonymous ACLs that are explicit about whether anonymous
users are included.
With this change, it's possible, using a KDC with anonymous service
tickets enabled, to use anonymous PKINIT to make entirely unauthenticated
remctl calls. I plan on using this with wallet to support initial system key bootstrapping using external
validation of whether a system is currently allowed to bootstrap keys.
Note that you need to be very careful when enabling anonymous service
tickets, since many other Kerberos applications (including remctl prior to
this release) assume that any client that can get a service ticket is in
some way authenticated.
Also new in this release, the server now sets the REMOTE_EXPIRES
environment variable to the time when the authenticated remote session
will expire. This is usually th expiration time of the user's
credentials. I'm planning on using this as part of a better kx509
replacement to issue temporary X.509 certificates from Kerberos tickets,
limited in lifetime to the lifetime of the Kerberos ticket.
This release also includes some portability fixes, a bug fix for the
localgroup ACL for users who are members of lots of local groups, and some
(mildly backwards-incompatible) fixes for the Python RemctlError exception
class.
You can get the latest release from the remctl distribution page.
For the past fifteen years, I have been
I just have pushed a new version of the Slick Google Map plugin for WordPress to the servers. There are not many changes, but a crucial fix for parsing coordinates in DMS (degree-minute-second) format.
The documentation described that all kind of DMS formats can be used to specify a location, but these DMS encoded locations were sent to Google for geocoding. Unfortunately it seems Google is incapable of handling DMS formats, and returns slightly of coordinates. By using a 
This post is intended to document some elements of workflow that I ve setup to manage videos produced for a MOOC, where different colleagues work collaboratively on a set of video sequences, in a remote way.
We are a team of several schools working on the same course, and we have an incremental process, so we need some collaboration over a quite long period of many remote authors, over a set of video sequences.
We re probably going to review some of the videos and make changes, so we need to monitor changes, and submit versions to colleagues on remote sites so they can criticize and get later edits. We may have more that one site doing video production. Thus we need to share videos along the flow of production, editing and revision of the course contents, in a way that is manageable by power users (we re all computer scientists, used to SVN or Git).
I ve decided to start an experiment with Git and
The drawback is that we need manual intervention for starting the rsync, and also that we must make sure that the rsync target is ready to get a backup.
The target of the rsync on Linux is a git-annex clone using the default indirect mode, which handles the files as symlinks to the actual copies managed by git-annex inside the .git/ directory. But that ain t suitable to be compared to the origin of the rsync mirror which are plain files on the Windows computer.
We must then do a git-annex edit on the whole target of the rsync mirror before the rsync, so that the files are there as regular video files. This is costly, in terms of storage, and also copying time (our repo contains around 50 Gb, and the Linux host is a rather tiny laptop).
After the rsync, all the files need to be compared to the SHA256 known to git-annex so that only modified files are taken into account in the commit. We perform a git-annex add on the whole files (for new files having appeared at rsync time), and then a git-annex sync . That takes a lot of time, since all SHA256 computations are quite long for such a set of big files (the video rushes and edited videos are in HD).
So the process needs to be the following, on the target Linux host:
I would have preferred to have a working git-annex on windows, but that is a much more manageable process for me for now, and until we have more videos to handle in our repo that our Linux laptop can hold, we re quite safe.
Next steps will probably involve gardening the contents of the repo on the Linux host so we re only keeping copies of current files, and older copies are only kept on the 2 servers, in case of later need.
I hope this can be useful to others, and I d welcome suggestions on how to improve our process.
For the past few years all my important work has been stored in
git repositories. Thanks to the
Over a hundred years ago, Russian leaders proposed a treaty
Get involved
After
Finally, bzed.de is back online and I m planning to start blogging again! Part
of the reason why I became inactive was the usage of 
I don't really remember where or how I stumbled upon this four women so I'm sorry that I can't give credit where credit is due, and I even do believe that I started writing a blog entry about them already somewhere. Anyway, I want to present you today
Yesterday,
Is your table a mess of wires? Do you have multiple devices connected via serial and can't remember which is /dev/ttyUSBX is connected to what board? Unless you are a embedded developer, you are unlikely to deal with serial much anymore - In that case you can just jump to the next post in your news feed. Introducting ser2netUsually people start with minicom for serial access. There are better tools - picocom, screen, etc. But to easily map multiple serial ports, use
Dear readers,
There is a very useful tool for finding and merging shared permanent storage, and its name is fdupes. There was a terrible occurrence in the software after version 1.51, however. They removed the -L argument because too many people were complaining about lost data. It sounds like user error to me, and so I continue to use this one. I have to build from source, since the newer versions do not have the -L option.
What happened in the