Coder Social home page Coder Social logo

Scaffold for Linux desktop about authpass HOT 9 CLOSED

authpass avatar authpass commented on May 14, 2024 4
Scaffold for Linux desktop

from authpass.

Comments (9)

hpoul avatar hpoul commented on May 14, 2024

fwiw, the desktop linux release mode (with the glfw, not gtk) has been merged into flutter master 🎉️
i've tried a basic flutter create and it indeed looks promising.. i guess i'll play around the next few days to get the bare minimum of plugins working.. (i could imagine argon2 (kdbx 4) support to be the most troublesome..) we'll see..

Screenshot 2020-05-30 at 14 14 38

Screenshot 2020-05-30 at 14 15 59

from authpass.

hpoul avatar hpoul commented on May 14, 2024

I have now a reasonable first binary in release mode ready which supports basic functions (like opening kdbx files :) and also argon2 for kdbx 4..) Anyone willing to give it a try?

authpass-linux-1186.tar.gz

from authpass.

idunno101 avatar idunno101 commented on May 14, 2024

Just tested it on Fedora 32 (Wayland).
It worked well, I opened a local database (Argon2 KDBX 4) and was able to filter entries, copy values and add a new entry.
There were a few errors registered in the terminal.

This error showed up when I first launched the program but didn't show up on any launch after that.
Link 1

These two were triggered when the database was unlocked
Link 2
Link 3

This one was triggered when the database was locked
Link 4

And this one happened when viewing the entries that didn't have the otp set up as
otpauth://totp/Site?secret&time
I have some logins (like Google and Firefox) that set their TOTP as two separate entries; one is a seed (like XXXX XXXX) and the other is a time url (like 30;6;https://time.is/)
For those logins it gave this error and didn't display the otp digits
Link 5

from authpass.

hpoul avatar hpoul commented on May 14, 2024

@idunno101 thanks for the exhaustive test 👍️ i have also seen the first error (regarding clipboard) occassionally.. can you still copy password (ctrl+c) and usernames (ctrl+b)? (or via the dropdown button next to the fields)

the last error regarding TOTP shouldn't be related to the linux version obviously.. how did you create those entries? would it be easy for you to create an empty kdbx file with dummy entries in the same format, so I can reproduce it myself?

from authpass.

hpoul avatar hpoul commented on May 14, 2024

btw. is anyone using ubuntu (or snapcraft) I've created a snap release and was wondering if anyone could give it a go: https://snapcraft.io/authpass

from authpass.

idunno101 avatar idunno101 commented on May 14, 2024

can you still copy password (ctrl+c) and usernames (ctrl+b)? (or via the dropdown button next to the fields)

Yeah both methods worked even while the errors were being triggered.

how did you create those entries? would it be easy for you to create an empty kdbx file with dummy entries in the same format, so I can reproduce it myself?

I looked through my logins a bit more and it seems that the problem occurs when there are spaces within the seed. I was able to reproduce the behaviour in the database attached here
Database password is 123
totp test.zip

from authpass.

hpoul avatar hpoul commented on May 14, 2024

@idunno101 thanks for the test database. You are exactly right, the spaces broke everything.. (I clean up those keys when the user adds the TOTP secrets..). Anyway, it is now fixed and I've used your test data to create unit tests. So this should stay fixed

_testTotp(
'base32 code',
fields: {
'TOTP Seed': '3TBQAZ2XLJ54LTUMVVLJTPAST5TZANMF',
'TOTP Settings': '30;6',
},
expectCode: '059989',
);
_testTotp(
'base32 with spaces',
fields: {
'TOTP Seed': 'g33a l2j6 hqzv djri wtwp 4yhv iu74 4ue4',
'TOTP Settings': '30;6',
},
expectCode: '872187',
);
_testTotp(
'base32 with empty settings',
fields: {
'TOTP Seed': 'g33a l2j6 hqzv djri wtwp 4yhv iu74 4ue4',
'TOTP Settings': '',
},
expectCode: '872187',
);
_testTotp(
'otpauth url',
fields: {
'otp':
'otpauth://totp/test?secret=27zzsdziauhmftpf33sc5ksvmcn3crljhrusmxmmjt2tkht4huny5ozk&algorithm=SHA256&digits=6&period=30',
},
expectCode: '412013',
);
:)

If you like to try again, here is an updated linux version - it should also fix a couple of other exceptions (unfortunately not the one regarding clipboard, because that's a problem in the flutter embedder):

authpass-linux-1.6.3_1196.zip

from authpass.

idunno101 avatar idunno101 commented on May 14, 2024

Yep looks good 😃 Didn't notice any problems

from authpass.

hpoul avatar hpoul commented on May 14, 2024

I have now created a ubuntu package as a PPA, and published a blog post with installation instructions 🎉️. So I will close this issue, if anyone runs into trouble just create a new bug report :-)

There is also a new Issue about improving linux releases #87 .

from authpass.

Related Issues (20)

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.