Skip to content


Repository files navigation

This is a Go wrapper for the libfreefare.  A recent (post 0.4.0 but pre breaking
1.0.0 changes) git checkout of the libfreefare is needed.  As the libfreefare is
going to incorporate some breaking changes in the upcoming version 1.0.0, breaking
changes are likely to occur.  Furthermore note that the code is largely
unmaintained and should not be used in production code without further testing.

Please notice that this release contains a possibly memory corrupting issue in
freefare.DESFireTag.ReadData() and freefare.DESFireTag.ReadRecords(). This issue
is caused by a bug in the libfreefare that is likely to be fixed in a future
version of libfreefare.

This package uses Go modules.  To import it, use the import path

    import ""

Compatibility with existing code based on the old 0.3 branch is going to be
maintained with no changes on your part required.  I do recommend that any user
switches to the Go module based structure if possible though.

Copyright (c) 2014, 2020 Robert Clausecker <>

This program is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation, version 3.

This program 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.


Go bindings for the libfreefare







No packages published