Giter Site home page Giter Site logo

Comments (11)

gasparch avatar gasparch commented on July 28, 2024 1

I did not managed to test it on FreeBSD, recent Ubuntu/CentOS seems not have this problem anymore.

Anyway, env variables are terrible - they leak everywhere - cronjobs, child shellscripts, etc. Also you cannot change them without restarting process. but anyway, this is out of scope of this ticket.

from tiny-care-terminal.

gasparch avatar gasparch commented on July 28, 2024

Without looking further - storing any secure information in ENV variables is bad. They are visible with 'ps' command to every other user on the computer.

Secure way is to store them in the file and pass file name in ENV variable.

from tiny-care-terminal.

hiendv avatar hiendv commented on July 28, 2024

@gasparch It seems ridiculous. See. Any PoC? E.g.

ps eww [pid]

from tiny-care-terminal.

gasparch avatar gasparch commented on July 28, 2024

I need to re-check my beliefs about ENV on different OSes. Back in time it was insecure way of storing info.

Also Linux is not only Unix/Unixlike OS to exist in the world :)))

from tiny-care-terminal.

hiendv avatar hiendv commented on July 28, 2024

@gasparch

Also Linux is not only Unix/Unixlike OS to exist in the world :)))

Agree. I would like to have some PoCs under other OSs. But I doubt that would be the responsibility of OSs. Not applications. Disclaimer: I'm a fan of The Twelve-Factor App

from tiny-care-terminal.

notwaldorf avatar notwaldorf commented on July 28, 2024

@andreicek i had originally kind of left them vague like that in case you set twitter keys for a different project. im worried if i change them now, people's stuff will break :(

from tiny-care-terminal.

hiendv avatar hiendv commented on July 28, 2024

@notwaldorf Tag a new version maybe?

from tiny-care-terminal.

robophil avatar robophil commented on July 28, 2024

after installing this from npm, how do i set the env variables ?

from tiny-care-terminal.

notwaldorf avatar notwaldorf commented on July 28, 2024

@robophil I've added some instructions here: https://github.com/notwaldorf/tiny-care-terminal/blob/master/README.md#setting-the-environment-variables

It really depends on what you're using :(

from tiny-care-terminal.

notwaldorf avatar notwaldorf commented on July 28, 2024

Fixed in b8ead55

from tiny-care-terminal.

robophil avatar robophil commented on July 28, 2024

Thanks @notwaldorf I'll check it out

from tiny-care-terminal.

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.