Code Monkey home page Code Monkey logo

foil's People

Contributors

monich avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

foil's Issues

Installl libfoil with exec bit / rpm automatic provides miss to generate libfoil.so.1()(64bit)

$ LANG=C rpm -V foil-tools
Unsatisfied dependencies for foil-tools-1.0.23-0.x86_64:
	libfoil.so.1()(64bit) is needed by (installed) foil-tools-1.0.23-0.x86_64
rpm -q --provides  libfoil
libfoil = 1.0.23-0
libfoil(x86-64) = 1.0.23-0

Should

https://github.com/monich/foil/blob/master/libfoil/Makefile#L333

be 755? That would AFAIK allow that rpm's automatic-provides macro build a list with libfoil.so.1()(64bit) ...

Offsite access for FoilAuth and family ...

Hey,

thank you for providing foil. I was able to produce

foil-tools-1.0.23-0.x86_64
libglibutil-1.0.57-0.x86_64
libfoil-1.0.23-0.x86_64

packages for RHEL8/CentOS8.

I would like to have a workflow that allows access to data
of your FoilApps (FoilPics, FoilNotes, FoilAuth). Especially
to be able to decrypt data from backups.

I am able to decrypt data from FoilPics and FoilNotes:

$ foilmsg -d -P {{pass}} -s foil.key -f FoilPics/{{fileid}} -o /tmp/output.png
$ foilmsg -d -P {{pass}} -s foil.key -f FoilNotes/{{fileid}} -o /tmp/output.txt

but

$ foilmsg -d -P {{pass}} -s foil.key -f FoilAuth/{{fileid}}  -o /tmp/output.txt

shows not an expected output (currently a 10byte long bin blob output).
I was expecting an otpauth:// scheme or similar as output?

Is there an additional decoding necessary?

Thanks!

compat for building on CentOS Stream 9 / RHEL 9

While trying to rpmbuild the master/1.0.25 branch on CentOS Stream 9 I noticed that the lib was created as "/usr/lib64/libfoil.so...".

Following patch helped to extract the right version:

--- libfoil-1.0.25/libfoil/Makefile.org	2022-10-08 22:51:41.000000000 +0200
+++ libfoil-1.0.25/libfoil/Makefile	2022-10-09 01:13:55.151724690 +0200
@@ -62,7 +62,7 @@
 #
 
 VERSION_FILE = $(INCLUDE_DIR)/foil_version.h
-get_version = $(shell grep -E "^ *\\\#define +FOIL_VERSION_$1 +[0-9]+$$" $(VERSION_FILE) | sed "s/  */ /g" | cut -d " " -f 3)
+get_version = $(shell grep -E "^ *\\#define +FOIL_VERSION_$1 +[0-9]+$$" $(VERSION_FILE) | sed "s/  */ /g" | cut -d " " -f 3)
 
 VERSION_MAJOR = $(call get_version,MAJOR)
 VERSION_MINOR = $(call get_version,MINOR)

BTW:

  1. SPEC: Requires: make, gcc
  2. the "make check" don't pass while testing RSA stuff (segfaults) ... missing time to investigate that one ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.